joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405130
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0x4052c4
call sub.KERNEL32.DLL_lstrcpynA
mov esi, eax
test esi, esi
je 0x405198
push 0x4052d4
push esi
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
test ebx, ebx
je 0x405198
push 0x105
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call ebx
test eax, eax
je 0x405198
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x4052ba
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x4051d8
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x5c
jne 0x4052ba
mov eax, dword [ebp - 4]
add eax, 2
call fcn.0040511c
mov esi, eax
cmp byte [esi], 0
je 0x4052ba
lea eax, [esi + 1]
call fcn.0040511c
mov esi, eax
cmp byte [esi], 0
je 0x4052ba
jmp 0x4051de
mov esi, dword [ebp - 4]
add esi, 2
mov ebx, esi
sub ebx, dword [ebp - 4]
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x24f]
push eax
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x40529d
lea eax, [esi + 1]
call fcn.0040511c
mov edi, eax
mov eax, edi
sub eax, esi
mov edx, eax
add edx, ebx
inc edx
cmp edx, 0x105
jg 0x4052ba
inc eax
push eax
push esi
lea eax, [ebp - 0x24f]
add eax, ebx
push eax
call sub.KERNEL32.DLL_InterlockedIncrement
lea eax, [ebp - 0x14a]
push eax
lea eax, [ebp - 0x24f]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
mov esi, eax
cmp esi, 0xffffffff
je 0x4052ba
push esi
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0x11e]
push eax
call sub.KERNEL32.DLL_InterlockedDecrement
lea edx, [ebx + 1]
add eax, edx
inc eax
cmp eax, 0x105
jg 0x4052ba
mov byte [ebp + ebx - 0x24f], 0x5c
mov eax, 0x105
sub eax, ebx
dec eax
push eax
lea eax, [ebp - 0x11e]
push eax
lea eax, [ebp - 0x24f]
add eax, ebx
inc eax
push eax
call sub.KERNEL32.DLL_InterlockedIncrement
lea eax, [ebp - 0x11e]
push eax
call sub.KERNEL32.DLL_InterlockedDecrement
inc eax
add ebx, eax
mov esi, edi
cmp byte [esi], 0
jne 0x4051fc
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_InterlockedIncrement
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408620
Capabilities:
Get keyboard layout

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
jmp 0x408640
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x14]
push eax
call fcn.004060c8
test eax, eax
jne 0x408640
call fcn.00406168
jmp 0x40867f
mov eax, dword [ebx + 0x18]
and eax, dword [ebx + 0x10]
jne 0x408628
push esp
lea eax, [ebx + 0x2c]
push eax
call fcn.004060b0
push ebx
lea eax, [ebx + 2]
push eax
lea eax, [esp + 8]
push eax
call fcn.004060a8
mov eax, dword [ebx + 0x38]
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 8], eax
lea eax, [ebx + 0xc]
lea edx, [ebx + 0x44]
mov ecx, 0x104
call fcn.0040429c
xor eax, eax
pop ecx
pop edx
pop ebx
ret
Function at 0x4086d4
Capabilities:
Get keyboard layout

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x14]
push eax
call fcn.004060c8
test eax, eax
je 0x4086f1
mov eax, ebx
call fcn.00408620
pop ebx
ret
call fcn.00406168
pop ebx
ret

Function at 0x40b050
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
push 0
push 0x100
lea edx, [esp + 8]
push edx
push 0
push eax
push 0
push 0x3200
call fcn.004060d8
jmp 0x40b077
dec eax
test eax, eax
jle 0x40b089
mov dl, byte [esp + eax - 1]
sub dl, 0x21
jb 0x40b076
sub dl, 0xd
je 0x40b076
mov edx, esp
mov ecx, ebx
xchg ecx, eax
call fcn.0040411c
add esp, 0x100
pop ebx
ret

Function at 0x40b068
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
push 0
push 0x100
lea edx, [esp + 8]
push edx
push 0
push eax
push 0
push 0x3200
call fcn.004060d8
jmp 0x40b077
dec eax
test eax, eax
jle 0x40b089
mov dl, byte [esp + eax - 1]
sub dl, 0x21
jb 0x40b076
sub dl, 0xd
je 0x40b076
mov edx, esp
mov ecx, ebx
xchg ecx, eax
call fcn.0040411c
add esp, 0x100
pop ebx
ret

Function at 0x40c0a8
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 0x40c17e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004040c4
lea eax, [ebp - 8]
call fcn.0040453c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044ec
push eax
call fcn.00406340
mov ebx, eax
test ebx, ebx
je 0x40c168
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c161
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.004044ec
push eax
call fcn.00406338
test eax, eax
je 0x40c14b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c190
mov eax, dword [ebp - 0x10]
push eax
call fcn.00406348
test eax, eax
je 0x40c14b
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 0x40c168
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c185
lea eax, [ebp - 8]
call fcn.0040402c
ret
Function at 0x419c3c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 4], edx
call fcn.00406130
mov edx, dword [0x46166c]
cmp eax, dword [edx]
jne 0x419c63
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call dword [ebx + 8]
jmp 0x419d76
push 0
push 0
push 0xffffffffffffffff
push 0
call fcn.00406060
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x419d5e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x462868
call fcn.00406098
xor eax, eax
push ebp
push 0x419d40
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45e3e8], 0
jne 0x419cb3
mov dl, 1
mov eax, dword [0x411bd0]
call fcn.00403228
mov dword [0x45e3e8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc]
mov eax, dword [0x45e3e8]
call fcn.00413e5c
call fcn.004197d0
cmp word [0x45e3d6], 0
je 0x419ce6
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov eax, dword [0x45e3d8]
call dword [0x45e3d4]
push 0x462868
call fcn.00406230
xor eax, eax
push ebp
push 0x419d21
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call fcn.00406310
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419d28
push 0x462868
call fcn.00406098
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c508
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 0x41c50e
ret

Function at 0x41e290
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x14]
call fcn.0041da24
push eax
call fcn.00406550
mov eax, dword [ebx + 0x14]
call fcn.0041da24
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.004064d8
mov eax, dword [ebx + 0x14]
call fcn.0041db04
test al, al
jne 0x41e2e3
mov eax, dword [ebx + 0x14]
call fcn.0041d9e8
call fcn.0041cd64
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.004064e8
push 2
mov eax, dword [ebx + 4]
push eax
call fcn.004064f0
pop ebx
ret
mov eax, dword [ebx + 0x14]
call fcn.0041d9e8
call fcn.0041cd64
not eax
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.004064e8
push 1
mov eax, dword [ebx + 4]
push eax
call fcn.004064f0
pop ebx
ret

Function at 0x41e414
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor eax, eax
mov dword [ebp - 0x104], eax
xor eax, eax
push ebp
push 0x41e4b0
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00406168
mov ebx, eax
test ebx, ebx
je 0x41e492
push 0
push 0x100
lea eax, [ebp - 0x100]
push eax
push 0x400
push ebx
push 0
push 0x1000
call fcn.004060d8
test eax, eax
je 0x41e492
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, 0x100
call fcn.0040429c
mov ecx, dword [ebp - 0x104]
mov dl, 1
mov eax, dword [0x411b14]
call fcn.0040b858
call fcn.004039e4
jmp 0x41e497
call fcn.0041e3c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e4b7
lea eax, [ebp - 0x104]
call fcn.0040402c
ret
Function at 0x4276d0
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 0x427881
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004046dc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x427898
call fcn.00404338
mov eax, ebx
call fcn.0041a49c
mov edi, eax
dec edi
test edi, edi
jl 0x427788
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041a470
mov edx, dword [0x42eb6c]
call fcn.004033e4
test al, al
je 0x427784
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041a470
lea edx, [ebp - 0x14]
call fcn.004374f0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004046dc
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004043ac
inc esi
dec edi
jne 0x427736
mov al, byte [0x42789c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4278a8
mov eax, dword [ebp - 0xc]
call fcn.0040cc68
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004040c4
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.004374f0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x427898
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.004374f0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x427898
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, 0x427898
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, 0x4278b4
call fcn.00408fd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427888
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404050
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404050
lea eax, [ebp - 0x14]
call fcn.0040402c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404050
ret

Function at 0x458d74
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffe8
push esp
push 0x28
call fcn.00406120
push eax
call fcn.00406018
test eax, eax
je 0x458dc4
lea eax, [esp + 0xc]
push eax
push 0x458dc8
push 0
call fcn.00406010
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call fcn.00406008
add esp, 0x18
ret
Function at 0x45a904
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffcc
push esp
push 0x28
call fcn.00406120
push eax
call fcn.00406018
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45a926
mov eax, 0xfffffffe
jmp 0x45a99d
lea eax, [esp + 8]
push eax
push 0x45a9a4
push 0
call fcn.00406010
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45a948
mov eax, 0xfffffffd
jmp 0x45a99d
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 2
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
push 0x10
lea eax, [esp + 0x20]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call fcn.00406000
call fcn.00406168
test eax, eax
je 0x45a99b
mov eax, 0xfffffffc
jmp 0x45a99d
xor eax, eax
add esp, 0x34
ret
Function at 0x403078
Capabilities:
Query or enumerate registry value

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

Function at 0x403dd4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x473048], 0
je 0x403e35
cmp word [0x47321c], 0xd7b2
jne 0x403dfd
cmp dword [0x473224], 0
jbe 0x403dfd
mov eax, 0x473218
call dword [0x473234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x471074
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 0x403e5c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x471030], 0
jne 0x403e51
push 0
push 0x47106c
push 0x471074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405b04
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 0x405b6a
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.004041c0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b54
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b71
lea eax, [ebp - 0x10]
call fcn.00403f50
ret

Function at 0x40ac14
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 0x40ac4d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404040
jmp 0x40ac56
mov eax, ebx
mov edx, esi
call fcn.00403fa4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b308
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b180
mov eax, dword [0x472a94]
cmp byte [eax], 0
je 0x40b384
mov eax, dword [0x4728a8]
call fcn.004029a4
call fcn.00402824
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.00408488
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 0x40b3cc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b3ba
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x472850]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x473664]
call fcn.00405018
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 0x40bc20
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 0x40bcf6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403fe8
lea eax, [ebp - 8]
call fcn.00404460
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404410
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bce0
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bcd9
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.00404410
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bcc3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bd08
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bcc3
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 0x40bce0
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bcfd
lea eax, [ebp - 8]
call fcn.00403f50
ret

Function at 0x40c208
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 0x40c26c
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.004041c0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407fd0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c273
lea eax, [ebp - 0xc]
call fcn.00403f50
ret

Function at 0x41a51c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x473884
cmp dword [edi], 0
jne 0x41a598
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x473880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4713f4
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a4f4
lea eax, [esi + 5]
call fcn.0041a514
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a514
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 0x41a56d
mov dword [0x473880], 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 0x41bb24
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 0x41bb2a
ret
Function at 0x41e034
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 0x41e085
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e06c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e05c
jmp 0x41e085
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 0x41e06d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426fd8
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.00404400
xor eax, eax
push ebp
push 0x427106
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4270d9
xor eax, eax
push ebp
push 0x4270d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404210
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4270a7
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 0x427096
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404210
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404410
mov edx, ebx
pop ecx
call fcn.004028b8
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 0x42709d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4727f8]
mov dl, 1
mov eax, dword [0x406e54]
call fcn.0040b48c
call fcn.0040398c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42710d
lea eax, [ebp - 4]
call fcn.00403f50
ret