joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404900
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x118
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x15c]
movaps xmmword [ebp - 0x40], xmm0
push 0
push eax
movaps xmmword [ebp - 0x30], xmm0
call fcn.00415fc0
add esp, 0xc
mov dword [ebp - 0x160], 0x11c
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x404981
mov eax, 0x64
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414d4c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
sub esp, 0x18
mov ecx, esp
push 0x437444
call fcn.00413aa0
lea ecx, [ebp - 0x190]
call fcn.00402bc0
mov esi, eax
add esp, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x4049a8
mov esi, dword [esi]
sub esp, 0x18
mov ecx, esp
push 0x436d9c
call fcn.00413aa0
lea ecx, [ebp - 0x178]
call fcn.00402bc0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x4049cd
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x164]
mov esi, eax
cmp edx, 0x10
jb 0x404a18
mov ecx, dword [ebp - 0x178]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404a0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404ad9
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
cmp edx, 0x10
jb 0x404a69
mov ecx, dword [ebp - 0x190]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404a5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404ad9
push edx
push ecx
call fcn.004153be
add esp, 8
mov dword [ebp - 0x180], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
push eax
test esi, esi
je 0x404a90
call esi
jmp 0x404a96
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x15c], 6
jb 0x404ac7
mov ax, word [ebp - 0x40]
cmp ax, 9
jne 0x404ac0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00414d4c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test ax, ax
jne 0x404ac7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00414d4c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004199f4
int3

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

Disassembly:
cmp dword [ecx + 0x14], 0x10
jb 0x404b98
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x404bab
test al, 0x10
je 0x404bab
mov al, 1
ret
xor al, al
ret
Function at 0x405090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x140], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4050e0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.00413e00
mov ecx, 3
mov dword [ebp - 0x118], 0
cmp dword [ebp - 0x130], ecx
lea eax, [ebp - 0x140]
mov dword [ebp - 0x114], 0xf
cmovb ecx, dword [ebp - 0x130]
cmp dword [ebp - 0x12c], 0x10
push ecx
cmovae eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x128]
push eax
mov byte [ebp - 0x128], 0
call fcn.00413e00
sub esp, 0x18
mov ecx, esp
push 0x436d0c
call fcn.00413aa0
lea ecx, [ebp - 0x158]
call fcn.00402bc0
push eax
lea edx, [ebp - 0x128]
mov ecx, esi
call fcn.00413f50
mov edx, dword [ebp - 0x114]
add esp, 0x1c
cmp edx, 0x10
jb 0x4051af
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4051a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405247
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x405200
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4051f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405247
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x405236
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40522c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405247
push edx
push ecx
call fcn.004153be
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414d4c
mov esp, ebp
pop ebp
ret
call fcn.004199f4
int3
Function at 0x405250
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4052a0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.00413e00
sub esp, 0x18
mov ecx, esp
push 0x4372c4
call fcn.00413aa0
lea ecx, [ebp - 0x140]
call fcn.00402bc0
push eax
lea edx, [ebp - 0x128]
mov ecx, esi
call fcn.00413f50
mov edx, dword [ebp - 0x114]
add esp, 0x1c
cmp edx, 0x10
jb 0x40531d
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405313
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40537f
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x40536e
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405364
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40537f
push edx
push ecx
call fcn.004153be
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414d4c
mov esp, ebp
pop ebp
ret
call fcn.004199f4
int3

Function at 0x405390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4053e0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.00413e00
sub esp, 0x18
mov ecx, esp
push 0x4372c4
call fcn.00413aa0
lea ecx, [ebp - 0x140]
call fcn.00402bc0
push eax
lea edx, [ebp - 0x128]
mov ecx, esi
call fcn.00413f50
mov edx, dword [ebp - 0x114]
add esp, 0x1c
cmp edx, 0x10
jb 0x40545d
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405453
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4054bf
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x4054ae
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4054a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4054bf
push edx
push ecx
call fcn.004153be
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414d4c
mov esp, ebp
pop ebp
ret
call fcn.004199f4
int3
Function at 0x4054d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405520
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.00413e00
sub esp, 0x18
mov ecx, esp
push 0x4372c4
call fcn.00413aa0
lea ecx, [ebp - 0x140]
call fcn.00402bc0
push eax
lea edx, [ebp - 0x128]
mov ecx, esi
call fcn.00413f50
mov edx, dword [ebp - 0x114]
add esp, 0x1c
cmp edx, 0x10
jb 0x40559d
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405593
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055ff
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x4055ee
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4055e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055ff
push edx
push ecx
call fcn.004153be
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414d4c
mov esp, ebp
pop ebp
ret
call fcn.004199f4
int3
Function at 0x407240
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
cmp dword [0x4371b8], 0x10
mov eax, 0x4371a4
cmovae eax, dword [0x4371a4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40726c
ret
push 0
call fcn.004175bf
int3
Function at 0x408310
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x1c]
mov eax, edx
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x408347
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x18], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov word [eax + ecx], 0
jmp 0x40835a
sub esp, 8
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push ecx
lea ecx, [ebp + 8]
call fcn.00414420
mov edx, dword [ebp + 0x34]
mov eax, edx
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x408381
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov word [eax + ecx], 0
jmp 0x408394
sub esp, 8
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push ecx
lea ecx, [ebp + 0x20]
call fcn.00414420
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
xorps xmm0, xmm0
cmp dword [ebp + 0x34], 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, 0x610
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
push eax
movlpd qword [ebp - 0x12], xmm0
mov dword [ebp - 0xa], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
cmp edx, 0x10
jb 0x408413
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408409
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408466
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x408455
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40844b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408466
push edx
push ecx
call fcn.004153be
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00414d4c
mov esp, ebp
pop ebp
ret
call fcn.004199f4
int3
Function at 0x4138e0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x413800
push 0
push 0
call esi
push 0
push 0
push 0
push 0x413850
push 0
push 0
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0x7530
call esi
jmp 0x4138d0
push ebp
mov ebp, esp
and esp, 0xfffffff8
call fcn.00408e40
call fcn.00407240
mov ecx, 1
call fcn.00408a30
mov ecx, 1
call fcn.00408470
sub esp, 0x18
mov ecx, esp
call fcn.00405610
call fcn.00409460
add esp, 0x18
call fcn.00411180
jmp 0x4138a0
Function at 0x40331c
Capabilities:
Query or enumerate registry value

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

Function at 0x40407c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x457048], 0
je 0x4040dd
cmp word [0x45721c], 0xd7b2
jne 0x4040a5
cmp dword [0x457224], 0
jbe 0x4040a5
mov eax, 0x457218
call dword [0x457234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x456054
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 0x404104
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45601c], 0
jne 0x4040f9
push 0
push 0x456074
push 0x456054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409568
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 0x4095a1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042e8
jmp 0x4095aa
mov eax, ebx
mov edx, esi
call fcn.0040424c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x409c5c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409ad4
mov eax, dword [0x456ed0]
cmp byte [eax], 0
je 0x409cc4
mov eax, dword [0x456d24]
call fcn.00402c38
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004087a0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x409d0c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x409cfa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x456ce0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x457714]
call fcn.00405958
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 0x40a7d8
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 0x40a83c
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.00404460
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408434
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a843
lea eax, [ebp - 0xc]
call fcn.004041f8
ret
Function at 0x41c444
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x457a20
cmp dword [edi], 0
jne 0x41c4c0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x457a1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4564bc
mov ecx, 2
call fcn.004028c0
mov edx, 0x41c41c
lea eax, [esi + 5]
call fcn.0041c43c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c43c
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 0x41c495
mov dword [0x457a1c], 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 0x41d6a4
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 0x41d6aa
ret

Function at 0x41fae4
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 0x41fb35
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41fb1c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41fb0c
jmp 0x41fb35
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 0x41fb1d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a1b0
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 0x42a0fc
call sub.user32.dll_EnumWindows
ret

Function at 0x42a2d4
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 0x42a351
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00429d20
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 0x42a2f9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00429978
cmp dword [ebp - 4], 0
je 0x42a33b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004046a8
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 0x42a358
lea eax, [ebp - 4]
call fcn.004041f8
ret

Function at 0x42d33c
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 [0x457ba8], 0
je 0x42d48b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x456e7c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42d48b
mov eax, dword [0x457bac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x457ba8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42d45a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x457ba8]
call fcn.00413aa8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42d452
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42d452
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42d452
mov eax, dword [ebp - 0x14]
call fcn.00435e38
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42d452
push ebp
call fcn.0042d2f8
pop ecx
test al, al
jne 0x42d452
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42d40e
mov eax, dword [ebp - 0x14]
call fcn.004349cc
dec eax
jle 0x42d452
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.004036a0
cmp byte [ebp - 1], 0
je 0x42d452
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42d452
mov edx, dword [ebp - 0x14]
mov eax, dword [0x457bac]
call fcn.0042cac0
inc edi
dec ebx
jne 0x42d3a1
mov eax, dword [0x457bac]
cmp dword [eax + 8], 0
jle 0x42d472
mov eax, dword [0x457bac]
call fcn.0042cb50
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d48b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042d160
pop ecx
test al, al
jne 0x42d48b
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 0x430a38
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 0x430a84
mov eax, esi
call fcn.004468b8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430a84
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x430a84
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 0x430bc8
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x430ac4
cmp eax, 0x108
ja 0x430ac4
mov eax, esi
call fcn.004468b8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430bbf
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x430bc8
jmp 0x430bbf
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x430ba6
cmp eax, 0x20a
ja 0x430ba6
test byte [esi + 0x50], 0x80
jne 0x430af6
sub eax, 0x203
je 0x430af3
sub eax, 3
je 0x430af3
sub eax, 3
jne 0x430af6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x430b0a
dec eax
je 0x430b1f
dec eax
je 0x430b3f
dec eax
je 0x430b1f
jmp 0x430b46
mov ecx, ebx
mov eax, dword [0x456e7c]
mov eax, dword [eax]
mov edx, esi
call fcn.0044ff04
jmp 0x430bbf
cmp byte [esi + 0x5d], 1
jne 0x430b35
mov eax, esi
mov si, 0xffed
call fcn.004036a0
jmp 0x430bc8
or word [esi + 0x54], 1
jmp 0x430bbf
and word [esi + 0x54], 0xfffe
jmp 0x430bbf
mov eax, dword [0x457b64]
cmp byte [eax + 0x20], 0
je 0x430bbf
mov eax, dword [0x457b64]
cmp dword [eax + 0x1c], 0
je 0x430bbf
mov eax, dword [ebx]
mov edx, dword [0x457b64]
cmp eax, dword [edx + 0x1c]
jne 0x430bbf
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.004467fc
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.004036a0
jmp 0x430bc8
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x430bbf
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042f374
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