joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489600
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4bc7b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.00492700
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x38], 0
call fcn.004ac62b
lea ecx, [esp + 0x3c]
push 1
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call fcn.004a9db0
mov eax, dword [eax]
push 0x4fecb4
push eax
call fcn.00499564
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
setne bl
call fcn.004ac5bd
test bl, bl
je 0x489680
push 0x4fecb4
lea ecx, [esp + 0xc]
call fcn.004ac999
push 0x4fecb0
lea ecx, [esp + 0xc]
call fcn.004ac999
mov edx, dword [esp + 8]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.004927c3
test eax, eax
je 0x489744
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
mov bl, 2
lea ecx, [esp + 0x18]
call fcn.004929e3
mov edi, eax
mov eax, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [eax + 0x38]
test eax, eax
je 0x489700
lea ecx, [esp + 0x18]
call fcn.004929aa
test eax, eax
jne 0x489700
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00492ab2
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x40], bl
call fcn.00489600
mov byte [esp + 0x3c], 1
lea ecx, [esp + 0x44]
jmp 0x489735
lea ecx, [esp + 0x18]
call fcn.004929aa
test eax, eax
jne 0x48973a
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [edx + 0x38]
test eax, eax
jne 0x48973a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call fcn.00492ab2
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x14]
call fcn.004ac5bd
test edi, edi
jne 0x4896b0
pop edi
pop ebp
lea ecx, [esp + 0x10]
call fcn.00492779
lea ecx, [esp + 8]
mov byte [esp + 0x34], 0
call fcn.004ac5bd
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.0049273d
mov ecx, dword [esp + 0x2c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x489840
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4bc7e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x4ff1d4]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.004ac746
push str..
lea ecx, [esp + 0x10]
call fcn.004ac999
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x4898e3
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.004ac5bd
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.004ac5bd
xor eax, eax
jmp 0x489a28
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x4fecd4
push edx
call fcn.00499564
add esp, 8
test eax, eax
je 0x4899d9
lea eax, [esp + 0x48]
push 0x4fecd0
push eax
call fcn.00499564
add esp, 8
test eax, eax
je 0x4899d9
test ebp, ebp
jne 0x489945
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.00499613
add esp, 8
test eax, eax
je 0x4899d9
push esi
lea ecx, [esp + 0x14]
call fcn.004ac746
push 0x5c
lea ecx, [esp + 0x14]
call fcn.004ac9c0
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.004ac999
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x489985
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x4899a7
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.00489840
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x4899d9
test edi, edi
je 0x4899ce
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.00499613
add esp, 8
test eax, eax
jne 0x4899ce
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.00489a50
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4898f3
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.004ac5bd
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.004ac5bd
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x489a50
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bc7fb
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.00499e50
mov eax, dword [0x4ff1d4]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.004ac746
push 0x5c
lea ecx, [esp + 8]
call fcn.004ac9c0
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.004ac999
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x489af6
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.004ac5bd
xor eax, eax
jmp 0x489b73
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x489b51
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x489b43
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x489b1d
jmp 0x489b51
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.004ac5bd
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8
Function at 0x48e760
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub esp, 0x348
push ebx
push esi
push edi
mov edi, ecx
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, eax
lea eax, [esp + 0xc]
push 7
and esi, 0xffff
push eax
push 0x1004
push esi
call ebx
lea ecx, [esp + 0xc]
push ecx
call fcn.00499438
add esp, 4
lea edx, [esp + 0x14c]
mov dword [edi + 4], eax
push 0x104
push edx
push 0x1002
push esi
call ebx
lea eax, [esp + 0x14c]
lea ecx, [edi + 0xc]
push eax
call fcn.004ac746
lea ecx, [esp + 0xc]
push 7
push ecx
push 5
push esi
call ebx
lea edx, [esp + 0xc]
push edx
call fcn.00499438
add esp, 4
mov dword [edi + 0x10], eax
lea eax, [esp + 0x3c]
push 0x64
push eax
push 0x1003
push esi
call ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [edi + 0x14]
call fcn.004ac746
lea edx, [esp + 0x3c]
push 0x64
push edx
push 0x20
push esi
call ebx
lea eax, [esp + 0x3c]
lea ecx, [edi + 8]
push eax
call fcn.004ac746
lea ecx, [esp + 0x14]
push 7
push ecx
push 0x14
push esi
call ebx
lea edx, [esp + 0x14]
lea ecx, [edi + 0x18]
push edx
call fcn.004ac746
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
lea ecx, [esp + 0x250]
push 0x104
and eax, 0xffff
push ecx
push eax
call sub.VERSION.dll_VerLanguageNameA
cmp eax, 0x104
ja 0x48e864
lea edx, [esp + 0x250]
lea ecx, [edi + 0x1c]
push edx
call fcn.004ac746
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x48e89f
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x1c]
push ecx
push 0x4ff100
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [edi + 0x20]
push eax
call fcn.004ac746
pop edi
pop esi
pop ebx
add esp, 0x348
ret

Function at 0x4ae9d7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4aea0f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004aca64
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004aca3c
jmp 0x4aea1b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4b00cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4b010e
call fcn.004b5db8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4b010e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4b0105
xor eax, eax
jmp 0x4b0116
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004b011c
pop edi
pop esi
pop ebx
ret 4
Function at 0x4b62e8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b6316
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b6334
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b624e
jmp 0x4b6334
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b6334
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b624e
test edi, edi
mov eax, edi
jne 0x4b631e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402a30
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.004043b0
test esi, esi
jne 0x402a66
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004044a0
jmp 0x402a84
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402944
mov edi, eax
test esi, esi
je 0x402a84
cmp dword [ebx], 0
je 0x402a84
dec esi
jmp 0x402a6d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4034cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45600c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403564
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403544
xor eax, eax
push ebp
push 0x40353d
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 0x403580
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403544
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45600c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45600c], ax
mov esp, ebp
pop ebp
ret

Function at 0x404234
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x458048], 0
je 0x404295
cmp word [0x45821c], 0xd7b2
jne 0x40425d
cmp dword [0x458224], 0
jbe 0x40425d
mov eax, 0x458218
call dword [0x458234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x456054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4042bc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45601c], 0
jne 0x4042b1
push 0
push 0x456074
push 0x456054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40b384
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 0x40b3bd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044a0
jmp 0x40b3c6
mov eax, ebx
mov edx, esi
call fcn.00404404
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40ba78
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b8f0
mov eax, dword [0x457020]
cmp byte [eax], 0
je 0x40bae5
mov eax, dword [0x456e6c]
call fcn.00402de8
call fcn.00402870
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408948
push eax
lea eax, [esp + 0x50]
push eax
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 0x40bb2c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bb1b
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x456e24]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x458714]
call fcn.00405acc
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 0x40c7bc
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 0x40c820
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.00404618
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408634
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c827
lea eax, [ebp - 0xc]
call fcn.004043b0
ret
Function at 0x422b70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x458a20
cmp dword [edi], 0
jne 0x422bec
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x458a1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x456658
mov ecx, 2
call fcn.00402904
mov edx, 0x422b48
lea eax, [esi + 5]
call fcn.00422b68
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422b68
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 0x422bc1
mov dword [0x458a1c], 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 0x423d78
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 0x423d7e
ret

Function at 0x4261c0
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 0x426211
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4261f8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4261e8
jmp 0x426211
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 0x4261f9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42da68
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 0x42d9b4
call sub.user32.dll_EnumWindows
ret

Function at 0x42db8c
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 0x42dc09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042d5d8
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 0x42dbb1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042d230
cmp dword [ebp - 4], 0
je 0x42dbf3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404860
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 0x42dc10
lea eax, [ebp - 4]
call fcn.004043b0
ret

Function at 0x4307c8
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 [0x458ba8], 0
je 0x430917
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x456fcc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x430917
mov eax, dword [0x458bac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x458ba8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4308e6
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x458ba8]
call fcn.0041a0b8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4308de
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4308de
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4308de
mov eax, dword [ebp - 0x14]
call fcn.00439208
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4308de
push ebp
call fcn.00430784
pop ecx
test al, al
jne 0x4308de
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43089a
mov eax, dword [ebp - 0x14]
call fcn.00437d9c
dec eax
jle 0x4308de
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.00403858
cmp byte [ebp - 1], 0
je 0x4308de
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4308de
mov edx, dword [ebp - 0x14]
mov eax, dword [0x458bac]
call fcn.0042ff4c
inc edi
dec ebx
jne 0x43082d
mov eax, dword [0x458bac]
cmp dword [eax + 8], 0
jle 0x4308fe
mov eax, dword [0x458bac]
call fcn.0042ffdc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x430917
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004305ec
pop ecx
test al, al
jne 0x430917
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 0x433ec4
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 0x433f10
mov eax, esi
call fcn.0044979c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x433f10
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x433f10
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 0x43404f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x433f50
cmp eax, 0x108
ja 0x433f50
mov eax, esi
call fcn.0044979c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x434046
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x43404f
jmp 0x434046
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43402f
cmp eax, 0x20a
ja 0x43402f
test byte [esi + 0x50], 0x80
jne 0x433f82
sub eax, 0x203
je 0x433f7f
sub eax, 3
je 0x433f7f
sub eax, 3
jne 0x433f82
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x433f96
dec eax
je 0x433fab
dec eax
je 0x433fc8
dec eax
je 0x433fab
jmp 0x433fcf
mov ecx, ebx
mov eax, dword [0x456fcc]
mov eax, dword [eax]
mov edx, esi
call fcn.00452e88
jmp 0x434046
cmp byte [esi + 0x5d], 1
jne 0x433fc1
mov eax, esi
mov si, 0xffed
call fcn.00403858
jmp 0x43404f
or word [esi + 0x54], 1
jmp 0x434046
and word [esi + 0x54], 0xfffe
jmp 0x434046
mov eax, dword [0x458b64]
cmp byte [eax + 0x20], 0
je 0x434046
mov eax, dword [0x458b64]
cmp dword [eax + 0x1c], 0
je 0x434046
mov eax, dword [ebx]
mov edx, dword [0x458b64]
cmp eax, dword [edx + 0x1c]
jne 0x434046
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.004496e0
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.00403858
jmp 0x43404f
cmp eax, 0xb00b
jne 0x434046
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00432800
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 0x437438
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 0x437454
cmp dword [esi + 4], 0
je 0x437481
test byte [ebx + 0x55], 1
jne 0x437473
mov eax, ebx
call fcn.004360fc
test eax, eax
jne 0x437473
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x437591
mov edx, esi
mov eax, ebx
call fcn.00436f58
jmp 0x437591
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 0x43758a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00439208
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.00433df8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00437438
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.00439208
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437591
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