joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b000
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x416230
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 8], 0
jmp 0x40b023
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x200
jae 0x40b049
push 0
call fcn.0040d170
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x414bf8]
push edx
call fcn.0040ac40
add esp, 0xc
jmp 0x40b01a
push 0
push 0
push 3
push 0
push 0
push accept
push 0x416018
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40b132
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40b128
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40b11e
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
jmp 0x40b0dd
mov eax, dword [ebp - 0x18]
add eax, 8
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jae 0x40b114
cmp dword [ebp - 0x1c], 0x200
jae 0x40b114
push 0
call fcn.0040d170
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
sub eax, dword [edx + ecx*8 + 4]
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax*8]
push edx
call fcn.0040ac40
add esp, 0xc
jmp 0x40b0cb
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0040a8f0
push 0
push 0
push 0
push 0x40b160
push 0
mov eax, dword [0x416a54]
push eax
call fcn.0040ce30
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x40ed9d
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x40edce
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x40edd5
cmp ebx, dword [ebp + 8]
jae 0x40edd5
xor eax, eax
jmp 0x40efbb
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x40ede6
xor eax, eax
inc eax
jmp 0x40efba
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40edf8
cmp ecx, edx
jae 0x40ee5c
cmp dword [eax + 4], 0
je 0x40ee01
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x40eded
cmp dword [ebp + 8], 0
je 0x40ee1b
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40ee5c
cmp eax, esi
jae 0x40ee5c
mov ecx, dword [0x416a78]
mov esi, ebx
and esi, 0xfffff000
xor eax, eax
test ecx, ecx
jle 0x40ee3d
cmp dword [eax*4 + 0x416a80], esi
je 0x40ee63
inc eax
cmp eax, ecx
jl 0x40ee2f
lea eax, [ebp + 8]
push eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push 0
push ebx
or edi, 0xffffffff
push edi
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
jl 0x40eed3
mov eax, dword [ebp + 8]
jmp 0x40eed5
xor eax, eax
jmp 0x40efba
test eax, eax
jle 0x40edde
xor edx, edx
mov ebx, 0x416ac0
inc edx
mov edi, ebx
xchg dword [edi], edx
test edx, edx
jne 0x40edde
cmp dword [eax*4 + 0x416a80], esi
je 0x40eeb2
lea eax, [ecx - 1]
test eax, eax
jl 0x40ee9f
cmp dword [eax*4 + 0x416a80], esi
je 0x40ee9b
dec eax
jns 0x40ee8f
test eax, eax
jge 0x40eeb0
cmp ecx, 0x10
jge 0x40eeab
inc ecx
mov dword [0x416a78], ecx
lea eax, [ecx - 1]
jmp 0x40eeb2
je 0x40eeca
xor edx, edx
test eax, eax
jl 0x40eeca
lea ecx, [edx*4 + 0x416a80]
mov edi, dword [ecx]
inc edx
cmp edx, eax
mov dword [ecx], esi
mov esi, edi
jle 0x40eeb8
xor eax, eax
xchg dword [ebx], eax
jmp 0x40edde
xor eax, eax
test eax, eax
je 0x40efb8
cmp dword [ebp - 8], 0x1000000
jne 0x40efb8
test byte [ebp - 0xc], 0xcc
je 0x40ef4a
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40efb8
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40efb8
cmp word [eax + 0x18], 0x10b
jne 0x40efb8
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40efb8
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x40ef4a
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x40ef4a
test byte [ecx + 0x27], 0x80
jne 0x40ee5c
xor eax, eax
inc eax
mov ecx, eax
mov edx, 0x416ac0
xchg dword [edx], ecx
test ecx, ecx
jne 0x40efba
mov ecx, dword [0x416a78]
test ecx, ecx
mov edx, ecx
jle 0x40ef79
lea eax, [ecx*4 + 0x416a7c]
cmp dword [eax], esi
je 0x40ef79
dec edx
sub eax, 4
test edx, edx
jg 0x40ef6d
test edx, edx
jne 0x40efaa
push 0xf
pop ebx
cmp ecx, ebx
jg 0x40ef86
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x40ef9e
lea eax, [edx*4 + 0x416a80]
mov edi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], esi
mov esi, edi
jle 0x40ef8c
cmp ecx, 0x10
jge 0x40efaa
inc ecx
mov dword [0x416a78], ecx
xor eax, eax
mov ecx, 0x416ac0
xchg dword [ecx], eax
jmp 0x40edde
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4034cc
Capabilities:
Query or enumerate registry value

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

Function at 0x404260
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x456048], 0
je 0x4042c1
cmp word [0x45621c], 0xd7b2
jne 0x404289
cmp dword [0x456224], 0
jbe 0x404289
mov eax, 0x456218
call dword [0x456234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45406c
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 0x4042e8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x454030], 0
jne 0x4042dd
push 0
push 0x454064
push 0x45406c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406064
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 0x4060ca
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.00404654
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403090
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4060b4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4060d1
lea eax, [ebp - 0x10]
call fcn.004043e4
ret

Function at 0x4088ac
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.004048a4
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x4088ce
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40b2dc
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 0x40b315
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044d4
jmp 0x40b31e
mov eax, ebx
mov edx, esi
call fcn.00404438
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b9e0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b848
mov eax, dword [0x455088]
cmp byte [eax], 0
je 0x40ba5c
mov eax, dword [0x454ea4]
call fcn.00402efc
call fcn.00402bb4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408acc
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
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 0x40baa4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ba92
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x454e54]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x456664]
call fcn.004054d0
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 0x40c300
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 0x40c3d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040447c
lea eax, [ebp - 8]
call fcn.004048f4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004048a4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c3c0
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c3b9
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.004048a4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c3a3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c3e8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c3a3
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 0x40c3c0
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c3dd
lea eax, [ebp - 8]
call fcn.004043e4
ret

Function at 0x40c944
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 0x40c9a8
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.00404654
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040852c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c9af
lea eax, [ebp - 0xc]
call fcn.004043e4
ret

Function at 0x41ac94
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x456884
cmp dword [edi], 0
jne 0x41ad10
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x456880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4543ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41ac6c
lea eax, [esi + 5]
call fcn.0041ac8c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041ac8c
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 0x41ace5
mov dword [0x456880], 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 0x41c284
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 0x41c28a
ret
Function at 0x4272bc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404894
xor eax, eax
push ebp
push 0x4273ec
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4273bf
xor eax, eax
push ebp
push 0x4273b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004046a4
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42738d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42737c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004046a4
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004048a4
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402c48
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 0x427383
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x454e00]
mov dl, 1
mov eax, dword [0x4073cc]
call fcn.0040bb64
call fcn.00403df8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4273f3
lea eax, [ebp - 4]
call fcn.004043e4
ret
Function at 0x4273fc
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 0x4275ad
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404a94
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4275c4
call fcn.004046f0
mov eax, ebx
call fcn.0041a228
mov edi, eax
dec edi
test edi, edi
jl 0x4274b4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041a1fc
mov edx, dword [0x42af88]
call fcn.004037f0
test al, al
je 0x4274b0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041a1fc
lea edx, [ebp - 0x14]
call fcn.004322e8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404a94
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404764
inc esi
dec edi
jne 0x427462
mov al, byte [0x4275c8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4275d4
mov eax, dword [ebp - 0xc]
call fcn.0040cf20
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0040447c
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.004322e8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4275c4
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 + 0x2f8]
call fcn.004322e8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4275c4
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, 0x4275c4
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, 0x4275e0
call fcn.004091d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4275b4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404408
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404408
lea eax, [ebp - 0x14]
call fcn.004043e4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404408
ret
Function at 0x4297bc
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.004048a4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x429814
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x455198]
mov dl, 1
mov eax, dword [0x429374]
call fcn.0040bba0
call fcn.00403df8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042947c
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 0x42ce3c
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 0x42cd88
call sub.user32.dll_EnumWindows
ret

Function at 0x42cf5c
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 0x42cfd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042c9bc
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 0x42cf81
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042c5bc
cmp dword [ebp - 4], 0
je 0x42cfc3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004048a4
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 0x42cfe0
lea eax, [ebp - 4]
call fcn.004043e4
ret
Function at 0x42fe34
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 [0x456b80], 0
je 0x42ff83
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x455028]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42ff83
mov eax, dword [0x456b84]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x456b80]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42ff52
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x456b80]
call fcn.00414264
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42ff4a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42ff4a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42ff4a
mov eax, dword [ebp - 0x14]
call fcn.00438ae4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42ff4a
push ebp
call fcn.0042fdf0
pop ecx
test al, al
jne 0x42ff4a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42ff06
mov eax, dword [ebp - 0x14]
call fcn.00437614
dec eax
jle 0x42ff4a
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.00403860
cmp byte [ebp - 1], 0
je 0x42ff4a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42ff4a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x456b84]
call fcn.0042f5bc
inc edi
dec ebx
jne 0x42fe99
mov eax, dword [0x456b84]
cmp dword [eax + 8], 0
jle 0x42ff6a
mov eax, dword [0x456b84]
call fcn.0042f64c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42ff83
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042fc58
pop ecx
test al, al
jne 0x42ff83
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 0x433568
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 0x4335b4
mov eax, esi
call fcn.00448d28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4335b4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4335b4
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 0x4336f3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4335f4
cmp eax, 0x108
ja 0x4335f4
mov eax, esi
call fcn.00448d28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4336ea
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4336f3
jmp 0x4336ea
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4336d3
cmp eax, 0x20a
ja 0x4336d3
test byte [esi + 0x50], 0x80
jne 0x433626
sub eax, 0x203
je 0x433623
sub eax, 3
je 0x433623
sub eax, 3
jne 0x433626
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43363a
dec eax
je 0x43364f
dec eax
je 0x43366c
dec eax
je 0x43364f
jmp 0x433673
mov ecx, ebx
mov eax, dword [0x455028]
mov eax, dword [eax]
mov edx, esi
call fcn.00452600
jmp 0x4336ea
cmp byte [esi + 0x5d], 1
jne 0x433665
mov eax, esi
mov si, 0xffed
call fcn.00403860
jmp 0x4336f3
or word [esi + 0x54], 1
jmp 0x4336ea
and word [esi + 0x54], 0xfffe
jmp 0x4336ea
mov eax, dword [0x456b3c]
cmp byte [eax + 0x20], 0
je 0x4336ea
mov eax, dword [0x456b3c]
cmp dword [eax + 0x1c], 0
je 0x4336ea
mov eax, dword [ebx]
mov edx, dword [0x456b3c]
cmp eax, dword [edx + 0x1c]
jne 0x4336ea
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.00448c6c
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.00403860
jmp 0x4336f3
cmp eax, 0xb00b
jne 0x4336ea
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00431e98
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