joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4193f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x419df0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push esi
mov esi, ecx
mov cl, 0xcf
mov al, 0xd4
mov byte [esp + 0x3b], cl
mov byte [esp + 0x44], al
mov byte [esp + 0x4a], al
mov byte [esp + 0x4c], cl
mov byte [esp + 0x52], al
mov byte [esp + 0x5c], al
push edi
mov cl, 0xfe
lea eax, [esp + 0x3c]
push 0x29
mov dl, 0xf4
mov byte [esp + 0x5d], cl
mov byte [esp + 0x5f], cl
mov byte [esp + 0x63], cl
push eax
push 6
lea ecx, [esp + 0x38]
mov byte [esp + 0x48], 0xf5
mov byte [esp + 0x49], 0xc3
mov byte [esp + 0x4a], 0xce
mov byte [esp + 0x4c], 0xf1
mov byte [esp + 0x4d], 0xcd
mov byte [esp + 0x4e], 0xda
mov byte [esp + 0x4f], 0xde
mov byte [esp + 0x50], 0xfa
mov byte [esp + 0x51], 0xc1
mov byte [esp + 0x52], 0xe1
mov byte [esp + 0x53], pe_nt_image_headers32
mov byte [esp + 0x55], 0xe3
mov byte [esp + 0x56], 0xfb
mov byte [esp + 0x57], dl
mov byte [esp + 0x58], 0xc0
mov byte [esp + 0x59], pe_nt_image_headers32
mov byte [esp + 0x5b], 0xcc
mov byte [esp + 0x5d], 0xe2
mov byte [esp + 0x5e], 0xec
mov byte [esp + 0x5f], dl
mov byte [esp + 0x60], 0xd1
mov byte [esp + 0x61], 0xff
mov byte [esp + 0x63], 0xd8
mov byte [esp + 0x64], 0xd3
mov byte [esp + 0x66], 0xfa
mov byte [esp + 0x68], 0xc8
mov byte [esp + 0x69], pe_nt_image_headers32
mov byte [esp + 0x6a], 0xde
mov byte [esp + 0x6d], 0xff
mov byte [esp + 0x6e], 0xe1
mov byte [esp + 0x6f], dl
mov byte [esp + 0x70], 0xc8
call fcn.00404860
lea ecx, [esp + 0x10]
push 9
mov al, 0xe8
push ecx
push 0xc
lea ecx, [esp + 0x28]
mov dword [esp + 0x7c], 0
mov byte [esp + 0x1c], 0xef
mov byte [esp + 0x1d], 0xe7
mov byte [esp + 0x1e], 0xfd
mov byte [esp + 0x1f], 0xd5
mov byte [esp + 0x20], 0xc3
mov byte [esp + 0x21], 0xff
mov byte [esp + 0x22], 0xd1
mov byte [esp + 0x23], al
mov byte [esp + 0x24], al
call fcn.00404860
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 1
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0x10
call fcn.004048f0
lea edx, [esp + 8]
mov edi, eax
push edx
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.004048f0
push eax
push edi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x419582
mov eax, dword [esp + 8]
test eax, eax
je 0x419582
mov esi, 1
jmp 0x419584
xor esi, esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0
call fcn.004048b0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], 0xffffffff
call fcn.004048b0
mov ecx, dword [esp + 0x68]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x6c
ret

Function at 0x115473c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1154746
pushal
call 0x115474c
pop ebp
sub ebp, 0x10
sub ebp, 0xd5473c
jmp 0x1154762
mov eax, 0xd5473c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c1
mov edx, 0x1b97f233
xor byte [eax], dl
inc eax
dec ecx
jne 0x1154779
jmp 0x115478c
mov eax, 0xfbab8fe
xor esi, dword [ebx]
xor esi, dword [edx + 0x3333cbf2]
xor esi, dword [eax]
dec byte [ebx + 0x33333334]
mov dword [ebx], ebx
xor esi, dword [ebx]
xor eax, esp
sal dword [eax], 1
sti
mov eax, 0x33333fb2
xor esi, dword [eax]
mul byte [ebx - 0x42]
push edi
pop ss
iretd
Function at 0x4059c8
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 0x405a2e
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.004040e0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b74
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a18
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a35
lea eax, [ebp - 0x10]
call fcn.00403e70
ret

Function at 0x40a940
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 0x40a979
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f60
jmp 0x40a982
mov eax, ebx
mov edx, esi
call fcn.00403ec4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a98c
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 0x40a9ad
mov al, byte [esp]
jmp 0x40a9af
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b034
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40aeac
mov eax, dword [0x456574]
cmp byte [eax], 0
je 0x40b0b0
mov eax, dword [0x45639c]
call fcn.004029a4
call fcn.00402824
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.004081b4
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 0x40b0f8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b0e6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45634c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x457664]
call fcn.00404edc
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 0x40b94c
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 0x40ba22
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f08
lea eax, [ebp - 8]
call fcn.00404380
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404330
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ba0c
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ba05
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.00404330
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40b9ef
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ba34
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40b9ef
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 0x40ba0c
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ba29
lea eax, [ebp - 8]
call fcn.00403e70
ret

Function at 0x40bea0
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 0x40bf04
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.004040e0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407d44
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf0b
lea eax, [ebp - 0xc]
call fcn.00403e70
ret

Function at 0x419fe0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x457884
cmp dword [edi], 0
jne 0x41a05c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x457880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4553ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x419fb8
lea eax, [esi + 5]
call fcn.00419fd8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00419fd8
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 0x41a031
mov dword [0x457880], 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 0x41b270
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 0x41b276
ret
Function at 0x41d7b8
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 0x41d809
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d7f0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d7e0
jmp 0x41d809
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 0x41d7f1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427c84
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 0x427bd0
call sub.user32.dll_EnumWindows
ret

Function at 0x427da4
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 0x427e21
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00427804
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x427dc9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00427404
cmp dword [ebp - 4], 0
je 0x427e0b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404330
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 0x427e28
lea eax, [ebp - 4]
call fcn.00403e70
ret

Function at 0x42ab40
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 [0x457b54], 0
je 0x42ac8f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x456518]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42ac8f
mov eax, dword [0x457b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x457b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42ac5e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x457b54]
call fcn.004135b0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42ac56
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42ac56
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42ac56
mov eax, dword [ebp - 0x14]
call fcn.0043377c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42ac56
push ebp
call fcn.0042aafc
pop ecx
test al, al
jne 0x42ac56
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42ac12
mov eax, dword [ebp - 0x14]
call fcn.004322ac
dec eax
jle 0x42ac56
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.00403334
cmp byte [ebp - 1], 0
je 0x42ac56
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42ac56
mov edx, dword [ebp - 0x14]
mov eax, dword [0x457b58]
call fcn.0042a2c8
inc edi
dec ebx
jne 0x42aba5
mov eax, dword [0x457b58]
cmp dword [eax + 8], 0
jle 0x42ac76
mov eax, dword [0x457b58]
call fcn.0042a358
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42ac8f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042a964
pop ecx
test al, al
jne 0x42ac8f
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 0x42e254
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 0x42e2a0
mov eax, esi
call fcn.00443794
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e2a0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42e2a0
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 0x42e3df
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42e2e0
cmp eax, 0x108
ja 0x42e2e0
mov eax, esi
call fcn.00443794
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e3d6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42e3df
jmp 0x42e3d6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42e3bf
cmp eax, 0x20a
ja 0x42e3bf
test byte [esi + 0x50], 0x80
jne 0x42e312
sub eax, 0x203
je 0x42e30f
sub eax, 3
je 0x42e30f
sub eax, 3
jne 0x42e312
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42e326
dec eax
je 0x42e33b
dec eax
je 0x42e358
dec eax
je 0x42e33b
jmp 0x42e35f
mov ecx, ebx
mov eax, dword [0x456518]
mov eax, dword [eax]
mov edx, esi
call fcn.0044cf40
jmp 0x42e3d6
cmp byte [esi + 0x5d], 1
jne 0x42e351
mov eax, esi
mov si, 0xffed
call fcn.00403334
jmp 0x42e3df
or word [esi + 0x54], 1
jmp 0x42e3d6
and word [esi + 0x54], 0xfffe
jmp 0x42e3d6
mov eax, dword [0x457b10]
cmp byte [eax + 0x20], 0
je 0x42e3d6
mov eax, dword [0x457b10]
cmp dword [eax + 0x1c], 0
je 0x42e3d6
mov eax, dword [ebx]
mov edx, dword [0x457b10]
cmp eax, dword [edx + 0x1c]
jne 0x42e3d6
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.004436d8
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.00403334
jmp 0x42e3df
cmp eax, 0xb00b
jne 0x42e3d6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042cb90
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 0x43190c
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 0x431928
cmp dword [esi + 4], 0
je 0x431955
test byte [ebx + 0x55], 1
jne 0x431947
mov eax, ebx
call fcn.004304ac
test eax, eax
jne 0x431947
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x431a65
mov edx, esi
mov eax, ebx
call fcn.00431430
jmp 0x431a65
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 0x431a5e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043377c
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.0042e188
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043190c
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.0043377c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431a65
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 0x437eec
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x456678]
cmp byte [eax + 0xc], 0
je 0x438059
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x438052
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x457b64], 0
jne 0x437f40
push 0x438060
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x438068
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b64], eax
cmp dword [0x455b08], 0
jne 0x43803b
push 0x438078
call sub.kernel32.dll_LoadLibraryA
mov dword [0x455b08], eax
cmp dword [0x455b08], 0
je 0x43803b
push 0x438084
mov eax, dword [0x455b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b68], eax
push 0x438094
mov eax, dword [0x455b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b6c], eax
push 0x4380a8
mov eax, dword [0x455b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b70], eax
push 0x4380c0
mov eax, dword [0x455b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b74], eax
push 0x4380d8
mov eax, dword [0x455b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b78], eax
push 0x4380ec
mov eax, dword [0x455b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b7c], eax
push 0x438104
mov eax, dword [0x455b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b80], eax
push 0x43811c
mov eax, dword [0x455b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b84], eax
push 0x438138
mov eax, dword [0x455b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b88], eax
push 0x438144
mov eax, dword [0x455b08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438059
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43bee4
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.00403e70
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43bf33
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.004040e0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x443648
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443698]
test si, 4
je 0x44365c
or bl, 1
test si, 8
je 0x443666
or bl, 4
test si, 1
je 0x443670
or bl, 8
test si, 2
je 0x44367a
or bl, 0x10
test si, 0x10
je 0x443684
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443693
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44369c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4436d4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4436b5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4436c4
or bl, 4
test esi, 0x20000000
je 0x4436cf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x449d7c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x449d8e
add esp, 0xfffffff0
call fcn.00403444
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f50
mov eax, dword [0x456354]
mov dword [eax + 4], ebx
mov dword [eax], 0x44a120
mov eax, dword [0x456360]
mov dword [eax + 4], ebx
mov dword [eax], 0x44a12c
mov eax, ebx
call fcn.0044a138
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411248]
call fcn.00403108
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411248]
call fcn.00403108
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411248]
call fcn.00403108
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411248]
call fcn.00403108
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411248]
call fcn.00403108
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x446554
push eax
push 0
push 0
mov eax, dword [0x4564a0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41a974]
call fcn.0041bdb8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41a974]
call fcn.0041bdb8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41a974]
call fcn.0041bdb8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044a558
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a434
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a434
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a434
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449ecb
call fcn.0040349c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret