joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x404957
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405170
push 0x404ab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x406660], 0xffffffff
or dword [0x406664], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40665c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x406658]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x406668], eax
call fcn.00404aad
cmp dword [0x4065c8], 0
jne 0x4049da
push 0x404aaa
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00404a98
push 0x40600c
push 0x406008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x406654]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x406650]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___wgetmainargs]
push 0x406004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___winitenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call section..text
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x10004770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp eax, 0x52675ea0
mov eax, 0x4c68dc95
mov eax, ecx
cmp eax, 0x86b238b6
inc eax
nop
cmp eax, 0xdf5ae023
nop
mov eax, ebx
mov eax, ecx
mov eax, ebx
nop
mov eax, ecx
cmp eax, 0x4f
mov eax, ebx
cmp eax, 0x59
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp eax, 0x1dc93cbc
inc eax
mov eax, ebx
inc eax
cmp eax, 0x8f7f53e2
mov eax, ecx
cmp eax, 0x4f
mov eax, 0x11e27e59
mov eax, ebx
cmp eax, 0x32
inc eax
mov eax, ebx
nop
cmp eax, 0xa6b74e74
nop
nop
mov eax, ecx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0xb3ca3eaf
mov eax, ebx
nop
mov eax, ebx
cmp eax, 0x21c0d799
cmp eax, 0xffb56063
mov eax, 0xfe19c14f
nop
cmp eax, 0xffffffa3
mov eax, ebx
cmp eax, 0xffffffc6
cmp eax, 0x4c
mov eax, ebx
cmp eax, 0xfffffff6
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x1002beb4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, ebx
inc eax
inc eax
nop
mov eax, ebx
mov eax, ebx
cmp eax, 0x1686e61e
mov eax, 0xe8608c7f
mov eax, 0xe0ac6f4e
inc eax
mov eax, ebx
mov eax, ebx
inc eax
mov eax, 0x44cd2ea0
cmp eax, 0xb8ce4a6d
mov eax, ebx
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1003e22c], eax
mov eax, ebx
nop
mov eax, 0x737f6baa
mov eax, 0x1cc04cde
mov eax, ebx
mov eax, ecx
inc eax
inc eax
cmp eax, 0x4f
mov eax, 0x9c71255d
mov eax, 0x923b80e0
cmp eax, 0x69
inc eax
mov eax, ecx
inc eax
cmp eax, 0xffffffa4
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
jne 0x1000491f
push 0x41030
push str.DllWrap
push str.miss
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
inc eax
nop
cmp eax, 0x64eeef27
mov eax, ebx
mov eax, ecx
mov eax, ebx
cmp eax, 0x27e1ba
cmp eax, 8
mov eax, 0xe8390afe
inc eax
mov eax, ebx
nop
cmp eax, 0x7e
inc eax
cmp eax, 0x2a
cmp eax, 0x36
nop
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
je 0x10004931
mov dword [ebp - 4], 1
jmp 0x10004938
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x402a00
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404394
test esi, esi
jne 0x402a36
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404484
jmp 0x402a54
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402914
mov edi, eax
test esi, esi
je 0x402a54
cmp dword [ebx], 0
je 0x402a54
dec esi
jmp 0x402a3d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4034a0
Capabilities:
Query or enumerate registry value

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

Function at 0x404218
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x474048], 0
je 0x404279
cmp word [0x47421c], 0xd7b2
jne 0x404241
cmp dword [0x474224], 0
jbe 0x404241
mov eax, 0x474218
call dword [0x474234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x472054
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 0x4042a0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47201c], 0
jne 0x404295
push 0
push 0x472074
push 0x472054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40b460
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 0x40b499
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404484
jmp 0x40b4a2
mov eax, ebx
mov edx, esi
call fcn.004043e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bb54
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b9cc
mov eax, dword [0x4739e4]
cmp byte [eax], 0
je 0x40bbbc
mov eax, dword [0x473808]
call fcn.00402dbc
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408be8
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 0x40bc04
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bbf2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4737c0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x474714]
call fcn.00405b24
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 0x40c968
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 0x40c9cc
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.004045fc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004088ac
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c9d3
lea eax, [ebp - 0xc]
call fcn.00404394
ret
Function at 0x41e844
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x474a20
cmp dword [edi], 0
jne 0x41e8c0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x474a1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x472580
mov ecx, 2
call fcn.004028d4
mov edx, 0x41e81c
lea eax, [esi + 5]
call fcn.0041e83c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041e83c
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 0x41e895
mov dword [0x474a1c], 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 0x41fdcc
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 0x41fdd2
ret

Function at 0x422228
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 0x422279
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x422260
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x422250
jmp 0x422279
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 0x422261
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f8c4
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.00404834
xor eax, eax
push ebp
push 0x42f9f2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42f9c5
xor eax, eax
push ebp
push 0x42f9be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040464c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42f993
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 0x42f982
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040464c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404844
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 0x42f989
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x47376c]
mov dl, 1
mov eax, dword [0x4076ec]
call fcn.0040bd24
call fcn.00403df4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f9f9
lea eax, [ebp - 4]
call fcn.00404394
ret
Function at 0x42fa00
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 0x42fbb1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404a34
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42fbc8
call fcn.00404698
mov eax, ebx
call fcn.0041dde4
mov edi, eax
dec edi
test edi, edi
jl 0x42fab8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041ddb8
mov edx, dword [0x42beb0]
call fcn.004037b4
test al, al
je 0x42fab4
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041ddb8
lea edx, [ebp - 0x14]
call fcn.004367f0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404a34
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040470c
inc esi
dec edi
jne 0x42fa66
mov al, byte [0x42fbcc]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42fbd8
mov eax, dword [ebp - 0xc]
call fcn.0040cf40
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0040442c
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.004367f0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42fbc8
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.004367f0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42fbc8
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, 0x42fbc8
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, 0x42fbe4
call fcn.00409348
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fbb8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004043b8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004043b8
lea eax, [ebp - 0x14]
call fcn.00404394
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004043b8
ret

Function at 0x43113c
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 0x431088
call sub.user32.dll_EnumWindows
ret
Function at 0x431260
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 0x4312dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00430cac
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 0x431285
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00430904
cmp dword [ebp - 4], 0
je 0x4312c7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404844
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 0x4312e4
lea eax, [ebp - 4]
call fcn.00404394
ret

Function at 0x434358
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 [0x474bdc], 0
je 0x4344a7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x473988]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4344a7
mov eax, dword [0x474be0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x474bdc]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x434476
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x474bdc]
call fcn.00415da4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43446e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43446e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43446e
mov eax, dword [ebp - 0x14]
call fcn.0043ce70
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43446e
push ebp
call fcn.00434314
pop ecx
test al, al
jne 0x43446e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43442a
mov eax, dword [ebp - 0x14]
call fcn.0043ba04
dec eax
jle 0x43446e
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.00403824
cmp byte [ebp - 1], 0
je 0x43446e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43446e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x474be0]
call fcn.00433adc
inc edi
dec ebx
jne 0x4343bd
mov eax, dword [0x474be0]
cmp dword [eax + 8], 0
jle 0x43448e
mov eax, dword [0x474be0]
call fcn.00433b6c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4344a7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043417c
pop ecx
test al, al
jne 0x4344a7
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 0x437a70
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 0x437abc
mov eax, esi
call fcn.0044d8f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x437abc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x437abc
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 0x437c00
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x437afc
cmp eax, 0x108
ja 0x437afc
mov eax, esi
call fcn.0044d8f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x437bf7
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x437c00
jmp 0x437bf7
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x437bde
cmp eax, 0x20a
ja 0x437bde
test byte [esi + 0x50], 0x80
jne 0x437b2e
sub eax, 0x203
je 0x437b2b
sub eax, 3
je 0x437b2b
sub eax, 3
jne 0x437b2e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x437b42
dec eax
je 0x437b57
dec eax
je 0x437b77
dec eax
je 0x437b57
jmp 0x437b7e
mov ecx, ebx
mov eax, dword [0x473988]
mov eax, dword [eax]
mov edx, esi
call fcn.00456fc4
jmp 0x437bf7
cmp byte [esi + 0x5d], 1
jne 0x437b6d
mov eax, esi
mov si, 0xffed
call fcn.00403824
jmp 0x437c00
or word [esi + 0x54], 1
jmp 0x437bf7
and word [esi + 0x54], 0xfffe
jmp 0x437bf7
mov eax, dword [0x474b98]
cmp byte [eax + 0x20], 0
je 0x437bf7
mov eax, dword [0x474b98]
cmp dword [eax + 0x1c], 0
je 0x437bf7
mov eax, dword [ebx]
mov edx, dword [0x474b98]
cmp eax, dword [edx + 0x1c]
jne 0x437bf7
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.0044d834
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.00403824
jmp 0x437c00
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x437bf7
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00436390
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