joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001370
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0x863b
mov dword [ebp - 4], 3
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10001190
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10001190
add esp, 0xc
call fcn.10001000
push 0x40
push 0x3000
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esp, ebp
pop ebp
ret

Function at 0x100018b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xbf1f
lea ecx, [ebp - 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
add eax, dword [edx]
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x78]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], 0xfecb0a6d
mov dword [ebp - 0x14], 0xf4ef9d8e
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
cdq
idiv ecx
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0
jmp 0x1000193b
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x18], 0
je 0x100019e2
mov dword [ebp - 0x38], 0xfb522072
mov dword [ebp - 0x34], 0x28c7
lea edx, [ebp - 0x34]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [eax]
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0x38], ecx
call fcn.10001000
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x20]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + ecx*4]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x100019dd
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x24]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
mov dx, word [eax + ecx*2]
mov word [ebp - 0x3c], dx
mov dword [ebp - 0x40], 0x30
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
imul edx, dword [ecx]
mov eax, dword [ebp - 0x40]
sub eax, edx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x1c]
add edx, dword [ebp - 0xc]
movzx eax, word [ebp - 0x3c]
mov eax, dword [edx + eax*4]
add eax, dword [ebp - 0xc]
jmp 0x100019e4
jmp 0x10001932
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000cb03
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1003f6a8
cmp edx, dword [eax]
je 0x1000cb25
add eax, 8
inc ecx
cmp eax, 0x1003f738
jl 0x1000cb16
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1003f6a8]
jne 0x1000cc53
mov eax, dword [0x10045c4c]
cmp eax, 1
je 0x1000cc2d
test eax, eax
jne 0x1000cb56
cmp dword [0x10045c50], 1
je 0x1000cc2d
cmp edx, 0xfc
je 0x1000cc53
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000cb8d
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1000d720
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1000db50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1000cbd0
lea eax, [ebp - 0x1a4]
push eax
call fcn.1000db50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x100175ac
push edi
call fcn.10010600
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1000d720
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1000d730
lea eax, [ebp - 0xa0]
push 0x1001758c
push eax
call fcn.1000d730
push dword [esi + 0x1003f6ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.1000d730
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10010575
add esp, 0x2c
pop edi
jmp 0x1000cc53
lea eax, [ebp + 8]
lea esi, [esi + 0x1003f6ac]
push 0
push eax
push dword [esi]
call fcn.1000db50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402f50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x44d020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402fe8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x402fc8
xor eax, eax
push ebp
push 0x402fc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403004
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402fc8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ax, word [0x44d020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x44d020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403c94
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x44f044], 0
je 0x403cf5
cmp word [0x44f218], 0xd7b2
jne 0x403cbd
cmp dword [0x44f220], 0
jbe 0x403cbd
mov eax, 0x44f214
call dword [0x44f230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x44d06c
push 0xfffffffffffffff5
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 0x403d1c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x44d030], 0
jne 0x403d11
push 0
push 0x44d064
push 0x44d06c
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret
Function at 0x405968
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 0x4059ce
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_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404080
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4059b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059d5
lea eax, [ebp - 0x10]
call fcn.00403e10
ret

Function at 0x40a868
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
test eax, eax
jle 0x40a8a1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f00
jmp 0x40a8aa
mov eax, ebx
mov edx, esi
call fcn.00403e64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a8b4
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
test eax, eax
jle 0x40a8d5
mov al, byte [esp]
jmp 0x40a8d7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b874
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 0x40b94a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ea8
lea eax, [ebp - 8]
call fcn.00404320
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004042d0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40b934
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40b92d
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.004042d0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40b917
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40b95c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40b917
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 0x40b934
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b951
lea eax, [ebp - 8]
call fcn.00403e10
ret
Function at 0x40bdc8
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 0x40be2c
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404080
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00407c6c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40be33
lea eax, [ebp - 0xc]
call fcn.00403e10
ret

Function at 0x419f08
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x44f880
cmp dword [edi], 0
jne 0x419f84
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x44f87c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44d3e8
mov ecx, 2
call fcn.004028b8
mov edx, 0x419ee0
lea eax, [esi + 5]
call fcn.00419f00
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00419f00
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 0x419f59
mov dword [0x44f87c], 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 0x41b198
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 0x41b19e
ret

Function at 0x41d5e0
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 0x41d631
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d618
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d608
jmp 0x41d631
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 0x41d619
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426f00
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 0x426e4c
call sub.user32.dll_EnumWindows
ret

Function at 0x427020
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 0x42709d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00426a80
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep_1
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x427045
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00426680
cmp dword [ebp - 4], 0
je 0x427087
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004042d0
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 0x4270a4
lea eax, [ebp - 4]
call fcn.00403e10
ret

Function at 0x429d40
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 [0x44fb50], 0
je 0x429e8f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x44dfa8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x429e8f
mov eax, dword [0x44fb54]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x44fb50]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x429e5e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x44fb50]
call fcn.004134d8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x429e56
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x429e56
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x429e56
mov eax, dword [ebp - 0x14]
call fcn.004328a4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x429e56
push ebp
call fcn.00429cfc
pop ecx
test al, al
jne 0x429e56
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x429e12
mov eax, dword [ebp - 0x14]
call fcn.004313d4
dec eax
jle 0x429e56
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.004032d4
cmp byte [ebp - 1], 0
je 0x429e56
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x429e56
mov edx, dword [ebp - 0x14]
mov eax, dword [0x44fb54]
call fcn.004294c8
inc edi
dec ebx
jne 0x429da5
mov eax, dword [0x44fb54]
cmp dword [eax + 8], 0
jle 0x429e76
mov eax, dword [0x44fb54]
call fcn.00429558
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x429e8f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00429b64
pop ecx
test al, al
jne 0x429e8f
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 0x42d428
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 0x42d474
mov eax, esi
call fcn.00442844
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d474
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42d474
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 0x42d5b3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42d4b4
cmp eax, 0x108
ja 0x42d4b4
mov eax, esi
call fcn.00442844
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d5aa
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42d5b3
jmp 0x42d5aa
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42d593
cmp eax, 0x20a
ja 0x42d593
test byte [esi + 0x50], 0x80
jne 0x42d4e6
sub eax, 0x203
je 0x42d4e3
sub eax, 3
je 0x42d4e3
sub eax, 3
jne 0x42d4e6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42d4fa
dec eax
je 0x42d50f
dec eax
je 0x42d52c
dec eax
je 0x42d50f
jmp 0x42d533
mov ecx, ebx
mov eax, dword [0x44dfa8]
mov eax, dword [eax]
mov edx, esi
call fcn.0044be6c
jmp 0x42d5aa
cmp byte [esi + 0x5d], 1
jne 0x42d525
mov eax, esi
mov si, 0xffed
call fcn.004032d4
jmp 0x42d5b3
or word [esi + 0x54], 1
jmp 0x42d5aa
and word [esi + 0x54], 0xfffe
jmp 0x42d5aa
mov eax, dword [0x44fb0c]
cmp byte [eax + 0x20], 0
je 0x42d5aa
mov eax, dword [0x44fb0c]
cmp dword [eax + 0x1c], 0
je 0x42d5aa
mov eax, dword [ebx]
mov edx, dword [0x44fb0c]
cmp eax, dword [edx + 0x1c]
jne 0x42d5aa
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.00442788
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.004032d4
jmp 0x42d5b3
cmp eax, 0xb00b
jne 0x42d5aa
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042bd90
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 0x430a34
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 0x430a50
cmp dword [esi + 4], 0
je 0x430a7d
test byte [ebx + 0x55], 1
jne 0x430a6f
mov eax, ebx
call fcn.0042f640
test eax, eax
jne 0x430a6f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x430b8d
mov edx, esi
mov eax, ebx
call fcn.00430558
jmp 0x430b8d
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 0x430b86
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004328a4
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.0042d35c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00430a34
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.004328a4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430b8d
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 0x436f9c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44e104]
cmp byte [eax + 0xc], 0
je 0x437109
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x437102
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x44fb60], 0
jne 0x436ff0
push 0x437110
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x437118
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb60], eax
cmp dword [0x44dafc], 0
jne 0x4370eb
push 0x437128
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x44dafc], eax
cmp dword [0x44dafc], 0
je 0x4370eb
push 0x437134
mov eax, dword [0x44dafc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb64], eax
push 0x437144
mov eax, dword [0x44dafc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb68], eax
push 0x437158
mov eax, dword [0x44dafc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb6c], eax
push 0x437170
mov eax, dword [0x44dafc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb70], eax
push 0x437188
mov eax, dword [0x44dafc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb74], eax
push 0x43719c
mov eax, dword [0x44dafc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb78], eax
push 0x4371b4
mov eax, dword [0x44dafc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb7c], eax
push 0x4371cc
mov eax, dword [0x44dafc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb80], eax
push 0x4371e8
mov eax, dword [0x44dafc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb84], eax
push 0x4371f4
mov eax, dword [0x44dafc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x44fb88], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437109
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x4426f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442748]
test si, 4
je 0x44270c
or bl, 1
test si, 8
je 0x442716
or bl, 4
test si, 1
je 0x442720
or bl, 8
test si, 2
je 0x44272a
or bl, 0x10
test si, 0x10
je 0x442734
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442743
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret