joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40257d
Capabilities:
Check http status code
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push ebx
push esi
push edi
push 4
pop eax
xor ebx, ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x813]
mov byte [ebp - 0x814], bl
rep stosd dword es:[edi], eax
push dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x814]
mov dword [ebp - 8], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [esi], ebx
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x814]
pop ecx
push ebx
push 0x80000000
push ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x40264e
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea ecx, [ebp - 0xc]
push ebx
push ecx
lea ecx, [ebp - 8]
push ecx
push 0x20000013
push eax
call edi
test eax, eax
je 0x40264e
cmp dword [ebp - 8], 0xc8
jne 0x40264e
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x40264e
mov eax, dword [ebp - 4]
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
push dword [ebp - 4]
mov dword [esi], eax
push eax
push dword [ebp + 0xc]
call fcn.00402671
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x402651
mov eax, dword [esi]
mov byte [eax + edi], bl
jmp 0x402661
mov edi, dword [ebp - 0x10]
mov eax, dword [esi]
cmp eax, ebx
je 0x402661
push eax
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov dword [esi], ebx
push dword [ebp + 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402671
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
xor esi, esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 4]
test ecx, ecx
jbe 0x4026a0
add dword [ebp + 0xc], ecx
add esi, ecx
sub dword [ebp + 0x10], ecx
je 0x4026a8
test eax, eax
je 0x4026a8
test ecx, ecx
ja 0x40267c
mov eax, esi
pop esi
leave
ret
Function at 0x4026f7
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push edi
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 8], 0xbb8
push dword [ebp + 0xc]
mov byte [ebp - 1], bl
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
je 0x402777
push esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea eax, [ebp - 8]
push 4
push eax
push 2
push edi
call esi
lea eax, [ebp - 8]
push 4
push eax
push 5
push edi
call esi
lea eax, [ebp - 8]
push 4
push eax
push 6
push edi
call esi
lea eax, [ebp - 8]
push 4
push eax
push 8
push edi
call esi
push ebx
push 0x84200000
push ebx
push ebx
push dword [ebp + 8]
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp eax, ebx
je 0x402773
push eax
mov byte [ebp - 1], 1
call esi
push edi
call esi
pop esi
mov al, byte [ebp - 1]
pop edi
pop ebx
leave
ret

Function at 0x402833
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
and byte [ebp - 0x108], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
push dword [ebp + 0x10]
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004028df
pop ecx
and dword [ebp + 0x10], 0
lea ecx, [ebp + 0x10]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop edi
jne 0x4028b9
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x100
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
je 0x4028bd
xor al, al
leave
ret
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov al, 1
leave
ret
Function at 0x54cb2a
Capabilities:
Parse pe header

Disassembly:
jmp 0x57dd90
lea esp, [esp + 4]
jmp fcn.0057dbfa

Function at 0x54cb51
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x57dbdc
lea esp, [esp + 4]
jmp fcn.0057dd40

Function at 0x54f87c
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
jmp 0x54f8b4
jmp 0x54f898
lea esp, [esp + 4]
jmp 0x54f85f
jmp 0x54f8d0
jmp 0x54f8ec
push ebx
jmp 0x54f908
jmp 0x54f924
push ebp
jmp 0x54f940
jmp 0x54f95c
push esi
jmp 0x54f978
jmp 0x582c01
push edi
movzx edx, byte [eax]
shl edx, 8
jmp 0x58311b
movzx esi, byte [eax + 1]
xor edx, esi
movzx esi, byte [eax + 2]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 3]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 5]
mov dword [ecx], edx
movzx edx, byte [eax + 4]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 6]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 7]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 9]
mov dword [ecx + 4], edx
movzx edx, byte [eax + 8]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xa]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xb]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xd]
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0xc]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edx, 8
xor edx, esi
shl edx, 8
xor edx, eax
mov dword [ecx + 0xc], edx
mov eax, edx
shr eax, 0x10
mov esi, 0xff
and eax, esi
mov eax, dword [eax*4 + 0x5591fc]
xor eax, 0x1000000
mov edi, edx
shr edi, 8
and edi, esi
mov edi, dword [edi*4 + 0x5591fc]
and edi, 0xff0000
mov ebx, dword [ecx + 4]
and eax, 0xff000000
xor eax, edi
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi*4 + 0x5591fc]
xor eax, edi
mov edi, edx
and edi, esi
mov edi, dword [edi*4 + 0x5591fc]
mov ebp, 0xff00
and edi, ebp
xor eax, edi
xor eax, dword [ecx]
lea edi, [ecx + 0x10]
xor ebx, eax
mov dword [edi], eax
mov eax, dword [ecx + 8]
xor eax, ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], eax
xor edx, eax
mov dword [ecx + 0x1c], edx
call fcn.0056ff0e
mov eax, edi
mov edx, dword [eax + 0xc]
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, esi
mov ecx, dword [ecx*4 + 0x5591fc]
shr edi, 0x10
and edi, esi
mov edi, dword [edi*4 + 0x5591fc]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, esi
mov edx, dword [edx*4 + 0x5591fc]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x5591fc]
xor ecx, edi
and edx, ebp
xor ecx, edx
xor ecx, dword [ebx]
lea edi, [eax + 0x10]
xor ecx, dword [eax]
add ebx, 4
mov dword [edi], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x1c], edx
cmp ebx, 0x55aa24
jne 0x583216
push 0xa
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x56fe1e
Capabilities:
Encode data using xor

Disassembly:
push 0x16ffe8
call fcn.0056373b
imul ebp, esi, 0x7c
sbb esi, esi
pop ds
push ebp
fisttp qword [ebp + 0x14]
out 7, eax
test byte [0xb217e49d], cl

Function at 0x5711b5
Capabilities:
Enumerate pe sections

Disassembly:
call fcn.0054cb2a
jmp 0x54cb4c

Function at 0x572031
Capabilities:
Encode data using base64

Disassembly:
call 0x5509a1
jmp 0x550b7a
Function at 0x403404
Capabilities:
Query or enumerate registry value

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

Function at 0x40417c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x461048], 0
je 0x4041dd
cmp word [0x46121c], 0xd7b2
jne 0x4041a5
cmp dword [0x461224], 0
jbe 0x4041a5
mov eax, 0x461218
call dword [0x461234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45f054
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 0x404204
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45f01c], 0
jne 0x4041f9
push 0
push 0x45f074
push 0x45f054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409760
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 0x409799
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004043e8
jmp 0x4097a2
mov eax, ebx
mov edx, esi
call fcn.0040434c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x409e54
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409ccc
mov eax, dword [0x45ffa8]
cmp byte [eax], 0
je 0x409ebc
mov eax, dword [0x45fdf0]
call fcn.00402cd8
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408998
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 0x409f04
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x409ef2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45fdac]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x461714]
call fcn.00405a48
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 0x40a9f0
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 0x40aa54
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.00404560
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004085dc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40aa5b
lea eax, [ebp - 0xc]
call fcn.004042f8
ret
Function at 0x41c7b8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x461a20
cmp dword [edi], 0
jne 0x41c834
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x461a1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45f4bc
mov ecx, 2
call fcn.004028d4
mov edx, 0x41c790
lea eax, [esi + 5]
call fcn.0041c7b0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c7b0
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 0x41c809
mov dword [0x461a1c], 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 0x41dd18
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 0x41dd1e
ret

Function at 0x4201b0
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 0x420201
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4201e8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4201d8
jmp 0x420201
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 0x4201e9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d778
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.00404798
xor eax, eax
push ebp
push 0x42d8a6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42d879
xor eax, eax
push ebp
push 0x42d872
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004045b0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42d847
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 0x42d836
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004045b0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004047a8
mov edx, ebx
pop ecx
call fcn.004028d4
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 0x42d83d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x45fd60]
mov dl, 1
mov eax, dword [0x4075f0]
call fcn.00409fc4
call fcn.00403d58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d8ad
lea eax, [ebp - 4]
call fcn.004042f8
ret
Function at 0x42d8b4
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 0x42da65
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404950
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42da7c
call fcn.004045fc
mov eax, ebx
call fcn.0041bd58
mov edi, eax
dec edi
test edi, edi
jl 0x42d96c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041bd2c
mov edx, dword [0x4297bc]
call fcn.00403718
test al, al
je 0x42d968
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041bd2c
lea edx, [ebp - 0x14]
call fcn.00434a38
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404950
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404670
inc esi
dec edi
jne 0x42d91a
mov al, byte [0x42da80]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42da8c
mov eax, dword [ebp - 0xc]
call fcn.0040afc8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404390
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.00434a38
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42da7c
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.00434a38
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42da7c
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, 0x42da7c
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, 0x42da98
call fcn.004090f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42da6c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040431c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040431c
lea eax, [ebp - 0x14]
call fcn.004042f8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040431c
ret

Function at 0x42f384
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 0x42f2d0
call sub.user32.dll_EnumWindows
ret
Function at 0x42f4a8
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 0x42f525
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042eef4
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 0x42f4cd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042eb4c
cmp dword [ebp - 4], 0
je 0x42f50f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004047a8
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 0x42f52c
lea eax, [ebp - 4]
call fcn.004042f8
ret

Function at 0x4325a0
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 [0x461bd4], 0
je 0x4326ef
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45ff50]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4326ef
mov eax, dword [0x461bd8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x461bd4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4326be
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x461bd4]
call fcn.00413e1c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4326b6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4326b6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4326b6
mov eax, dword [ebp - 0x14]
call fcn.0043b0b8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4326b6
push ebp
call fcn.0043255c
pop ecx
test al, al
jne 0x4326b6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x432672
mov eax, dword [ebp - 0x14]
call fcn.00439c4c
dec eax
jle 0x4326b6
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.00403788
cmp byte [ebp - 1], 0
je 0x4326b6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4326b6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x461bd8]
call fcn.00431d24
inc edi
dec ebx
jne 0x432605
mov eax, dword [0x461bd8]
cmp dword [eax + 8], 0
jle 0x4326d6
mov eax, dword [0x461bd8]
call fcn.00431db4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4326ef
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004323c4
pop ecx
test al, al
jne 0x4326ef
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 0x435cb8
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 0x435d04
mov eax, esi
call fcn.0044bb7c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435d04
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x435d04
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 0x435e48
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x435d44
cmp eax, 0x108
ja 0x435d44
mov eax, esi
call fcn.0044bb7c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435e3f
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x435e48
jmp 0x435e3f
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x435e26
cmp eax, 0x20a
ja 0x435e26
test byte [esi + 0x50], 0x80
jne 0x435d76
sub eax, 0x203
je 0x435d73
sub eax, 3
je 0x435d73
sub eax, 3
jne 0x435d76
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x435d8a
dec eax
je 0x435d9f
dec eax
je 0x435dbf
dec eax
je 0x435d9f
jmp 0x435dc6
mov ecx, ebx
mov eax, dword [0x45ff50]
mov eax, dword [eax]
mov edx, esi
call fcn.004551b0
jmp 0x435e3f
cmp byte [esi + 0x5d], 1
jne 0x435db5
mov eax, esi
mov si, 0xffed
call fcn.00403788
jmp 0x435e48
or word [esi + 0x54], 1
jmp 0x435e3f
and word [esi + 0x54], 0xfffe
jmp 0x435e3f
mov eax, dword [0x461b90]
cmp byte [eax + 0x20], 0
je 0x435e3f
mov eax, dword [0x461b90]
cmp dword [eax + 0x1c], 0
je 0x435e3f
mov eax, dword [ebx]
mov edx, dword [0x461b90]
cmp eax, dword [edx + 0x1c]
jne 0x435e3f
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.0044bac0
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.00403788
jmp 0x435e48
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x435e3f
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004345d8
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