joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51c080
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x51c0b8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0051a10d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0051a0e5
jmp 0x51c0c4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x51d76e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x51d7b0
call fcn.005234b0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x51d7b0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x51d7a7
xor eax, eax
jmp 0x51d7b8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0051d7be
pop edi
pop esi
pop ebx
ret 4

Function at 0x5239e0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x523a0e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x523a2c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00523946
jmp 0x523a2c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x523a2c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00523946
test edi, edi
mov eax, edi
jne 0x523a16
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1002675
Capabilities:
Parse pe header

Disassembly:
push 0x18
push 0x1001500
call fcn.010035cc
mov edi, 0x94
mov eax, edi
call fcn.01003730
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 0x10]
mov dword [0x10085f8], eax
mov ecx, dword [esi + 4]
mov dword [0x1008604], ecx
mov edx, dword [esi + 8]
mov dword [0x1008608], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x10085fc], esi
cmp eax, 2
je 0x10026d5
or esi, 0x8000
mov dword [0x10085fc], esi
shl ecx, 8
add ecx, edx
mov dword [0x1008600], ecx
cmp word [0x1000000], 0x5a4d
jne 0x1002713
mov eax, dword [0x100003c]
cmp dword [eax + 0x1000000], 0x4550
jne 0x1002713
movzx ecx, word [eax + 0x1000018]
cmp ecx, 0x10b
je 0x100272c
cmp ecx, 0x20b
je 0x1002719
and dword [ebp - 0x1c], 0
jmp 0x1002743
cmp dword [eax + 0x1000084], 0xe
jbe 0x1002713
xor ecx, ecx
cmp dword [eax + 0x10000f8], ecx
jmp 0x100273d
cmp dword [eax + 0x1000074], 0xe
jbe 0x1002713
xor ecx, ecx
cmp dword [eax + 0x10000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
push 0
call fcn.01003570
pop ecx
test eax, eax
jne 0x1002770
cmp dword [0x10085e8], 2
je 0x100275d
call fcn.01002cbd
push 0x1c
call fcn.01002ad0
push 0xff
call fcn.0100292f
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.010033a0
test eax, eax
jge 0x1002785
push 0x1b
call fcn.01002646
pop ecx
call fcn.010032f0
mov dword [0x1009a50], eax
call fcn.01003151
mov dword [0x10085e4], eax
call fcn.010030b4
test eax, eax
jge 0x10027aa
push 8
call fcn.01002646
pop ecx
call fcn.01002e73
test eax, eax
jge 0x10027bb
push 9
call fcn.01002646
pop ecx
call fcn.01002989
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10027ce
push eax
call fcn.01002646
pop ecx
mov eax, dword [0x1008620]
mov dword [0x1008624], eax
push eax
push dword [0x1008614]
push dword [0x100860c]
call fcn.0100240f
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x1c], 0
jne 0x10027fe
push esi
call fcn.01002a69
call fcn.01002aa1
jmp 0x1002830
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x34]
call fcn.01003607
ret
Function at 0x402a04
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.00404050
test esi, esi
jne 0x402a3a
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.00404140
jmp 0x402a58
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402918
mov edi, eax
test esi, esi
je 0x402a58
cmp dword [ebx], 0
je 0x402a58
dec esi
jmp 0x402a41
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4030ec
Capabilities:
Query or enumerate registry value

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

Function at 0x403e50
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49404c], 0
je 0x403eb1
cmp word [0x494220], 0xd7b2
jne 0x403e79
cmp dword [0x494228], 0
jbe 0x403e79
mov eax, 0x49421c
call dword [0x494238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x49206c
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 0x403ed8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x492030], 0
jne 0x403ecd
push 0
push 0x492064
push 0x49206c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404004
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026dc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49404d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403fcc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406050
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 0x4060b6
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.004042c0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cb0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4060a0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4060bd
lea eax, [ebp - 0x10]
call fcn.00404050
ret

Function at 0x40b5a4
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 0x40b5dd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404140
jmp 0x40b5e6
mov eax, ebx
mov edx, esi
call fcn.004040a4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bc98
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bb10
mov eax, dword [0x493b40]
cmp byte [eax], 0
je 0x40bd14
mov eax, dword [0x493870]
call fcn.00402b1c
call fcn.00402844
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.00408dd0
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 0x40bd5c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bd4a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4937fc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x494668]
call fcn.00405564
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 0x40c5f8
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 0x40c6ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004040e8
lea eax, [ebp - 8]
call fcn.00404560
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404510
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c6b8
mov eax, ebx
call fcn.004026dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c6b1
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.00404510
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c69b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c6e0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c69b
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 0x40c6b8
mov eax, dword [ebp - 0x10]
call fcn.004026fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6d5
lea eax, [ebp - 8]
call fcn.00404050
ret

Function at 0x40cc54
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 0x40ccb8
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.004042c0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004087ec
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ccbf
lea eax, [ebp - 0xc]
call fcn.00404050
ret

Function at 0x41e748
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41e795
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0041e588
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41e7ad
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41e7b4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041e588
dec esi
jne 0x41e7d6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41f918
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49488c
cmp dword [edi], 0
jne 0x41f994
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x494888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4923fc
mov ecx, 2
call fcn.004028d8
mov edx, 0x41f8f0
lea eax, [esi + 5]
call fcn.0041f910
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f910
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 0x41f969
mov dword [0x494888], 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 0x420f20
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 0x420f26
ret

Function at 0x423790
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 0x4237e1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4237c8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4237b8
jmp 0x4237e1
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 0x4237c9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c748
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.00404500
xor eax, eax
push ebp
push 0x42c876
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42c849
xor eax, eax
push ebp
push 0x42c842
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404310
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42c817
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 0x42c806
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404310
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404510
mov edx, ebx
pop ecx
call fcn.004028d8
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 0x42c80d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x493778]
mov dl, 1
mov eax, dword [0x40755c]
call fcn.0040be1c
call fcn.00403a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c87d
lea eax, [ebp - 4]
call fcn.00404050
ret
Function at 0x42c884
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 0x42ca35
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404700
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42ca4c
call fcn.0040435c
mov eax, ebx
call fcn.0041eeac
mov edi, eax
dec edi
test edi, edi
jl 0x42c93c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041ee80
mov edx, dword [0x431b3c]
call fcn.00403408
test al, al
je 0x42c938
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041ee80
lea edx, [ebp - 0x14]
call fcn.0043a424
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404700
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004043d0
inc esi
dec edi
jne 0x42c8ea
mov al, byte [0x42ca50]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42ca5c
mov eax, dword [ebp - 0xc]
call fcn.0040d22c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004040e8
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.0043a424
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42ca4c
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.0043a424
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42ca4c
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, 0x42ca4c
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, 0x42ca68
call fcn.004094ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ca3c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404074
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404074
lea eax, [ebp - 0x14]
call fcn.00404050
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404074
ret
Function at 0x42f5c4
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.0042f208
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.00404510
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42f622
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x493a0c]
mov dl, 1
mov eax, dword [0x42f100]
call fcn.0040be58
call fcn.00403a08
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42f62c
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.00404510
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42f684
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x493cc8]
mov dl, 1
mov eax, dword [0x42f100]
call fcn.0040be58
call fcn.00403a08
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042f238
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 0x434b20
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 0x434a6c
call sub.user32.dll_EnumWindows
ret

Function at 0x434c40
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 0x434cbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004346a0
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 0x434c65
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004342a0
cmp dword [ebp - 4], 0
je 0x434ca7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404510
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 0x434cc4
lea eax, [ebp - 4]
call fcn.00404050
ret
Function at 0x437f74
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 [0x494b88], 0
je 0x4380c3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x493ab0]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4380c3
mov eax, dword [0x494b8c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x494b88]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x438092
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x494b88]
call fcn.00418118
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43808a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43808a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43808a
mov eax, dword [ebp - 0x14]
call fcn.00440c0c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43808a
push ebp
call fcn.00437f30
pop ecx
test al, al
jne 0x43808a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x438046
mov eax, dword [ebp - 0x14]
call fcn.0043f73c
dec eax
jle 0x43808a
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.00403478
cmp byte [ebp - 1], 0
je 0x43808a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43808a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x494b8c]
call fcn.004376fc
inc edi
dec ebx
jne 0x437fd9
mov eax, dword [0x494b8c]
cmp dword [eax + 8], 0
jle 0x4380aa
mov eax, dword [0x494b8c]
call fcn.0043778c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4380c3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00437d98
pop ecx
test al, al
jne 0x4380c3
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