joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push edi
mov edi, dword [ebp + 0x14]
mov eax, edi
lea ebx, [edi + 0x10]
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x24], ebx
mov dword [ebx], 0
cmp dword [edi + 0x14], 0x10
jb 0x43845a
mov eax, dword [edi]
mov byte [eax], 0
lea eax, [ebp - 0x1c]
push eax
push dword [0x457338]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43856b
push esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, eax
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x4384b0
cmp eax, 2
jne 0x438563
test ecx, ecx
jne 0x438563
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
ja 0x4384d3
mov dword [ebx], eax
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x4384cd
mov ecx, dword [edi]
mov byte [ecx + eax], 0
jmp 0x4384df
sub eax, ecx
mov ecx, edi
push 0
push eax
call fcn.0041d650
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4384e9
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x438563
mov ecx, dword [edi + 0x14]
mov eax, edi
cmp ecx, 0x10
jb 0x438510
mov eax, dword [edi]
mov edx, dword [ebx]
lea ebx, [edx - 1]
add ebx, eax
mov eax, edi
cmp ecx, 0x10
jb 0x438520
mov eax, dword [edi]
sub ebx, eax
cmp edx, ebx
jb 0x43857e
mov eax, edx
mov edi, 1
sub eax, ebx
cmp eax, edi
cmovb edi, eax
mov dword [ebp - 0x20], edi
mov edi, dword [ebp + 0x14]
cmp ecx, 0x10
jb 0x438541
mov edi, dword [edi]
mov eax, dword [ebp - 0x24]
lea ecx, [edi + ebx]
mov edi, dword [ebp - 0x20]
sub edx, edi
mov dword [eax], edx
sub edx, ebx
inc edx
lea eax, [ecx + edi]
push edx
push eax
push ecx
call fcn.0040e97e
add esp, 0xc
mov byte [ebp - 0xd], 1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00409870
int3

Function at 0x438600
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
mov esi, dword [ebp + 8]
push esi
push str.Common_AppData
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00438420
add esp, 0x10
cmp dword [esi + 0x10], 0
je 0x43863b
push 0x13
push str._boost_interprocess
mov ecx, esi
call fcn.004023b0
pop esi
mov esp, ebp
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [ebp - 8]
call fcn.00434310
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.00434370
push 0x452a9c
lea eax, [ebp - 0x34]
push eax
call fcn.0040e96c
int3
Function at 0x4386b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446340
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
xorps xmm0, xmm0
xor esi, esi
push edi
movlpd qword [ebp - 0x30], xmm0
xor ebx, ebx
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], eax
mov edx, 0x459f4c
mov ecx, 1
xor eax, eax
lock cmpxchg dword [edx], ecx
cmp eax, 2
je 0x43889c
cmp eax, 3
je 0x43889c
cmp eax, 4
jne 0x438715
xor ecx, ecx
lock cmpxchg dword [edx], ecx
jmp 0x4386eb
cmp eax, 1
jne 0x43887f
test ebx, ebx
jne 0x438747
mov eax, dword [0x45a00c]
test eax, eax
jne 0x438738
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x48]
mov ecx, 1
cmp ecx, eax
sbb ebx, ebx
and ebx, 0xffffffe0
add ebx, 0x20
cmp ebx, 8
jb 0x438830
cmp ebx, 0x20
jae 0x43875a
pause
inc ebx
jmp 0x4386e6
jne 0x438815
push 7
call fcn.004380a0
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
call eax
push 9
call fcn.004380a0
add esp, 4
lea ecx, [ebp - 0x38]
push ecx
call eax
test eax, eax
jne 0x4387a0
mov ecx, dword [ebp - 0x18]
mov eax, 0xd1b71759
lea ecx, [ecx - 1]
mul ecx
mov eax, edx
shr eax, 0xd
jmp 0x4387d8
mov eax, dword [ebp - 0x18]
mov ecx, 0x5f5e100
push dword [ebp - 0x34]
mul ecx
push dword [ebp - 0x38]
mov edi, eax
mov esi, edx
push 0x38d7e
sub edi, 1
push 0xa4c67fff
sbb esi, 0
call fcn.0040cb60
add eax, 1
adc edx, 0
push edx
push eax
push esi
push edi
call fcn.0040cb60
push 8
lea esi, [eax + 1]
call fcn.004380a0
add esp, 4
lea ecx, [ebp - 0x28]
push ecx
call eax
test eax, eax
jne 0x438806
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
inc ebx
mov dword [ebp - 0x24], edi
jmp 0x4386e6
mov eax, dword [ebp - 0x28]
inc ebx
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
jmp 0x4386e6
test esi, esi
jne 0x438836
mov al, bl
and al, 1
je 0x438871
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x438830
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x4386e6
push 8
call fcn.004380a0
add esp, 4
lea ecx, [ebp - 0x30]
push ecx
call eax
test eax, eax
jne 0x43885a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
jmp 0x438860
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x14]
sbb ecx, edi
test ecx, ecx
jb 0x43881f
ja 0x43886f
cmp eax, esi
jb 0x43881f
xor esi, esi
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
jmp 0x4386e6
mov ecx, 0x459f50
mov dword [ebp - 4], 0
call fcn.00434870
mov eax, 2
mov ecx, 0x459f4c
xchg dword [ecx], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ae90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x43aec8
mov eax, dword [0x45a00c]
test eax, eax
jne 0x43aeb6
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x24]
mov ecx, 1
cmp ecx, eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
mov dword [ebx + 0xc], eax
cmp eax, 8
jb 0x43afbf
cmp eax, 0x20
jae 0x43aee0
pause
inc dword [ebx + 0xc]
pop ebx
mov esp, ebp
pop ebp
ret
jne 0x43afa4
push 7
call fcn.004380a0
add esp, 4
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
call eax
push 9
call fcn.004380a0
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
call eax
test eax, eax
jne 0x43af24
mov ecx, dword [ebp - 4]
mov eax, 0xd1b71759
lea ecx, [ecx - 1]
mul ecx
shr edx, 0xd
jmp 0x43af62
mov eax, dword [ebp - 4]
mov ecx, 0x5f5e100
push esi
push edi
push dword [ebp - 0x10]
mul ecx
push dword [ebp - 0x14]
mov edi, eax
mov esi, edx
push 0x38d7e
sub edi, 1
push 0xa4c67fff
sbb esi, 0
call fcn.0040cb60
add eax, 1
adc edx, 0
push edx
push eax
push esi
push edi
call fcn.0040cb60
pop edi
mov edx, eax
pop esi
lea eax, [edx + 1]
push 8
mov dword [ebx + 8], eax
call fcn.004380a0
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
call eax
test eax, eax
jne 0x43af91
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov dword [ebx], eax
inc dword [ebx + 0xc]
mov dword [ebx + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
inc dword [ebx + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 8], 0
jne 0x43afc7
and al, 1
je 0x43b002
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x43afbf
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebx + 0xc]
pop ebx
mov esp, ebp
pop ebp
ret
push 8
call fcn.004380a0
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
call eax
test eax, eax
jne 0x43afe5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
jmp 0x43afeb
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebx]
sbb ecx, dword [ebx + 4]
test ecx, ecx
jb 0x43afae
ja 0x43affb
cmp eax, dword [ebx + 8]
jb 0x43afae
mov dword [ebx + 8], 0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebx + 0xc]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43bec0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44661c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], 0
push 0x447e7d
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00402240
mov eax, dword [edi + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
test eax, eax
jne 0x43bf27
mov eax, dword [edi + 8]
test eax, eax
je 0x43bf48
push eax
call fcn.00440e20
mov edi, eax
add esp, 4
test edi, edi
je 0x43bf48
push edi
mov ecx, esi
call fcn.00402240
push edi
call dword [0x447550]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x43f970
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x444da0
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], 0
mov dword [ebx], vtable.libutilos::CJsonObject.0
call fcn.0043bd90
mov esi, dword [ebx + 0x2c]
push dword [esi + 4]
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 1
call fcn.0043fba0
mov eax, dword [ebx + 0x2c]
push 0x2c
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x2c]
mov dword [eax], esi
mov eax, dword [ebx + 0x2c]
mov dword [eax + 8], esi
mov dword [ebx + 0x30], 0
push dword [ebx + 0x2c]
call fcn.0040c60c
add esp, 8
lea ecx, [ebx + 0x24]
call fcn.0043ff60
push 0x18
push dword [ebx + 0x24]
call fcn.0040c60c
mov ecx, dword [ebx + 0x20]
add esp, 8
cmp ecx, 0x10
jb 0x43fa1b
mov eax, dword [ebx + 0xc]
inc ecx
cmp ecx, 0x1000
jb 0x43fa11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fa53
mov eax, edx
push ecx
push eax
call fcn.0040c60c
add esp, 8
test byte [ebp + 8], 1
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0xf
mov byte [ebx + 0xc], 0
je 0x43fa3e
push 0x34
push ebx
call fcn.0040c60c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [0x4475d8]
int3

Function at 0x4401b0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
cmp dword [0x4573cc], 0xffffffff
jne 0x4401fb
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push str.Debug
lea eax, [ebp - 0x100]
push str._s___Diagnostic_Console
push eax
call fcn.00419060
add esp, 0xc
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [0x4573cc], eax
mov esp, ebp
pop ebp
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0xf2a1018
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x21102b2
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x402818
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402847
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004034b0
jmp 0x402865
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004027ac
mov edi, eax
test ebx, ebx
je 0x402865
cmp dword [esi], 0
je 0x402865
dec ebx
jmp 0x40284e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x404228
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x404284
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_ReadFile
dec eax
pop eax
pop ecx
jne 0x404276
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x40426b
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x404266
mov eax, 0x64
jmp 0x40427b
call sub.kernel32.dll_GetLastError
call fcn.00402708
xor eax, eax
jmp 0x404266
mov eax, 0x67
jmp 0x40427b

Function at 0x40428c
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov eax, dword [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x4042e7
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_WriteFile
dec eax
pop eax
pop ecx
jne 0x4042d9
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x4042ce
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x4042c9
mov eax, 0x65
jmp 0x4042de
call sub.kernel32.dll_GetLastError
call fcn.00402708
xor eax, eax
jmp 0x4042c9
mov eax, 0x67
jmp 0x4042de

Function at 0x40432c
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x40436f
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x404366
push eax
push 1
push 0
push 0
push dword [ebx]
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x404366
pop edx
cmp eax, edx
setae al
pop ebx
ret
call fcn.00402718
mov al, 1
jmp 0x404364
mov eax, 0x67
call fcn.00402708
mov al, 0xff
jmp 0x404364

Function at 0x4043f8
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x404428
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x40441e
xor edx, edx
div dword [ebx + 8]
pop ebx
ret
call fcn.00402718
or eax, 0xffffffff
jmp 0x40441c
mov eax, 0x67
call fcn.00402708
or eax, 0xffffffff
jmp 0x40441c
Function at 0x404580
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, eax
mov ecx, dword [ebx + 4]
sub ecx, 0xd7b1
je 0x404593
sub ecx, 2
jne 0x4045bc
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_ReadFile
pop edx
dec eax
jne 0x4045b0
cmp edx, dword [ebx + 8]
jne 0x4045c3
pop ebx
ret
call sub.kernel32.dll_GetLastError
call fcn.00402708
jmp 0x4045ae
mov eax, 0x67
jmp 0x4045b5
mov eax, 0x64
jmp 0x4045b5

Function at 0x40488c
Capabilities:
Clear file content

Disassembly:
mov edx, dword [eax + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x4048a9
push dword [eax]
call sub.kernel32.dll_SetEndOfFile
dec eax
jne fcn.00402718
ret
mov eax, 0x67
jmp fcn.00402708

Function at 0x4066a4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004034b0
add esp, 0x104
pop ebx
ret

Function at 0x40787c
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
test eax, eax
jle 0x4078b5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004034b0
jmp 0x4078be
mov eax, ebx
mov edx, esi
call fcn.00403464
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4078c8
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
test eax, eax
jle 0x4078e9
mov al, byte [esp]
jmp 0x4078eb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x411610
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004033d0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x411671
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x411671
cmp byte [ebp - 0x102], 0
je 0x411671
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040352c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4128b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x24], 0
je 0x412931
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4128e2
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4128f4
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x412900
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.00412788
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x412925
push ebp
mov eax, dword [ebp - 4]
call fcn.00412824
pop ecx
mov ebx, eax
cmp bl, 2
je 0x412900
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41b3e4
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 0x41b3ea
ret
Function at 0x421d08
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a0650
cmp dword [edi], 0
jne 0x421d84
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [reloc.comctl32.dll_ImageList_GetDragImage]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x49e5b8
mov ecx, 2
call fcn.0040276c
mov edx, 0x421ce0
lea eax, [esi + 5]
call fcn.00421d00
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421d00
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 0x421d59
mov dword [reloc.comctl32.dll_ImageList_GetDragImage], 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 0x421e88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x421ed8]
test si, 4
je 0x421e9c
or bl, 1
test si, 8
je 0x421ea6
or bl, 4
test si, 1
je 0x421eb0
or bl, 8
test si, 2
je 0x421eba
or bl, 0x10
test si, 0x10
je 0x421ec4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x421ed3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x421edc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x421f14]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x421ef5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x421f04
or bl, 4
test esi, 0x20000000
je 0x421f0f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x425e18
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [reloc.user32.dll_CharLowerA]
cmp byte [eax + 0x7f], 0
jne 0x425e6b
cmp dword [reloc.comctl32.dll_ImageList_SetDragCursorImage], 0
jne 0x425e47
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x425dd4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [reloc.comctl32.dll_ImageList_SetDragCursorImage], eax
cmp dword [reloc.comctl32.dll_ImageList_DragMove], 0
jne 0x425e6b
push esp
push 0
push 0
push 0x425d84
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [reloc.comctl32.dll_ImageList_DragMove], eax
pop edx
ret

Function at 0x425e70
Capabilities:
Terminate thread

Disassembly:
cmp dword [reloc.comctl32.dll_ImageList_SetDragCursorImage], 0
je 0x425e84
mov eax, dword [reloc.comctl32.dll_ImageList_SetDragCursorImage]
push eax
call sub.user32.dll_UnhookWindowsHookEx
xor eax, eax
mov dword [reloc.comctl32.dll_ImageList_SetDragCursorImage], eax
cmp dword [reloc.comctl32.dll_ImageList_DragMove], 0
je 0x425ea1
push 0
mov eax, dword [reloc.comctl32.dll_ImageList_DragMove]
push eax
call sub.kernel32.dll_TerminateThread
xor eax, eax
mov dword [reloc.comctl32.dll_ImageList_DragMove], eax
ret
Function at 0x425f40
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x425f57
add esp, 0xfffffff0
call fcn.00402d00
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040f484
mov dl, 1
mov eax, 0x409554
call fcn.00402b00
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, 0x409554
call fcn.00402b00
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x3c], 0x80000018
mov dword [ebx + 0x54], 0x1f4
mov dword [ebx + 0x58], 0x32
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, 0x41b2dc
call fcn.004202e8
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x426098
mov eax, dword [0x4a0014]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00420674
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x427358
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a0014]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.004068c8
test eax, eax
je 0x426034
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00406734
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004068a8
test eax, eax
je 0x426048
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040352c
cmp byte [0x4a0034], 0
jne 0x426078
mov eax, ebx
call fcn.00426128
mov byte [ebx + 0x39], 1
mov byte [ebx + 0x3a], 1
cmp byte [ebp - 1], 0
je 0x426090
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426b30
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x7e], 0
je 0x426b62
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x20]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004034b0
jmp 0x426b6c
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.00403464
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x427530
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x427568
mov eax, esi
call fcn.00418c8c
test al, al
je 0x427568
mov eax, dword [ebx + 0x60]
call fcn.00418af4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x427568
push 0
mov eax, dword [ebx + 0x60]
call fcn.00418af4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret