joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407204
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40726a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00405350
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403ab8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x407254
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407271
lea eax, [ebp - 0x10]
call fcn.004050e0
ret

Function at 0x409b3c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004055a0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409b55
test al, 0x10
jne 0x409b59
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c7b8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c7f1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004051d0
jmp 0x40c7fa
mov eax, ebx
mov edx, esi
call fcn.00405134
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c804
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c825
mov al, byte [esp]
jmp 0x40c827
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40cebc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cd24
mov eax, dword [0x483754]
cmp byte [eax], 0
je 0x40cf38
mov eax, dword [0x483518]
call fcn.00403308
call fcn.00402c94
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409e90
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40cf80
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cf6e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4834bc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x484668]
call fcn.00406654
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40d830
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d906
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405178
lea eax, [ebp - 8]
call fcn.004055f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004055a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d8f0
mov eax, ebx
call fcn.00402b08
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d8e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004055a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d8d3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d918
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d8d3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d8f0
mov eax, dword [ebp - 0x10]
call fcn.00402b38
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d90d
lea eax, [ebp - 8]
call fcn.004050e0
ret

Function at 0x40defc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40df60
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00405350
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409790
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40df67
lea eax, [ebp - 0xc]
call fcn.004050e0
ret

Function at 0x40ed3c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc00
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.004050e0
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.004055a0
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableA
mov ebx, eax
cmp ebx, 0x400
jge 0x40ed81
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.004051d0
jmp 0x40ed9a
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040572c
push ebx
mov eax, dword [esi]
call fcn.004055a0
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableA
add esp, 0x400
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x41fa44
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x484888
cmp dword [edi], 0
jne 0x41fac0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x484884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x481420
mov ecx, 2
call fcn.00402e74
mov edx, 0x41fa1c
lea eax, [esi + 5]
call fcn.0041fa3c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041fa3c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41fa95
mov dword [0x484884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x420bd4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov ebp, eax
test edi, edi
je 0x420c39
mov eax, dword [0x484898]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x420c39
push 1
call sub.user32.dll_GetClipboardData
mov ebx, eax
test ebx, ebx
je 0x420c30
push ebx
call sub.kernel32.dll_GlobalLock
mov dword [esp], eax
mov eax, dword [esp]
call fcn.00409e90
mov esi, eax
inc esi
cmp edi, esi
jge 0x420c17
mov esi, edi
mov edx, ebp
mov eax, dword [esp]
mov ecx, esi
call fcn.00402e74
mov byte [ebp + esi - 1], 0
push ebx
call sub.kernel32.dll_GlobalUnlock
jmp 0x420c34
mov byte [ebp], 0
call sub.user32.dll_CloseClipboard
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x420e74
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x484a04], 0
je 0x420e98
mov edx, eax
sub dl, 0x20
je 0x420f0f
add dl, 0xdf
sub dl, 0x1a
jb 0x420f0f
add dl, 0xfa
sub dl, 0x1a
jb 0x420f0f
cmp dword [0x4814c0], 0x40
jge 0x420f0f
mov edx, eax
cmp dl, 8
jne 0x420ed0
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x420ec2
mov eax, dword [0x4814c0]
mov byte [eax + 0x4849c0], 0x7f
jmp 0x420f09
mov eax, dword [0x4814c0]
mov byte [eax + 0x4849c0], 8
jmp 0x420f09
cmp dl, 0xd
jne 0x420efd
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x420eef
mov eax, dword [0x4814c0]
mov byte [eax + 0x4849c0], 0xa
jmp 0x420f09
mov eax, dword [0x4814c0]
mov byte [eax + 0x4849c0], 0xd
jmp 0x420f09
mov edx, dword [0x4814c0]
mov byte [edx + 0x4849c0], al
inc dword [0x4814c0]
ret
Function at 0x4210e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
mov byte [ebp - 2], 0
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
setl al
test al, al
jne 0x421108
mov eax, ebx
sub al, 0x20
je 0x421122
add al, 0xdf
sub al, 0x1a
jb 0x421122
mov byte [0x484a0c], 0
mov byte [0x484a0a], 0
mov byte [0x484a0b], 0
jmp 0x42121e
mov byte [ebp - 2], 1
xor eax, eax
xor edx, edx
mov dl, bl
cmp edx, 0x4a
jg 0x421144
je 0x42115d
sub edx, 0x20
je 0x421169
sub edx, 0x24
je 0x421155
sub edx, 2
je 0x421159
jmp 0x42116b
sub edx, 0x4b
je 0x421161
dec edx
je 0x421165
sub edx, 7
jne 0x42116b
mov al, 4
jmp 0x42116b
mov al, 2
jmp 0x42116b
mov al, 1
jmp 0x42116b
mov al, 8
jmp 0x42116b
mov al, 0x10
jmp 0x42116b
mov al, 0x20
jmp 0x42116b
mov al, 0x40
not al
and byte [0x484a09], al
cmp byte [0x484a09], 0
jne 0x42121e
mov al, byte [0x4815a4]
mov byte [ebp - 1], al
cmp byte [0x484a08], 0x40
jb 0x4211ce
mov byte [0x484a0a], 0
mov byte [0x484a0b], 0
mov byte [0x484a0c], 0
cmp byte [0x484a08], 0x40
jne 0x4211b5
mov byte [ebp - 1], 0x20
jmp 0x4211ee
mov al, byte [0x484a08]
and al, 0x3f
and eax, 0xff
mov al, byte [eax + 0x48155c]
and al, 0x1f
mov byte [ebp - 1], al
jmp 0x4211ee
xor eax, eax
mov al, byte [0x484a08]
mov al, byte [eax + 0x48155c]
mov byte [ebp - 1], al
cmp dword [0x484a04], 2
jne 0x4211ee
push ebp
call fcn.00421014
pop ecx
mov al, byte [ebp - 1]
cmp al, byte [0x4815a4]
je 0x421217
cmp dword [0x4814c0], 0x3f
jg 0x421217
mov al, byte [ebp - 1]
mov edx, dword [0x4814c0]
mov byte [edx + 0x4849c0], al
inc dword [0x4814c0]
mov byte [0x484a08], 0
mov al, byte [ebp - 2]
pop ebx
pop ecx
pop ebp
ret
Function at 0x421228
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ecx
mov byte [esp], al
mov byte [esp + 1], 1
cmp byte [0x481474], 0
je 0x421246
cmp byte [esp], 3
jne 0x421246
call fcn.004200d4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
setl bl
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
setl byte [esp + 2]
test bl, bl
je 0x421305
cmp byte [esp + 2], 0
je 0x421283
cmp byte [esp], 0x7b
jne 0x421283
xor eax, eax
call fcn.00420f10
jmp 0x4213a9
cmp byte [esp + 2], 0
je 0x4212a0
cmp byte [esp], 0x7a
jne 0x4212a0
mov eax, dword [0x484a04]
inc eax
call fcn.00420f10
jmp 0x4213a9
mov al, byte [esp]
add al, 0xd0
sub al, 0xa
jb 0x4212af
add al, 0xf9
sub al, 0x1a
jae 0x421305
mov eax, dword [0x4814c0]
mov byte [eax + 0x4849c0], 0
inc dword [0x4814c0]
mov al, byte [esp]
add al, 0xbf
sub al, 0x1a
jae 0x4212e3
xor eax, eax
mov al, byte [esp]
mov al, byte [eax + 0x481567]
mov edx, dword [0x4814c0]
mov byte [edx + 0x4849c0], al
jmp 0x4212fa
xor eax, eax
mov al, byte [esp]
mov al, byte [eax + 0x481594]
mov edx, dword [0x4814c0]
mov byte [edx + 0x4849c0], al
inc dword [0x4814c0]
jmp 0x4213a9
cmp byte [esp + 2], 0
jne 0x421325
cmp dword [0x484a04], 0
je 0x421325
mov al, byte [esp]
call fcn.00420fbc
test al, al
jne 0x4213a9
cmp dword [0x4814c0], 0x3e
jg 0x4213a9
mov edx, 0x16
mov eax, 0x481504
mov ebx, eax
xor ecx, ecx
mov cl, byte [esp]
cmp cx, word [ebx]
jne 0x4213a3
mov eax, dword [0x4814c0]
mov byte [eax + 0x4849c0], 0
inc dword [0x4814c0]
cmp byte [esp + 2], 0
je 0x42136d
mov eax, dword [0x4814c0]
mov dl, byte [ebx + 3]
mov byte [eax + 0x4849c0], dl
jmp 0x42139b
cmp byte [ebx + 3], 0xff
jne 0x42138d
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42138d
mov eax, dword [0x4814c0]
mov byte [eax + 0x4849c0], 0xfe
jmp 0x42139b
mov eax, dword [0x4814c0]
mov dl, byte [ebx + 2]
mov byte [eax + 0x4849c0], dl
inc dword [0x4814c0]
jmp 0x4213a9
add eax, 4
dec edx
jne 0x421338
mov al, byte [esp + 1]
pop edx
pop ebx
ret
Function at 0x423a90
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x423a96
ret

Function at 0x425f5c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x425fad
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x425f94
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x425f84
jmp 0x425fad
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x425f95
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43315c
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x4330a8
call sub.user32.dll_EnumWindows
ret

Function at 0x43327c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4332f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00432cdc
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x4332a1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004328dc
cmp dword [ebp - 4], 0
je 0x4332e3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004055a0
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433300
lea eax, [ebp - 4]
call fcn.004050e0
ret

Function at 0x43614c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x484ce8], 0
je 0x43629b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4836dc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43629b
mov eax, dword [0x484cec]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x484ce8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43626a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x484ce8]
call fcn.00418f70
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x436262
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x436262
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x436262
mov eax, dword [ebp - 0x14]
call fcn.0043ee00
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x436262
push ebp
call fcn.00436108
pop ecx
test al, al
jne 0x436262
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43621e
mov eax, dword [ebp - 0x14]
call fcn.0043d8f8
dec eax
jle 0x436262
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.0040453c
cmp byte [ebp - 1], 0
je 0x436262
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x436262
mov edx, dword [ebp - 0x14]
mov eax, dword [0x484cec]
call fcn.004358d4
inc edi
dec ebx
jne 0x4361b1
mov eax, dword [0x484cec]
cmp dword [eax + 8], 0
jle 0x436282
mov eax, dword [0x484cec]
call fcn.00435964
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43629b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00435f70
pop ecx
test al, al
jne 0x43629b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439860
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x4398ac
mov eax, esi
call fcn.0044f09c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4398ac
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4398ac
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4399eb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4398ec
cmp eax, 0x108
ja 0x4398ec
mov eax, esi
call fcn.0044f09c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4399e2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4399eb
jmp 0x4399e2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4399cb
cmp eax, 0x20a
ja 0x4399cb
test byte [esi + 0x50], 0x80
jne 0x43991e
sub eax, 0x203
je 0x43991b
sub eax, 3
je 0x43991b
sub eax, 3
jne 0x43991e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x439932
dec eax
je 0x439947
dec eax
je 0x439964
dec eax
je 0x439947
jmp 0x43996b
mov ecx, ebx
mov eax, dword [0x4836dc]
mov eax, dword [eax]
mov edx, esi
call fcn.004587e0
jmp 0x4399e2
cmp byte [esi + 0x5d], 1
jne 0x43995d
mov eax, esi
mov si, 0xffed
call fcn.0040453c
jmp 0x4399eb
or word [esi + 0x54], 1
jmp 0x4399e2
and word [esi + 0x54], 0xfffe
jmp 0x4399e2
mov eax, dword [0x484ca4]
cmp byte [eax + 0x20], 0
je 0x4399e2
mov eax, dword [0x484ca4]
cmp dword [eax + 0x1c], 0
je 0x4399e2
mov eax, dword [ebx]
mov edx, dword [0x484ca4]
cmp eax, dword [edx + 0x1c]
jne 0x4399e2
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044efe0
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0040453c
jmp 0x4399eb
cmp eax, 0xb00b
jne 0x4399e2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043819c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43cf58
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43cf74
cmp dword [esi + 4], 0
je 0x43cfa1
test byte [ebx + 0x55], 1
jne 0x43cf93
mov eax, ebx
call fcn.0043baf8
test eax, eax
jne 0x43cf93
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43d0b1
mov edx, esi
mov eax, ebx
call fcn.0043ca7c
jmp 0x43d0b1
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43d0aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043ee00
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00439794
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043cf58
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043ee00
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d0b1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4436b8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4838b0]
cmp byte [eax + 0xc], 0
je 0x443825
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44381e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x484cf8], 0
jne 0x44370c
push 0x44382c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x443834
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484cf8], eax
cmp dword [0x481c58], 0
jne 0x443807
push 0x443844
call sub.kernel32.dll_LoadLibraryA
mov dword [0x481c58], eax
cmp dword [0x481c58], 0
je 0x443807
push 0x443850
mov eax, dword [0x481c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484cfc], eax
push 0x443860
mov eax, dword [0x481c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484d00], eax
push 0x443874
mov eax, dword [0x481c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484d04], eax
push 0x44388c
mov eax, dword [0x481c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484d08], eax
push 0x4438a4
mov eax, dword [0x481c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484d0c], eax
push 0x4438b8
mov eax, dword [0x481c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484d10], eax
push 0x4438d0
mov eax, dword [0x481c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484d14], eax
push 0x4438e8
mov eax, dword [0x481c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484d18], eax
push 0x443904
mov eax, dword [0x481c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484d1c], eax
push 0x443910
mov eax, dword [0x481c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484d20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443825
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4476b0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004050e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4476ff
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00405350
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ef50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44efa0]
test si, 4
je 0x44ef64
or bl, 1
test si, 8
je 0x44ef6e
or bl, 4
test si, 1
je 0x44ef78
or bl, 8
test si, 2
je 0x44ef82
or bl, 0x10
test si, 0x10
je 0x44ef8c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ef9b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret