joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402d10
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 0x19
add esp, 0xfffff004
push eax
dec eax
jne 0x402d1a
mov eax, dword [esp + 0x19000]
add esp, 0xfffffc00
mov ebp, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
push 0x402e48
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcpyA_1
mov edx, 0x402e4c
xor ecx, ecx
mov eax, ebx
call fcn.0040226c
cmp eax, 5
je 0x402d6d
push 0x402e50
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcpyA_1
push ebx
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcatA_1
mov edx, 0x402e58
lea eax, [esp + 4]
mov ecx, 2
call fcn.0040226c
test eax, eax
jne 0x402d9e
push 0x402e58
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcatA_1
push 0
push 0
push 0
push 0
push 0x402e5c
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push 0
push 0x80000000
push 0
push 0
lea eax, [esp + 0x14]
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
test edi, edi
jne 0x402dd2
test ebp, ebp
je 0x402e2e
push 0x19000
lea eax, [esp + 0x408]
push eax
call sub.kernel32.dll_RtlZeroMemory
push esp
push 0x19000
lea eax, [esp + 0x40c]
push eax
push esi
call sub.wininet.dll_InternetReadFile
cmp dword [esp], 0
jbe 0x402e2e
test edi, edi
je 0x402e14
mov eax, dword [esp]
push eax
lea eax, [esp + 0x408]
push eax
push edi
call sub.kernel32.dll_RtlMoveMemory
test ebp, ebp
je 0x402e2e
push 0
push 1
lea edx, [esp + 0x40c]
mov ecx, dword [esp + 8]
mov eax, ebp
call fcn.00402964
push esi
call sub.wininet.dll_InternetCloseHandle
push ebx
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [esp]
add esp, 0x19404
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x403fd0
Capabilities:
Log keystrokes via application hook
Set global application hook

Disassembly:
push ebx
push ecx
mov byte [esp], cl
mov ebx, edx
cmp al, 1
jne 0x403ff9
push 0
push 0x406b18
call sub.kernel32.dll_GetModuleHandleA
push eax
push 0x403f70
push 2
call sub.user32.dll_SetWindowsHookExA
mov dword [0x407124], eax
cmp bl, 1
jne 0x40401c
push 0
push 0x406b18
call sub.kernel32.dll_GetModuleHandleA
push eax
push 0x403f90
push 7
call sub.user32.dll_SetWindowsHookExA
mov dword [0x407128], eax
cmp byte [esp], 1
jne 0x404040
push 0
push 0x406b18
call sub.kernel32.dll_GetModuleHandleA
push eax
push 0x403fb0
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x40712c], eax
pop edx
pop ebx
ret

Function at 0x404250
Capabilities:
Create thread
Get common file path
Get hostname

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, 0x406708
call sub.kernel32.dll_GetCurrentProcess
mov dword [0x406700], eax
call sub.kernel32.dll_GetCurrentProcessId
mov dword [0x406704], eax
push 0x104
push ebx
call sub.kernel32.dll_GetSystemDirectoryA
push 0x404428
push ebx
call sub.kernel32.dll_lstrcatA
push ebx
push 0x40680c
call sub.kernel32.dll_lstrcpyA
push 0x40442c
push 0x40680c
call sub.kernel32.dll_lstrcatA
push ebx
push 0x406910
call sub.kernel32.dll_lstrcpyA
push 0x40443c
push 0x406910
call sub.kernel32.dll_lstrcatA
push ebx
push 0x406a14
call sub.kernel32.dll_lstrcpyA
push 0x40444c
push 0x406a14
call sub.kernel32.dll_lstrcatA
mov ecx, 0x406b18
mov eax, 0x40680c
xor edx, edx
call fcn.004024a8
mov ecx, 0x406c1c
xor edx, edx
mov eax, dword [0x406704]
call fcn.004025b4
mov ecx, 0x406c1c
mov eax, 0x406c1c
xor edx, edx
call fcn.004024a8
push 0x40445c
push 0x406d20
call sub.kernel32.dll_lstrcpyA
mov dword [esp], pe_nt_image_headers32
push esp
push 0x406e24
call sub.kernel32.dll_GetComputerNameA
push 0x40446c
push 0x406f24
call sub.kernel32.dll_lstrcpyA
push 0x404494
push 0x407024
call sub.kernel32.dll_lstrcpyA
xor eax, eax
mov dword [0x407124], eax
xor eax, eax
mov dword [0x407128], eax
xor eax, eax
mov dword [0x40712c], eax
mov eax, 0x407130
mov edx, 0x310
call fcn.00402064
mov eax, 0x407440
mov edx, 0x310
call fcn.00402064
push ebx
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcpyA
push 0x404498
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [esp + 4]
call fcn.00402730
push ebx
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcpyA
push 0x4044a8
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [esp + 4]
call fcn.00402904
push ebx
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcpyA
push 0x4044b8
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [esp + 4]
call fcn.00402904
push 0x406d20
push 0x406c1c
call sub.kernel32.dll_lstrcmpiA
test eax, eax
jne 0x40440a
push esp
push 0
push 0
push 0x403b18
push 0
push 0
call sub.kernel32.dll_CreateThread
jmp 0x40441d
push esp
push 0
push 0
push 0x4041dc
push 0
push 0
call sub.kernel32.dll_CreateThread
add esp, 0x108
pop ebx
ret
Function at 0x1006edf
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push 0
push 2
lea eax, [ebp - 4]
push eax
push 0x23
call dword [0x10014d8]
cmp byte [ebp - 4], 0
jne 0x1006f0a
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp byte [eax + 2], 0
je 0x1006f15
push 0x1006ece
call dword [0x1001224]
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp int.00401219
Function at 0x402e4c
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 0x402ea5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402ce8
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402ce8
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402e8f
inc ebx
jmp 0x402e78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402eac
lea eax, [ebp - 8]
call fcn.0040449c
ret

Function at 0x402eb4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040449c
test esi, esi
jne 0x402eeb
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.0040458c
jmp 0x402f0c
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402ce8
mov dword [esp], eax
test esi, esi
je 0x402f0c
cmp dword [ebx], 0
je 0x402f0c
dec esi
jmp 0x402ef3
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x40357c
Capabilities:
Query or enumerate registry value

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

Function at 0x404318
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46004c], 0
je 0x404379
cmp word [0x460220], 0xd7b2
jne 0x404341
cmp dword [0x460228], 0
jbe 0x404341
mov eax, 0x46021c
call dword [0x460238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45e06c
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 0x4043a0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45e030], 0
jne 0x404395
push 0
push 0x45e064
push 0x45e06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406368
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 0x4063ce
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.0040470c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403140
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4063b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4063d5
lea eax, [ebp - 0x10]
call fcn.0040449c
ret

Function at 0x40b6c4
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 0x40b6fd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040458c
jmp 0x40b706
mov eax, ebx
mov edx, esi
call fcn.004044f0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c73c
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 0x40c812
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404534
lea eax, [ebp - 8]
call fcn.004049ac
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040495c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c7fc
mov eax, ebx
call fcn.00402a88
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c7f5
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.0040495c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c7df
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c824
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c7df
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 0x40c7fc
mov eax, dword [ebp - 0x10]
call fcn.00402ab8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c819
lea eax, [ebp - 8]
call fcn.0040449c
ret
Function at 0x40cd78
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 0x40cddc
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.0040470c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408994
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cde3
lea eax, [ebp - 0xc]
call fcn.0040449c
ret

Function at 0x41e578
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x460888
cmp dword [edi], 0
jne 0x41e5f4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x460884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45e3fc
mov ecx, 2
call fcn.00402ca8
mov edx, 0x41e550
lea eax, [esi + 5]
call fcn.0041e570
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041e570
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 0x41e5c9
mov dword [0x460884], 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 0x41fb38
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 0x41fb3e
ret

Function at 0x421fbc
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 0x42200d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x421ff4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x421fe4
jmp 0x42200d
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 0x421ff5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bd10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403120
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x45f270]
cmp byte [edx + 0xc], 0
je 0x42bd74
mov edx, dword [0x45f264]
cmp dword [edx], 2
jne 0x42bd74
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x42bd78
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x42be30
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0042bd10
test al, al
je 0x42be12
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.0040458c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x42be12
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040495c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.0040495c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404694
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x42bdcb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42be37
lea eax, [ebp - 0x2c]
call fcn.0040449c
lea eax, [ebp - 0xc]
call fcn.0040449c
ret

Function at 0x42bf44
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0042ba90
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040495c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42bfa2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x45f068]
mov dl, 1
mov eax, dword [0x42b988]
call fcn.0040bf94
call fcn.00403eb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42bfac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040495c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42c004
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x45f27c]
mov dl, 1
mov eax, dword [0x42b988]
call fcn.0040bf94
call fcn.00403eb0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042bac0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4305fc
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 0x430548
call sub.user32.dll_EnumWindows
ret

Function at 0x43071c
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 0x430799
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043017c
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 0x430741
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042fd7c
cmp dword [ebp - 4], 0
je 0x430783
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040495c
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 0x4307a0
lea eax, [ebp - 4]
call fcn.0040449c
ret
Function at 0x433630
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 [0x460b58], 0
je 0x43377f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45f0e4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43377f
mov eax, dword [0x460b5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x460b58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43374e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x460b58]
call fcn.00417b48
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x433746
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x433746
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x433746
mov eax, dword [ebp - 0x14]
call fcn.0043c2c0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x433746
push ebp
call fcn.004335ec
pop ecx
test al, al
jne 0x433746
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x433702
mov eax, dword [ebp - 0x14]
call fcn.0043adb8
dec eax
jle 0x433746
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.00403918
cmp byte [ebp - 1], 0
je 0x433746
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x433746
mov edx, dword [ebp - 0x14]
mov eax, dword [0x460b5c]
call fcn.00432db8
inc edi
dec ebx
jne 0x433695
mov eax, dword [0x460b5c]
cmp dword [eax + 8], 0
jle 0x433766
mov eax, dword [0x460b5c]
call fcn.00432e48
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43377f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00433454
pop ecx
test al, al
jne 0x43377f
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 0x436d60
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 0x436dac
mov eax, esi
call fcn.0044c4fc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436dac
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x436dac
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 0x436eeb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x436dec
cmp eax, 0x108
ja 0x436dec
mov eax, esi
call fcn.0044c4fc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436ee2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x436eeb
jmp 0x436ee2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x436ecb
cmp eax, 0x20a
ja 0x436ecb
test byte [esi + 0x50], 0x80
jne 0x436e1e
sub eax, 0x203
je 0x436e1b
sub eax, 3
je 0x436e1b
sub eax, 3
jne 0x436e1e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x436e32
dec eax
je 0x436e47
dec eax
je 0x436e64
dec eax
je 0x436e47
jmp 0x436e6b
mov ecx, ebx
mov eax, dword [0x45f0e4]
mov eax, dword [eax]
mov edx, esi
call fcn.00455dc4
jmp 0x436ee2
cmp byte [esi + 0x5d], 1
jne 0x436e5d
mov eax, esi
mov si, 0xffed
call fcn.00403918
jmp 0x436eeb
or word [esi + 0x54], 1
jmp 0x436ee2
and word [esi + 0x54], 0xfffe
jmp 0x436ee2
mov eax, dword [0x460b14]
cmp byte [eax + 0x20], 0
je 0x436ee2
mov eax, dword [0x460b14]
cmp dword [eax + 0x1c], 0
je 0x436ee2
mov eax, dword [ebx]
mov edx, dword [0x460b14]
cmp eax, dword [edx + 0x1c]
jne 0x436ee2
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.0044c440
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.00403918
jmp 0x436eeb
cmp eax, 0xb00b
jne 0x436ee2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00435680
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