joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40673a
pop dword [ebp - 0x18]
mov eax, 0x4538ecb3
sub eax, 0x44f88579
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xcaef900a
add dword [ebp - 0x28], 0x8362b541
mov dword [ebp - 0x24], 0x47d6eb00
add dword [ebp - 0x24], 0xea5c6145
mov dword [ebp - 0x20], 0xfb5e0e6e
sub dword [ebp - 0x20], 0xaf11ca40
mov dword [ebp - 0x1c], 0x106bbfd3
add dword [ebp - 0x1c], 0xef94402d
lea eax, [ebp - 0x28]
push eax
mov eax, 0x128b1c54
add eax, 0xedb564b0
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x140d521b
add dword [ebp - 0x28], 0x6065173b
mov dword [ebp - 0x24], 0x80bbe18e
add dword [ebp - 0x24], 0xc0b07fe7
mov dword [ebp - 0x20], 0xd86eac6e
sub dword [ebp - 0x20], 0x74ff4002
mov dword [ebp - 0x1c], 0xe455a432
add dword [ebp - 0x1c], 0x1baa5bce
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3a499
push 0
call eax
mov ecx, 0xb61c6bc5
sub ecx, 0xb61c18af
xor esi, esi
add esi, eax
mov edi, 0xe6673ca9
sub edi, 0xe62058a9
add edi, dword [ebp - 0x18]
mov edx, 0x86fe7d0
add dword [ebp - 0x10], 0x472bfb6f
mov ebx, dword [edi]
add dword [ebp - 0x10], 0x5a8dbf75
add ebx, edx
xor dword [ebp - 4], 0x48123b48
mov dword [esi], ebx
xor dword [ebp - 8], edi
add esi, 4
add edi, 4
loop 0x406853
add eax, 0x9fe2d060
sub eax, 0x9fe19135
xor ebx, ebx
add ebx, eax
add eax, 0x7a8096dd
add eax, 0x857f6928
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x7eee49d4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.7eee3648
test esi, esi
jne 0x7eee4a07
mov edx, esp
mov ecx, 0x105
xor eax, eax
call fcn.7eee497c
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.7eee3738
jmp 0x7eee4a25
call sub.kernel32.dll_GetCommandLineA_1
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.7eee47fc
mov edi, eax
test esi, esi
je 0x7eee4a25
cmp dword [ebx], 0
je 0x7eee4a25
dec esi
jmp 0x7eee4a0e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x7eee505c
Capabilities:
Get memory capacity

Disassembly:
push ebx
add esp, 0xffffffe0
push ebx
nop
pop ebx
push eax
nop
pop eax
mov dword [esp], 0x20
nop
push eax
nop
pop eax
push esp
call sub.kernel32.dll_GlobalMemoryStatus
call fcn.7eee4fe4
nop
push eax
nop
pop eax
call fcn.7eee4fe4
mov ebx, 3
call fcn.7eee4fe4
cmp dword [esp + 8], 0x11e1a300
jae 0x7eee509e
call fcn.7eee4b50
dec ebx
jne 0x7eee508a
add esp, 0x20
pop ebx
ret

Function at 0x9e8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009e81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9e807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e806a
add dl, dl
jne 0x9e8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e80dc
xor eax, eax
add dl, dl
jne 0x9e8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9e817d
add dl, dl
jne 0x9e80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9e80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9e8075
mov eax, 1
add dl, dl
jne 0x9e80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9e80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e80e1
sub eax, ebx
mov ebx, 1
jne 0x9e8128
mov ecx, 1
add dl, dl
jne 0x9e810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9e8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9e813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9e814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9e8136
cmp eax, 0x7d00
jae 0x9e816d
cmp eax, 0x500
jb 0x9e8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e8075
cmp eax, 0x7f
ja 0x9e8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9e8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9e819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9e8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x405e70
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 0x405ed6
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.0040448c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ec8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ec0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405edd
lea eax, [ebp - 0x10]
call fcn.0040421c
ret

Function at 0x40b0a8
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 0x40b0e1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040430c
jmp 0x40b0ea
mov eax, ebx
mov edx, esi
call fcn.00404270
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b7ac
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b614
mov eax, dword [0x46994c]
cmp byte [eax], 0
je 0x40b828
mov eax, dword [0x46976c]
call fcn.00402d34
call fcn.00402bb4
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.00408898
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 0x40b870
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b85e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x469720]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46a664]
call fcn.004052dc
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 0x40c0cc
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 0x40c1a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004042b4
lea eax, [ebp - 8]
call fcn.0040472c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046dc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c18c
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c185
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.004046dc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c16f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c1b4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c16f
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 0x40c18c
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c1a9
lea eax, [ebp - 8]
call fcn.0040421c
ret

Function at 0x40c708
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 0x40c76c
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.0040448c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408354
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c773
lea eax, [ebp - 0xc]
call fcn.0040421c
ret
Function at 0x41aa34
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x46a884
cmp dword [esi], 0
jne 0x41aada
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x46a880]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4683ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41aa0c
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041aa2c
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0041aa2c
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41aaa1
mov eax, dword [ebp - 8]
mov dword [0x46a880], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41c030
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 0x41c036
ret

Function at 0x41e7f4
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 0x41e845
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e82c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e81c
jmp 0x41e845
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 0x41e82d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b3a0
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 0x42b2ec
call sub.user32.dll_EnumWindows
ret

Function at 0x42b4c0
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 0x42b53d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042af20
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 0x42b4e5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042ab20
cmp dword [ebp - 4], 0
je 0x42b527
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004046dc
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 0x42b544
lea eax, [ebp - 4]
call fcn.0040421c
ret

Function at 0x42e3cc
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 [0x46aae8], 0
je 0x42e51b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4698e8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42e51b
mov eax, dword [0x46aaec]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46aae8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42e4ea
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46aae8]
call fcn.00413f20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42e4e2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42e4e2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42e4e2
mov eax, dword [ebp - 0x14]
call fcn.00437010
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42e4e2
push ebp
call fcn.0042e388
pop ecx
test al, al
jne 0x42e4e2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42e49e
mov eax, dword [ebp - 0x14]
call fcn.00435b40
dec eax
jle 0x42e4e2
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.00403698
cmp byte [ebp - 1], 0
je 0x42e4e2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42e4e2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46aaec]
call fcn.0042db54
inc edi
dec ebx
jne 0x42e431
mov eax, dword [0x46aaec]
cmp dword [eax + 8], 0
jle 0x42e502
mov eax, dword [0x46aaec]
call fcn.0042dbe4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42e51b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042e1f0
pop ecx
test al, al
jne 0x42e51b
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 0x431b00
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 0x431b4c
mov eax, esi
call fcn.004472d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x431b4c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x431b4c
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 0x431c8b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x431b8c
cmp eax, 0x108
ja 0x431b8c
mov eax, esi
call fcn.004472d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x431c82
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x431c8b
jmp 0x431c82
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x431c6b
cmp eax, 0x20a
ja 0x431c6b
test byte [esi + 0x50], 0x80
jne 0x431bbe
sub eax, 0x203
je 0x431bbb
sub eax, 3
je 0x431bbb
sub eax, 3
jne 0x431bbe
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x431bd2
dec eax
je 0x431be7
dec eax
je 0x431c04
dec eax
je 0x431be7
jmp 0x431c0b
mov ecx, ebx
mov eax, dword [0x4698e8]
mov eax, dword [eax]
mov edx, esi
call fcn.00450b98
jmp 0x431c82
cmp byte [esi + 0x5d], 1
jne 0x431bfd
mov eax, esi
mov si, 0xffed
call fcn.00403698
jmp 0x431c8b
or word [esi + 0x54], 1
jmp 0x431c82
and word [esi + 0x54], 0xfffe
jmp 0x431c82
mov eax, dword [0x46aaa4]
cmp byte [eax + 0x20], 0
je 0x431c82
mov eax, dword [0x46aaa4]
cmp dword [eax + 0x1c], 0
je 0x431c82
mov eax, dword [ebx]
mov edx, dword [0x46aaa4]
cmp eax, dword [edx + 0x1c]
jne 0x431c82
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.00447214
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.00403698
jmp 0x431c8b
cmp eax, 0xb00b
jne 0x431c82
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00430430
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 0x4351a0
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 0x4351bc
cmp dword [esi + 4], 0
je 0x4351e9
test byte [ebx + 0x55], 1
jne 0x4351db
mov eax, ebx
call fcn.00433dac
test eax, eax
jne 0x4351db
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4352f9
mov edx, esi
mov eax, ebx
call fcn.00434cc4
jmp 0x4352f9
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 0x4352f2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00437010
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.00431a34
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004351a0
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.00437010
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4352f9
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 0x43b944
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x469a50]
cmp byte [eax + 0xc], 0
je 0x43bab1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43baaa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46aaf8], 0
jne 0x43b998
push 0x43bab8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43bac0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46aaf8], eax
cmp dword [0x468ac0], 0
jne 0x43ba93
push 0x43bad0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x468ac0], eax
cmp dword [0x468ac0], 0
je 0x43ba93
push 0x43badc
mov eax, dword [0x468ac0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46aafc], eax
push 0x43baec
mov eax, dword [0x468ac0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ab00], eax
push 0x43bb00
mov eax, dword [0x468ac0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ab04], eax
push 0x43bb18
mov eax, dword [0x468ac0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ab08], eax
push 0x43bb30
mov eax, dword [0x468ac0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ab0c], eax
push 0x43bb44
mov eax, dword [0x468ac0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ab10], eax
push 0x43bb5c
mov eax, dword [0x468ac0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ab14], eax
push 0x43bb74
mov eax, dword [0x468ac0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ab18], eax
push 0x43bb90
mov eax, dword [0x468ac0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ab1c], eax
push 0x43bb9c
mov eax, dword [0x468ac0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ab20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bab1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43f964
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.0040421c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43f9b3
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.0040448c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x447184
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4471d4]
test si, 4
je 0x447198
or bl, 1
test si, 8
je 0x4471a2
or bl, 4
test si, 1
je 0x4471ac
or bl, 8
test si, 2
je 0x4471b6
or bl, 0x10
test si, 0x10
je 0x4471c0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4471cf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret