joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1315ad64
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1315850c
xor ebx, ebx
cmp dword [0x13185d4c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1315ae3a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1315af1a
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1315af1a
push eax
call fcn.1315849e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x13185d4c], eax
call esi
push eax
call fcn.1315849e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x13185d50], eax
call esi
push eax
call fcn.1315849e
mov dword [0x13185d54], eax
lea eax, [ebp - 0xc]
push eax
call fcn.13157741
test eax, eax
pop ecx
pop ecx
je 0x1315ae08
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.131597ea
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1315ae3a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1315849e
cmp eax, ebx
pop ecx
mov dword [0x13185d5c], eax
je 0x1315ae3a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1315849e
pop ecx
mov dword [0x13185d58], eax
mov eax, dword [0x13185d58]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1315aebf
cmp dword [0x13185d5c], ecx
je 0x1315aebf
push eax
call fcn.13158515
push dword [0x13185d5c]
mov esi, eax
call fcn.13158515
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1315aebf
cmp edi, ebx
je 0x1315aebf
call esi
cmp eax, ebx
je 0x1315ae8c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1315ae8c
test byte [ebp - 0x18], 1
jne 0x1315aebf
lea eax, [ebp - 0x10]
push eax
call fcn.13157778
test eax, eax
pop ecx
je 0x1315aea7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.131597ea
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1315aeb6
or dword [ebp + 0x10], 0x200000
jmp 0x1315aefa
or dword [ebp + 0x10], 0x40000
jmp 0x1315aefa
mov eax, dword [0x13185d50]
cmp eax, dword [ebp - 8]
je 0x1315aefa
push eax
call fcn.13158515
cmp eax, ebx
pop ecx
je 0x1315aefa
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1315aefa
mov eax, dword [0x13185d54]
cmp eax, dword [ebp - 8]
je 0x1315aefa
push eax
call fcn.13158515
cmp eax, ebx
pop ecx
je 0x1315aefa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x13185d4c]
call fcn.13158515
cmp eax, ebx
pop ecx
je 0x1315af1a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1315af1c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2581725d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x2581726c
pop dword [ebp - 0x44]
mov eax, 0x2581726c
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xfce9b7de
add dword [ebp - 0x54], 0x51688d6d
mov dword [ebp - 0x50], 0x1c68529c
add dword [ebp - 0x50], 0x15caf9a9
mov dword [ebp - 0x4c], 0xefc55943
add dword [ebp - 0x4c], 0x5c86eaeb
mov dword [ebp - 0x48], 0x3ff5fc0e
add dword [ebp - 0x48], 0xc00a03f2
lea eax, [ebp - 0x54]
push eax
mov eax, 0x1456e499
sub eax, 0xeed51455
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xbc389658
sub dword [ebp - 0x54], 0x47c62d02
mov dword [ebp - 0x50], 0xfdd99be6
sub dword [ebp - 0x50], 0xbc6d3a71
mov dword [ebp - 0x4c], 0x52db0d50
add dword [ebp - 0x4c], 0x10945f1c
mov dword [ebp - 0x48], 0x3e780a7b
add dword [ebp - 0x48], 0xc187f585
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x42159
push 0
call eax
mov ecx, 0x14b38b08
add ecx, 0xeb4cd1e9
xor ebx, ebx
add ebx, eax
mov esi, 0x67c9e726
add esi, 0xbdb8aeda
add esi, dword [ebp - 0x44]
mov edx, 0x6c42e6f1
add edx, 0xb0029efa
add dword [ebp - 0x30], ebx
mov edi, dword [esi]
sub dword [ebp - 0x28], 0xde0368dc
add edi, edx
add dword [ebp - 0x2c], edx
mov dword [ebx], edi
xor dword [ebp - 0x3c], 0xe4717235
add ebx, 0x9ae133b6
add ebx, 0x651ecc4e
add esi, 0xfe63a39
add esi, 0xf019c5cb
loop 0x25817386
add eax, 0xfc8fe7b4
add eax, 0x3717ee3
mov ebx, eax
add eax, 0xbd1f3de1
sub eax, 0xbd1f3ddc
mov ecx, 0x25800000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x402a0c
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.004040ec
test esi, esi
jne 0x402a42
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.004041dc
jmp 0x402a60
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402920
mov edi, eax
test esi, esi
je 0x402a60
cmp dword [ebx], 0
je 0x402a60
dec esi
jmp 0x402a49
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402cf4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x491008], 0x8088405
inc edx
mov dword [ebx + 0x491008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403170
Capabilities:
Query or enumerate registry value

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

Function at 0x403ecc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x493048], 0
je 0x403f2d
cmp word [0x49321c], 0xd7b2
jne 0x403ef5
cmp dword [0x493224], 0
jbe 0x403ef5
mov eax, 0x493218
call dword [0x493234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x491070
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 0x403f54
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x491034], 0
jne 0x403f49
push 0
push 0x491068
push 0x491070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4040a0
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.004026e4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x493049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404068
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405fd0
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 0x406036
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.0040435c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d10
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406020
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40603d
lea eax, [ebp - 0x10]
call fcn.004040ec
ret

Function at 0x408ad8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004045ac
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408af1
test al, 0x10
jne 0x408af5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b84c
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b885
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004041dc
jmp 0x40b88e
mov eax, ebx
mov edx, esi
call fcn.00404140
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bf40
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bdb8
mov eax, dword [0x492d9c]
cmp byte [eax], 0
je 0x40bfbc
mov eax, dword [0x492a94]
call fcn.00402b24
call fcn.0040284c
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.00408e88
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 0x40c004
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bff2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x492a2c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x493664]
call fcn.004054e4
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 0x40c858
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 0x40c92e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404184
lea eax, [ebp - 8]
call fcn.004045fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045ac
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c918
mov eax, ebx
call fcn.004026e4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c911
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.004045ac
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c8fb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c940
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c8fb
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 0x40c918
mov eax, dword [ebp - 0x10]
call fcn.00402704
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c935
lea eax, [ebp - 8]
call fcn.004040ec
ret

Function at 0x40cef8
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 0x40cf5c
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.0040435c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408714
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf63
lea eax, [ebp - 0xc]
call fcn.004040ec
ret

Function at 0x41bc5c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x493888
cmp dword [edi], 0
jne 0x41bcd8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x493884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x491470
mov ecx, 2
call fcn.004028e0
mov edx, 0x41bc34
lea eax, [esi + 5]
call fcn.0041bc54
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041bc54
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 0x41bcad
mov dword [0x493884], 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 0x41d284
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 0x41d28a
ret
Function at 0x41f720
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 0x41f771
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41f758
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41f748
jmp 0x41f771
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 0x41f759
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429334
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.0040459c
xor eax, eax
push ebp
push 0x429462
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x429435
xor eax, eax
push ebp
push 0x42942e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004043ac
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x429403
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 0x4293f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004043ac
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004045ac
mov edx, ebx
pop ecx
call fcn.004028e0
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 0x4293f9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x49297c]
mov dl, 1
mov eax, dword [0x407480]
call fcn.0040c0c4
call fcn.00403a84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429469
lea eax, [ebp - 4]
call fcn.004040ec
ret
Function at 0x429470
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 0x429621
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040479c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x429638
call fcn.004043f8
mov eax, ebx
call fcn.0041b1f0
mov edi, eax
dec edi
test edi, edi
jl 0x429528
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041b1c4
mov edx, dword [0x4303f8]
call fcn.00403484
test al, al
je 0x429524
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041b1c4
lea edx, [ebp - 0x14]
call fcn.00438660
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040479c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040446c
inc esi
dec edi
jne 0x4294d6
mov al, byte [0x42963c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x429648
mov eax, dword [ebp - 0xc]
call fcn.0040d4d0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404184
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.00438660
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x429638
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.00438660
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x429638
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, 0x429638
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, 0x429654
call fcn.0040958c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429628
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404110
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404110
lea eax, [ebp - 0x14]
call fcn.004040ec
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404110
ret
Function at 0x42eb1c
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.0042e898
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.004045ac
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42eb7a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x492c64]
mov dl, 1
mov eax, dword [0x42e7bc]
call fcn.0040c100
call fcn.00403a84
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Function at 0x432ff4
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 0x433071
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00432a54
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 0x433019
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00432654
cmp dword [ebp - 4], 0
je 0x43305b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004045ac
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 0x433078
lea eax, [ebp - 4]
call fcn.004040ec
ret
Function at 0x4361b0
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 [0x493b84], 0
je 0x4362ff
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x492cf8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4362ff
mov eax, dword [0x493b88]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x493b84]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4362ce
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x493b84]
call fcn.00414834
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4362c6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4362c6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4362c6
mov eax, dword [ebp - 0x14]
call fcn.0043ee48
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4362c6
push ebp
call fcn.0043616c
pop ecx
test al, al
jne 0x4362c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x436282
mov eax, dword [ebp - 0x14]
call fcn.0043d978
dec eax
jle 0x4362c6
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.004034f4
cmp byte [ebp - 1], 0
je 0x4362c6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4362c6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x493b88]
call fcn.00435938
inc edi
dec ebx
jne 0x436215
mov eax, dword [0x493b88]
cmp dword [eax + 8], 0
jle 0x4362e6
mov eax, dword [0x493b88]
call fcn.004359c8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4362ff
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00435fd4
pop ecx
test al, al
jne 0x4362ff
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 0x4398e0
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 0x43992c
mov eax, esi
call fcn.0044f534
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43992c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43992c
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 0x439a6b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43996c
cmp eax, 0x108
ja 0x43996c
mov eax, esi
call fcn.0044f534
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x439a62
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x439a6b
jmp 0x439a62
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x439a4b
cmp eax, 0x20a
ja 0x439a4b
test byte [esi + 0x50], 0x80
jne 0x43999e
sub eax, 0x203
je 0x43999b
sub eax, 3
je 0x43999b
sub eax, 3
jne 0x43999e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4399b2
dec eax
je 0x4399c7
dec eax
je 0x4399e4
dec eax
je 0x4399c7
jmp 0x4399eb
mov ecx, ebx
mov eax, dword [0x492cf8]
mov eax, dword [eax]
mov edx, esi
call fcn.00458de0
jmp 0x439a62
cmp byte [esi + 0x5d], 1
jne 0x4399dd
mov eax, esi
mov si, 0xffed
call fcn.004034f4
jmp 0x439a6b
or word [esi + 0x54], 1
jmp 0x439a62
and word [esi + 0x54], 0xfffe
jmp 0x439a62
mov eax, dword [0x493b40]
cmp byte [eax + 0x20], 0
je 0x439a62
mov eax, dword [0x493b40]
cmp dword [eax + 0x1c], 0
je 0x439a62
mov eax, dword [ebx]
mov edx, dword [0x493b40]
cmp eax, dword [edx + 0x1c]
jne 0x439a62
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.0044f478
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.004034f4
jmp 0x439a6b
cmp eax, 0xb00b
jne 0x439a62
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00438200
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