joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219

Function at 0x40181d
Capabilities:
Set thread local storage value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x40a008]
je 0x401838
inc edi
cmp edi, 0x17
jb 0x401829
cmp edi, 0x17
jae 0x4019b8
push ebp
push 3
call fcn.004038b0
cmp eax, 1
pop ecx
je 0x401984
push 3
call fcn.004038b0
test eax, eax
pop ecx
jne 0x40186c
cmp dword [section..data], 1
je 0x401984
cmp ebx, 0xfc
je 0x4019b7
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x40ad20
push ebp
call fcn.0040384b
add esp, 0xc
test eax, eax
je 0x4018a2
push esi
push esi
push esi
push esi
push esi
call fcn.00402da5
add esp, 0x14
push 0x104
mov esi, 0x40ad39
push esi
push 0
mov byte [0x40ae3d], 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x4018e6
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040384b
add esp, 0xc
test eax, eax
je 0x4018e6
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00402da5
add esp, 0x14
push esi
call fcn.004037c0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40192b
push esi
call fcn.004037c0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x40b034
push 0x408a44
sub ecx, eax
push ecx
push eax
call fcn.00403702
add esp, 0x14
test eax, eax
je 0x40192b
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00402da5
add esp, 0x14
jmp 0x40192d
xor esi, esi
push 0x408a40
push ebx
push ebp
call fcn.00403691
add esp, 0xc
test eax, eax
je 0x40194d
push esi
push esi
push esi
push esi
push esi
call fcn.00402da5
add esp, 0x14
push dword [edi*8 + 0x40a00c]
push ebx
push ebp
call fcn.00403691
add esp, 0xc
test eax, eax
je 0x40196f
push esi
push esi
push esi
push esi
push esi
call fcn.00402da5
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004034d4
add esp, 0xc
jmp 0x4019b7
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
cmp ebp, esi
je 0x4019b7
cmp ebp, 0xffffffff
je 0x4019b7
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x40a00c]
push dword [esi]
call fcn.004037c0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4053fd
Capabilities:
Allocate thread local storage

Disassembly:
cmp ecx, dword [0x40aa68]
jne 0x405407
repz ret
jmp fcn.00406995
Function at 0x404b11
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4049c9
xor edi, edi
jmp 0x4049dc
movzx ecx, word [edx + 0x26]
jmp 0x4049f0
mov esi, dword [edx + 0x28]
nop
jmp 0x4049fe
xor eax, eax
jmp 0x404a0f
lodsb al, byte [esi]
nop
jmp 0x404a1f
cmp al, 0x61
jmp 0x404a2f
jl 0x404a45
nop
nop
sub al, 0x20
nop
jmp 0x404a45
nop
jmp 0x404a53
ror edi, 0xd
nop
jmp 0x404a61
add edi, eax
jmp 0x404a71
dec ecx
nop
jmp 0x404a7d
jne 0x4049f4
nop
push edx
nop
jmp 0x404a92
mov edx, dword [edx + 0x10]
nop
jmp 0x404aa5
push edi
nop
mov eax, dword [edx + 0x3c]
jmp 0x404ab9
add eax, edx
nop
mov eax, dword [eax + 0x78]
jmp 0x404acd
test eax, eax
je 0x404c22
nop
jmp 0x404ae2
add eax, edx
push eax
nop
jmp 0x404af6
mov ebx, dword [eax + 0x20]
nop
add ebx, edx
nop
jmp 0x404b0b
mov ecx, dword [eax + 0x18]
test ecx, ecx
nop
jmp 0x404b1d
je 0x404bfd
nop
nop
xor edi, edi
nop
dec ecx
nop
jmp 0x404b37
mov esi, dword [ebx + ecx*4]
nop
jmp 0x404b47
add esi, edx
nop
xor eax, eax
jmp 0x404b5a
lodsb al, byte [esi]
nop
ror edi, 0xd
nop
add edi, eax
jmp 0x404b6d
cmp al, ah
nop
jne 0x404b49
nop
add edi, dword [ebp - 8]
nop
cmp edi, dword [ebp + 0x24]
nop
jmp 0x404b8c
jne 0x404b0e
nop
nop
jmp 0x404b9e
pop eax
mov ebx, dword [eax + 0x24]
add ebx, edx
nop
mov cx, word [ebx + ecx*2]
nop
jmp 0x404bbc
mov ebx, dword [eax + 0x1c]
add ebx, edx
jmp 0x404bd5
mov eax, dword [ebx + ecx*4]
nop
jmp 0x404be8
add eax, edx
mov dword [esp + 0x24], eax
nop
pop ebx
nop
pop ebx
popal
nop
pop ecx
nop
pop edx
nop
push ecx
nop
jmp eax
nop
jmp 0x404c12
pop eax
jmp 0x404c22
pop edi
jmp 0x404c37
pop edx
nop
mov edx, dword [edx]
nop
jmp 0x404c4f
jmp 0x4049bc

Function at 0x408db0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov esp, dword [edx + 0x109d8b51]
xor ecx, ecx
test eax, eax
add eax, 0x4d89c195
lodsb al, byte [esi]
mov ecx, edi
or al, 0x83
stc
inc eax
push esi
jg 0x83409003
je 0x408fdb
or dword ds:[edi + ecx + 0x30006a9], 0xe
add byte [ebx], dh
ror byte [edx + 0x40911091], cl
add bh, bh
or dword [ebp + 0x4090f8], edx
mov esi, dword [ebp + 8]
xor edx, edx
mov ecx, dword [esi + 0x38]
and ecx, 2
cmp cl, 0x7b
sete dl
dec ecx
push 0x19
das
int1
dec esi
add al, 0x8d
inc ecx
cld
push 4
push eax
push 8
add edi, edi
invalid
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push 4
push ecx
mov eax, dword [edx + 4]
adc byte [ecx], al
dec eax
add byte [eax], al
test al, 0xff
inc dword [eax]
add byte [eax], cl
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x408e31
jmp 0x409044
jne 0x409038
xor edx, edx
mov ecx, dword [esi + 0x38]
and ecx, 0x200
cmp ecx, 0xda76
sete dl
add al, byte [eax]
add byte [ecx + 0xda76f9], al
add byte [edi], cl
xchg esp, eax
ret 0xd03b
cmp edx, eax
cld
jmp 0x40902e
Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov edi, eax
or byte [0xc085146c], dl
je 0x40a410
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40a40a
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x40a3fe
pop esi
pop ebp
ret 8
call esi
pop es
cmp ah, 0xa
add byte [esi + 0x5d], bl
ret 8
xor eax, eax
pop ebp
ret 8
inc edi
cmp eax, dword [0xc6d40000]
mov edi, 0x90909000
nop
nop
nop
or ebx, ecx
nop
nop
nop
hlt
Function at 0x402dec
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004043b4
test esi, esi
jne 0x402e23
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004044a4
jmp 0x402e44
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402c88
mov dword [esp], eax
test esi, esi
je 0x402e44
cmp dword [ebx], 0
je 0x402e44
dec esi
jmp 0x402e2b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4034b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x44e020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40354c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40352c
xor eax, eax
push ebp
push 0x403525
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 0x403568
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 0x40352c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x44e020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x44e020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404230
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x450048], 0
je 0x404291
cmp word [0x45021c], 0xd7b2
jne 0x404259
cmp dword [0x450224], 0
jbe 0x404259
mov eax, 0x450218
call dword [0x450234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x44e06c
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 0x4042b8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x44e030], 0
jne 0x4042ad
push 0
push 0x44e064
push 0x44e06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405fd8
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 0x40603e
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.00404624
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403078
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406028
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406045
lea eax, [ebp - 0x10]
call fcn.004043b4
ret

Function at 0x40b00c
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 0x40b045
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044a4
jmp 0x40b04e
mov eax, ebx
mov edx, esi
call fcn.00404408
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b710
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b578
mov eax, dword [0x44f014]
cmp byte [eax], 0
je 0x40b78c
mov eax, dword [0x44ee3c]
call fcn.00402ee4
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.004087fc
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 0x40b7d4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b7c2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x44edec]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x450664]
call fcn.00405444
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 0x40c030
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 0x40c106
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040444c
lea eax, [ebp - 8]
call fcn.004048c4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404874
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c0f0
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c0e9
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.00404874
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c0d3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c118
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c0d3
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 0x40c0f0
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c10d
lea eax, [ebp - 8]
call fcn.004043b4
ret

Function at 0x40c5e0
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 0x40c644
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.00404624
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408378
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c64b
lea eax, [ebp - 0xc]
call fcn.004043b4
ret

Function at 0x41a7a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x450884
cmp dword [edi], 0
jne 0x41a81c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x450880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44e3ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41a778
lea eax, [esi + 5]
call fcn.0041a798
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a798
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 0x41a7f1
mov dword [0x450880], 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 0x41ba30
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 0x41ba36
ret
Function at 0x41dea8
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 0x41def9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41dee0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41ded0
jmp 0x41def9
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 0x41dee1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4274a0
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 0x4273ec
call sub.user32.dll_EnumWindows
ret

Function at 0x4275c0
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 0x42763d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00427020
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 0x4275e5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00426c20
cmp dword [ebp - 4], 0
je 0x427627
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404874
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 0x427644
lea eax, [ebp - 4]
call fcn.004043b4
ret

Function at 0x42a2e0
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 [0x450b54], 0
je 0x42a42f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x44efb8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42a42f
mov eax, dword [0x450b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x450b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42a3fe
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x450b54]
call fcn.00413d70
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42a3f6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42a3f6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42a3f6
mov eax, dword [ebp - 0x14]
call fcn.00432e44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42a3f6
push ebp
call fcn.0042a29c
pop ecx
test al, al
jne 0x42a3f6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42a3b2
mov eax, dword [ebp - 0x14]
call fcn.00431974
dec eax
jle 0x42a3f6
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.00403848
cmp byte [ebp - 1], 0
je 0x42a3f6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42a3f6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x450b58]
call fcn.00429a68
inc edi
dec ebx
jne 0x42a345
mov eax, dword [0x450b58]
cmp dword [eax + 8], 0
jle 0x42a416
mov eax, dword [0x450b58]
call fcn.00429af8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42a42f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042a104
pop ecx
test al, al
jne 0x42a42f
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 0x42d9c8
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 0x42da14
mov eax, esi
call fcn.00442e78
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42da14
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42da14
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 0x42db53
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42da54
cmp eax, 0x108
ja 0x42da54
mov eax, esi
call fcn.00442e78
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42db4a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42db53
jmp 0x42db4a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42db33
cmp eax, 0x20a
ja 0x42db33
test byte [esi + 0x50], 0x80
jne 0x42da86
sub eax, 0x203
je 0x42da83
sub eax, 3
je 0x42da83
sub eax, 3
jne 0x42da86
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42da9a
dec eax
je 0x42daaf
dec eax
je 0x42dacc
dec eax
je 0x42daaf
jmp 0x42dad3
mov ecx, ebx
mov eax, dword [0x44efb8]
mov eax, dword [eax]
mov edx, esi
call fcn.0044c768
jmp 0x42db4a
cmp byte [esi + 0x5d], 1
jne 0x42dac5
mov eax, esi
mov si, 0xffed
call fcn.00403848
jmp 0x42db53
or word [esi + 0x54], 1
jmp 0x42db4a
and word [esi + 0x54], 0xfffe
jmp 0x42db4a
mov eax, dword [0x450b10]
cmp byte [eax + 0x20], 0
je 0x42db4a
mov eax, dword [0x450b10]
cmp dword [eax + 0x1c], 0
je 0x42db4a
mov eax, dword [ebx]
mov edx, dword [0x450b10]
cmp eax, dword [edx + 0x1c]
jne 0x42db4a
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.00442dbc
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.00403848
jmp 0x42db53
cmp eax, 0xb00b
jne 0x42db4a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042c330
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 0x430fd4
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 0x430ff0
cmp dword [esi + 4], 0
je 0x43101d
test byte [ebx + 0x55], 1
jne 0x43100f
mov eax, ebx
call fcn.0042fbe0
test eax, eax
jne 0x43100f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43112d
mov edx, esi
mov eax, ebx
call fcn.00430af8
jmp 0x43112d
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 0x431126
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00432e44
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.0042d8fc
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00430fd4
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.00432e44
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43112d
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