joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414549
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x421680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040d3e9
and dword [ebp - 0x14], 0
cmp dword [0x43c508], 0
mov dword [ebp - 0x18], eax
jne 0x4145fc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4146a4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4146a4
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43c508], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43c50c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43c510], eax
call edi
push eax
call esi
mov dword [0x43c518], eax
test eax, eax
je 0x4145fc
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43c514], eax
mov eax, dword [0x43c514]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x414655
cmp dword [0x43c518], ecx
je 0x414655
push eax
call esi
push dword [0x43c518]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x414655
test ebx, ebx
je 0x414655
call edi
test eax, eax
je 0x41464c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41464c
test byte [ebp - 8], 1
jne 0x414655
or dword [ebp + 0x10], 0x200000
jmp 0x414688
mov eax, dword [0x43c50c]
cmp eax, dword [ebp - 0x18]
je 0x414688
push eax
call esi
test eax, eax
je 0x414688
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x414688
mov eax, dword [0x43c510]
cmp eax, dword [ebp - 0x18]
je 0x414688
push eax
call esi
test eax, eax
je 0x414688
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43c508]
call esi
test eax, eax
je 0x4146a4
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4146a6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405074
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40645d
pop dword [ebp - 0x50]
mov eax, 0x40645d
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x12dac03d
sub dword [ebp - 0x60], 0xc4887af2
mov dword [ebp - 0x5c], 0x2a415c09
add dword [ebp - 0x5c], 0x7f1f03c
mov dword [ebp - 0x58], 0xa8723d94
sub dword [ebp - 0x58], 0x5c25f966
mov dword [ebp - 0x54], 0xa846332b
sub dword [ebp - 0x54], 0xa846332b
lea eax, [ebp - 0x60]
push eax
mov eax, 0xe550240a
sub eax, 0xe50fa392
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x2cb3e16f
sub dword [ebp - 0x60], 0xb8417819
mov dword [ebp - 0x5c], 0x341a6bce
add dword [ebp - 0x5c], 0xd51f5a7
mov dword [ebp - 0x58], 0x8eb27b2
add dword [ebp - 0x58], 0x5a8444ba
mov dword [ebp - 0x54], 0xf8e9b36c
sub dword [ebp - 0x54], 0xf8e9b36c
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x383ab
push 0
call eax
mov ecx, 0x4cb5
xor edi, edi
add edi, eax
mov esi, 0x7dae6c13
sub esi, 0x7d695813
add esi, dword [ebp - 0x50]
mov ebx, 0xc8276faa
add ebx, 0xb4803d72
sub dword [ebp - 0x44], 0xb99f47ed
mov edx, dword [esi]
mov dword [ebp - 0x20], 0xf01926bb
xor edx, ebx
xor dword [ebp - 0x4c], ebx
mov dword [edi], edx
sub dword [ebp - 0x1c], ecx
add edi, 4
add esi, 4
loop 0x406571
add eax, 0x74ad5fa4
sub eax, 0x74ac39fd
mov ebx, eax
add eax, 5
mov ecx, 0xebeca6e5
sub ecx, 0xebaca6e5
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x4068f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40240b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00407130
add esp, 4
or eax, 0xffffffff
jmp 0x40243a
mov ecx, dword [ebp - 4]
and ecx, 1
test ecx, ecx
je 0x402438
mov edx, dword [ebp + 0xc]
and edx, 2
test edx, edx
je 0x402438
mov dword [0x429c78], 0xd
mov dword [0x429c7c], 5
or eax, 0xffffffff
jmp 0x40243a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402fd8
Capabilities:
Read file on windows

Disassembly:
push ebx
xor ecx, ecx
mov ebx, eax
mov cx, word [eax + 4]
sub ecx, 0xd7b1
je 0x402fee
sub ecx, 2
jne 0x403010
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_ReadFile
pop edx
dec eax
jne 0x403017
cmp edx, dword [ebx + 8]
je 0x403021
mov eax, 0x64
jmp 0x40301c
mov eax, 0x67
jmp 0x40301c
call sub.kernel32.dll_GetLastError
call fcn.004028a4
pop ebx
ret

Function at 0x403418
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, eax
movzx eax, word [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x40344b
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_WriteFile
pop edx
dec eax
jne 0x403452
cmp edx, dword [ebx + 8]
je 0x40345c
mov eax, 0x65
jmp 0x403457
mov eax, 5
jmp 0x403457
call sub.kernel32.dll_GetLastError
call fcn.004028a4
mov eax, ebx
pop ebx
ret

Function at 0x403920
Capabilities:
Query or enumerate registry value

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

Function at 0x404698
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x470048], 0
je 0x4046f9
cmp word [0x47021c], 0xd7b2
jne 0x4046c1
cmp dword [0x470224], 0
jbe 0x4046c1
mov eax, 0x470218
call dword [0x470234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46e074
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 0x404720
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46e01c], 0
jne 0x404715
push 0
push 0x46e094
push 0x46e074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40ae8c
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 0x40aec5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404904
jmp 0x40aece
mov eax, ebx
mov edx, esi
call fcn.00404868
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b580
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b3f8
mov eax, dword [0x46f8e8]
cmp byte [eax], 0
je 0x40b5e8
mov eax, dword [0x46f730]
call fcn.00402cf0
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409084
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 0x40b630
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b61e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46f6f0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x470714]
call fcn.00405f64
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 0x40c3ac
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 0x40c410
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.00404a7c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408ce8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c417
lea eax, [ebp - 0xc]
call fcn.00404814
ret
Function at 0x41e15c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x470a20
cmp dword [edi], 0
jne 0x41e1d8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x470a1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46e518
mov ecx, 2
call fcn.004028e0
mov edx, 0x41e134
lea eax, [esi + 5]
call fcn.0041e154
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041e154
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 0x41e1ad
mov dword [0x470a1c], 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 0x41f67c
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 0x41f682
ret

Function at 0x421b14
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 0x421b65
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x421b4c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x421b3c
jmp 0x421b65
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 0x421b4d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43201c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404cb4
xor eax, eax
push ebp
push 0x43214a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43211d
xor eax, eax
push ebp
push 0x432116
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404acc
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4320eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4320da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404acc
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404cc4
mov edx, ebx
pop ecx
call fcn.004028e0
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4320e1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x46f6ac]
mov dl, 1
mov eax, dword [0x407b24]
call fcn.0040b6f0
call fcn.00404274
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432151
lea eax, [ebp - 4]
call fcn.00404814
ret
Function at 0x432158
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x432309
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404e6c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x432320
call fcn.00404b18
mov eax, ebx
call fcn.0041d6fc
mov edi, eax
dec edi
test edi, edi
jl 0x432210
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041d6d0
mov edx, dword [0x42b7b4]
call fcn.00403c34
test al, al
je 0x43220c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041d6d0
lea edx, [ebp - 0x14]
call fcn.00438c94
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404e6c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b8c
inc esi
dec edi
jne 0x4321be
mov al, byte [0x432324]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x432330
mov eax, dword [ebp - 0xc]
call fcn.0040c984
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004048ac
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00438c94
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x432320
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.00438c94
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x432320
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x432320
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x43233c
call fcn.004097f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432310
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404838
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404838
lea eax, [ebp - 0x14]
call fcn.00404814
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404838
ret

Function at 0x4338bc
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 0x433808
call sub.user32.dll_EnumWindows
ret
Function at 0x4339e0
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 0x433a5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043342c
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 0x433a05
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00433084
cmp dword [ebp - 4], 0
je 0x433a47
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404cc4
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 0x433a64
lea eax, [ebp - 4]
call fcn.00404814
ret

Function at 0x4367fc
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 [0x470bd4], 0
je 0x43694b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46f888]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43694b
mov eax, dword [0x470bd8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x470bd4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43691a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x470bd4]
call fcn.004157d8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x436912
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x436912
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x436912
mov eax, dword [ebp - 0x14]
call fcn.0043f314
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x436912
push ebp
call fcn.004367b8
pop ecx
test al, al
jne 0x436912
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4368ce
mov eax, dword [ebp - 0x14]
call fcn.0043dea8
dec eax
jle 0x436912
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.00403ca4
cmp byte [ebp - 1], 0
je 0x436912
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x436912
mov edx, dword [ebp - 0x14]
mov eax, dword [0x470bd8]
call fcn.00435f80
inc edi
dec ebx
jne 0x436861
mov eax, dword [0x470bd8]
cmp dword [eax + 8], 0
jle 0x436932
mov eax, dword [0x470bd8]
call fcn.00436010
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43694b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00436620
pop ecx
test al, al
jne 0x43694b
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 0x439f14
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 0x439f60
mov eax, esi
call fcn.0044f8dc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x439f60
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x439f60
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 0x43a0a4
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x439fa0
cmp eax, 0x108
ja 0x439fa0
mov eax, esi
call fcn.0044f8dc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43a09b
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x43a0a4
jmp 0x43a09b
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43a082
cmp eax, 0x20a
ja 0x43a082
test byte [esi + 0x50], 0x80
jne 0x439fd2
sub eax, 0x203
je 0x439fcf
sub eax, 3
je 0x439fcf
sub eax, 3
jne 0x439fd2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x439fe6
dec eax
je 0x439ffb
dec eax
je 0x43a01b
dec eax
je 0x439ffb
jmp 0x43a022
mov ecx, ebx
mov eax, dword [0x46f888]
mov eax, dword [eax]
mov edx, esi
call fcn.00458fa0
jmp 0x43a09b
cmp byte [esi + 0x5d], 1
jne 0x43a011
mov eax, esi
mov si, 0xffed
call fcn.00403ca4
jmp 0x43a0a4
or word [esi + 0x54], 1
jmp 0x43a09b
and word [esi + 0x54], 0xfffe
jmp 0x43a09b
mov eax, dword [0x470b90]
cmp byte [eax + 0x20], 0
je 0x43a09b
mov eax, dword [0x470b90]
cmp dword [eax + 0x1c], 0
je 0x43a09b
mov eax, dword [ebx]
mov edx, dword [0x470b90]
cmp eax, dword [edx + 0x1c]
jne 0x43a09b
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.0044f820
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.00403ca4
jmp 0x43a0a4
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x43a09b
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00438834
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