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

Disassembly:
scasd eax, dword es:[edi]
dec eax
jmp 0x63e912
lahf
aas
or al, 0xe8
sbb eax, 0x4818bbf
fsubp st(1)
inc ebx
invalid
test ax, 0xf076
aas
cmp eax, 0x8b0408c0
lodsd eax, dword [esi]
xchg esi, eax
adc byte [esi - 0x53], bh
or eax, dword [edx - 0x5b54ef3c]
dec ebx
adc byte [ebx - 0x58], ch
salc
test esi, ebx
inc ecx
jg 0x63e958
stc
inc ebp
test eax, 0xdd22c223
xor edx, ecx
pop ebx
call 0xc30587c3
loopne 0x63e976
and byte [ecx - 0x2c], 0x5f
jne 0x63e8a6
pop ss
jg 0x63e892
outsd dx, dword [esi]
cmp al, 0x67
and byte [ecx + eax*8 - 5], dh
je 0x63e8d5
sti
inc esp
mov ah, 0x4b
outsb dx, byte [esi]
or ecx, edi
pushal
call esi
xchg esi, eax
sub cl, byte [edx - 0x1e]
daa
xor eax, esi
xor byte [edi], ch
daa
ja 0x63e91a
iretd
xchg ecx, eax
fidiv dword [esi + ecx*4 + 0x6b]
pop ebx
xchg esp, eax
add dword [edi - 0x425cdb21], ecx
adc eax, 0x34f68f8a
add dword [esi], edi
sub dword [0x3a411d0], edi
aas
or dword [ebx], ebp
push ebx
iretd
xor cl, dl
xor eax, 0x93f1fdef
add al, 0xe4
adc byte [eax], bh
shl byte [edx], 0x37
push edi
add eax, 0x8b713a22
push cs
lea esp, [edi]
push ds
add byte gs:[edi + ecx*2], dh
xchg ebx, eax
push esp
wait
shl dword [eax], cl
mov esp, 0x31224533
or bl, byte [ebx]
outsb dx, byte [esi]
dec ebx
sbb ebp, dword [esi + 0x4b]
pushal
sahf
sub byte [edx], 0x8a
sbb esp, dword [ecx - 0x634b5315]
ja 0x63e9ee
cmp ecx, dword [ebx + 0x679b10ca]
scasd eax, dword es:[edi]
push ecx
sbb esp, esi
or eax, 0x1b0ddc30
adc cl, byte [edi - 0x537f540]
insb byte es:[edi], dx
mov ebx, 0x1ea163c3
adc byte [eax + 0x7f], dh
jae 0x63e980
xchg ebx, edx
sbb esi, dword [ecx - 0x59]
in al, 0xcb
push ecx
aam 0x68
iretd
jbe 0x63e9b2
retf
Function at 0x402ebc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402f15
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402d58
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402d58
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402eff
inc ebx
jmp 0x402ee8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402f1c
lea eax, [ebp - 8]
call fcn.004049e8
ret

Function at 0x402f24
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004049e8
test esi, esi
jne 0x402f5b
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.00404ad8
jmp 0x402f7c
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d58
mov dword [esp], eax
test esi, esi
je 0x402f7c
cmp dword [ebx], 0
je 0x402f7c
dec esi
jmp 0x402f63
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403ac0
Capabilities:
Query or enumerate registry value

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

Function at 0x404844
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a904c], 0
je 0x4048a5
cmp word [0x4a9220], 0xd7b2
jne 0x40486d
cmp dword [0x4a9228], 0
jbe 0x40486d
mov eax, 0x4a921c
call dword [0x4a9238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48a070
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 0x4048cc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48a030], 0
jne 0x4048c1
push 0
push 0x48a068
push 0x48a070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406a74
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 0x406ada
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.00404c58
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403510
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406ac4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406ae1
lea eax, [ebp - 0x10]
call fcn.004049e8
ret

Function at 0x409414
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x409445
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x40944c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x40947d
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x409564
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ea8
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x40958a
test byte [ebp - 0xc], 0x10
jne 0x40958e
xor eax, eax
jmp 0x409590
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x40c4ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x40c4f4
mov ecx, dword [ebp - 0x10]
dec ecx
lea edx, [ebp - 0x110]
mov eax, dword [ebp + 8]
call fcn.00404ad8
jmp 0x40c4ff
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00404a3c
mov esp, ebp
pop ebp
ret 4
Function at 0x40c508
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c536
mov al, byte [ebp - 0xc]
mov byte [ebp - 0xa], al
jmp 0x40c53c
mov al, byte [ebp - 9]
mov byte [ebp - 0xa], al
mov al, byte [ebp - 0xa]
mov esp, ebp
pop ebp
ret

Function at 0x40ccc4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x400
lea ecx, [ebp - 0x44c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040cb0c
mov eax, dword [0x4a8bb4]
cmp byte [eax], 0
je 0x40cd57
mov eax, dword [0x4a88f0]
call fcn.00403370
call fcn.00402c4c
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x44c]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x44c]
call fcn.004097a0
push eax
lea eax, [ebp - 0x44c]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40cd9c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cd8d
push 0x40
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [0x4a8884]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a9668]
call fcn.00405ec4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov esp, ebp
pop ebp
ret

Function at 0x40d7b8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40d896
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404a80
lea eax, [ebp - 0xc]
call fcn.00404ef8
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404ea8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40d880
mov eax, dword [ebp - 0x10]
call fcn.00402ac0
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x40d879
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404ea8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d863
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x40d8a4
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d863
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d880
mov eax, dword [ebp - 0x18]
call fcn.00402af0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d89d
lea eax, [ebp - 0xc]
call fcn.004049e8
ret
Function at 0x40df7c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40dfe6
push dword fs:[eax]
mov dword fs:[eax], esp
push 7
lea eax, [ebp - 0xf]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xf]
mov ecx, 7
call fcn.00404c58
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004090a0
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dfed
lea eax, [ebp - 0x14]
call fcn.004049e8
ret

Function at 0x41d6ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindResourceA
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x41d722
push ebp
call fcn.0041d67c
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x41d748
push ebp
call fcn.0041d67c
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
push eax
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.0041d2b0
mov esp, ebp
pop ebp
ret 4
Function at 0x4228b8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
cmp dword [0x4a98a8], 0
jne 0x422965
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [0x4a98a4]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x48a490
mov ecx, 2
call fcn.00402d18
mov edx, 0x422874
mov eax, dword [ebp - 8]
add eax, 5
call fcn.00422894
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebp - 0xc]
call fcn.00422894
mov edx, dword [ebp - 0xc]
mov dword [edx + 1], eax
mov eax, dword [0x4a98a8]
mov edx, dword [ebp - 0xc]
mov dword [edx + 5], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4a98a8], eax
add dword [ebp - 0xc], 0xd
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x42291f
mov eax, dword [ebp - 8]
mov dword [0x4a98a4], eax
mov eax, dword [0x4a98a8]
mov dword [ebp - 4], eax
mov eax, dword [0x4a98a8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 5]
mov dword [0x4a98a8], eax
mov eax, dword [ebp - 0xc]
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]
mov esp, ebp
pop ebp
ret 8

Function at 0x423bc8
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 0x423bce
ret

Function at 0x4267e4
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 0x426835
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42681c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42680c
jmp 0x426835
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 0x42681d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430a64
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
push eax
push 0x430998
call sub.user32.dll_EnumWindows
pop ecx
pop ebp
ret

Function at 0x430bdc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x430c65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00430560
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, 0x3e8
jbe 0x430c08
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004300d0
cmp dword [ebp - 0xc], 0
je 0x430c4f
push 0
push 9
mov eax, dword [ebp - 0xc]
call fcn.00404ea8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 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 0x430c6c
lea eax, [ebp - 0xc]
call fcn.004049e8
ret
Function at 0x433d24
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
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 [0x4a9b48], 0
je 0x433e7f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4a8b1c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x433e7f
mov eax, dword [0x4a9b4c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4a9b48]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x433e4e
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x4a9b48]
call fcn.0041a6ac
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x433e42
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x433e42
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x433e42
mov eax, dword [ebp - 0x14]
call fcn.0043f1c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x433e42
push ebp
call fcn.00433cd8
pop ecx
test al, al
jne 0x433e42
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x433dfe
mov eax, dword [ebp - 0x14]
call fcn.0043d5c8
dec eax
jle 0x433e42
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403e5c
cmp byte [ebp - 1], 0
je 0x433e42
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x433e42
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4a9b4c]
call fcn.004331a0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x433d90
mov eax, dword [0x4a9b4c]
cmp dword [eax + 8], 0
jle 0x433e66
mov eax, dword [0x4a9b4c]
call fcn.0043324c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x433e7f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00433b14
pop ecx
test al, al
jne 0x433e7f
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4384ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x43853f
mov eax, dword [ebp - 0x14]
call fcn.0045248c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43853f
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x43853f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x4386ce
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x438588
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x438588
mov eax, dword [ebp - 0x14]
call fcn.0045248c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4386c3
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x4386ce
jmp 0x4386c3
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x43869e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x43869e
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x4385cb
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x4385c5
sub eax, 3
je 0x4385c5
sub eax, 3
jne 0x4385cb
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x4385e2
dec eax
je 0x4385f9
dec eax
je 0x438620
dec eax
je 0x4385f9
jmp 0x43862d
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x4a8b1c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0045ded8
jmp 0x4386c3
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x438613
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403e5c
jmp 0x4386ce
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x4386c3
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x4386c3
mov eax, dword [0x4a9b04]
cmp byte [eax + 0x20], 0
je 0x4386c3
mov eax, dword [0x4a9b04]
cmp dword [eax + 0x1c], 0
je 0x4386c3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x4a9b04]
cmp eax, dword [edx + 0x1c]
jne 0x4386c3
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.004523a8
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.00403e5c
jmp 0x4386ce
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x4386c3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.00436620
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c93c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x43c95d
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x43c992
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x43c982
mov eax, dword [ebp - 4]
call fcn.0043afc0
test eax, eax
jne 0x43c982
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43cabc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043c310
jmp 0x43cabc
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x43cab5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0043f1c8
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.004383a0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043c93c
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0043f1c8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cabc
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret