joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402463
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0x18
mov eax, dword [0x427004]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esp + 0x20]
mov eax, ecx
mov ecx, dword [esp + 0x28]
push esi
push edi
mov edi, edx
mov dword [esp + 0xc], eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x10], ecx
push edx
xor esi, esi
lea edx, [esp + 0x18]
push edx
push esi
lea edx, [esp + 0x24]
mov dword [esp + 0x24], esi
push edx
push esi
push eax
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x40251c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40251c
mov eax, dword [esp + 0x18]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LocalAlloc]
add eax, eax
push eax
push 0x40
call ebp
mov dword [edi], eax
test eax, eax
je 0x40251b
mov eax, dword [esp + 0x18]
add eax, eax
push eax
push 0x40
call ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebx], eax
test eax, eax
je 0x402515
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
lea eax, [esp + 0x28]
push eax
push dword [edi]
push dword [esp + 0x24]
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, eax
test esi, esi
jne 0x40251b
push dword [ebx]
call ebp
mov dword [ebx], eax
push dword [edi]
call ebp
mov dword [edi], eax
pop ebp
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040358d
add esp, 0x18
ret

Function at 0x402530
Capabilities:
Terminate process

Disassembly:
call fcn.00402541
call fcn.004026be
mov ecx, eax
jmp 0x4025ad
push esi
mov esi, ecx
xor ecx, ecx
call fcn.0040262e
push 0
push 0x402622
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push dword [0x428564]
push 1
call fcn.00409a95
push eax
call fcn.0040a1fd
pop ecx
pop ecx
push eax
call fcn.0040a00e
pop ecx
pop ecx
push dword [0x42855c]
push 2
call fcn.00409a95
push eax
call fcn.0040a1fd
pop ecx
pop ecx
push eax
call fcn.0040a00e
pop ecx
pop ecx
push dword [0x428560]
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
cmp esi, 0xc000004b
pop esi
push 0
jne 0x40261b
call dword [sym.imp.KERNEL32.dll_ExitThread]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40b532
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40b571
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40b571
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40b571
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40b571
cmp dword [ecx + 0x74], 0xe
jbe 0x40b571
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40e0d2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41bedc
push 0x41bed4
push str.FlsAlloc
push 0x1f
call fcn.0040dfb0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40e106
push dword [ebp + 8]
mov ecx, esi
call dword [0x419214]
call esi
jmp 0x40e10c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x40e150
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41beec
push 0x41bee4
push str.FlsGetValue
push 0x21
call fcn.0040dfb0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40e187
push dword [ebp + 8]
mov ecx, esi
call dword [0x419214]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40e18f
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41bef4
push 0x41beec
push str.FlsSetValue
push 0x22
call fcn.0040dfb0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40e1c9
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x419214]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40f956
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x427004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40f9a1
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040faf1
test al, al
jne 0x40f99b
sub edx, 2
cmp edx, edi
jne 0x40f981
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40f9c3
lea eax, [edi + 2]
cmp edx, eax
je 0x40f9c3
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040f8a2
add esp, 0x10
jmp 0x40fabd
push esi
lea ecx, [ebp - 0x255]
call fcn.0040faf1
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40fa06
push dword [ebp - 0x25c]
jmp 0x40f9b3
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40fa43
cmp word [ebp - 0x226], 0
je 0x40fa64
cmp word [ebp - 0x226], ax
jne 0x40fa43
cmp word [ebp - 0x224], 0
je 0x40fa64
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040f8a2
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40fab0
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40fa1d
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40fa98
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40fabd
push 0x40f6d2
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00414250
add esp, 0x10
jmp 0x40fa8d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040358d
leave
ret

Function at 0x410578
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x410589
pop esi
ret
push ebx
push edi
push esi
call fcn.00410541
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040c97f
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4105b1
push ebx
push esi
push edi
call fcn.00405120
add esp, 0xc
push 0
call fcn.0040c945
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x410981
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004105c6
Function at 0x10001070
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [section..data]
push eax
call fcn.1001e160
add esp, 4
mov ecx, 0x10041cfc
call fcn.100058f0
cmp eax, 1
jne 0x10001098
mov eax, 1
jmp 0x100010ce
push 0x10037160
mov ecx, 0x10041cfc
call fcn.100052e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100010b7
push 1
call fcn.10028194
mov ecx, dword [ebp + 0x14]
push ecx
push 0x10037174
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10005e70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003605d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x40]
call fcn.10002940
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.1001e380
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1001e3c0
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x28]
call fcn.1001e3e0
mov eax, dword [ebp - 0x10]
push eax
call fcn.10028466
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x40]
call fcn.10005e00
push eax
lea ecx, [ebp - 0x40]
call fcn.10004440
push eax
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.1001e7a0
add esp, 0x10
test eax, eax
je 0x10005f18
push str.uncompress_failed
call fcn.10005ff0
add esp, 4
push 1
call fcn.10028194
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
je 0x10005f34
push str.if__origSize___out_len_
call fcn.10005ff0
add esp, 4
push 1
call fcn.10028194
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x6c]
call fcn.1001df60
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1002844b
add esp, 4
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp + 8]
call fcn.10002a90
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.10002f40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10002f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10002e70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10006030
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036085
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
push str.ababc1ab
lea ecx, [ebp - 0x48]
call fcn.10002770
mov dword [ebp - 4], 0
push 0x100372bc
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.10001530
add esp, 0xc
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x100060c1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10002e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10002e70
jmp 0x1000615d
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0x4550
je 0x100060f5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10002e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10002e70
jmp 0x1000615d
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x10006120
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10002e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10002e70
jmp 0x1000615d
lea ecx, [ebp - 0x30]
call fcn.10004af0
lea ecx, [ebp - 0x30]
call fcn.10004440
push eax
call fcn.100015c0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 4], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10002e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10002e70
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x1001e160
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100360e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push 0x100372f8
lea ecx, [ebp - 0x24]
call fcn.10002770
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x20
je 0x1001e1cd
push 0x100372fc
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.10001530
add esp, 0xc
mov byte [ebp - 4], 1
push 1
call fcn.10028194
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x24]
call fcn.1001e010
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10002e70
lea ecx, [ebp - 0x24]
call fcn.10004af0
lea ecx, [ebp - 0x24]
call fcn.10004440
push eax
call fcn.100015c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10002e70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x402f80
Capabilities:
Query or enumerate registry value

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

Function at 0x403cdc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45a048], 0
je 0x403d3d
cmp word [0x45a21c], 0xd7b2
jne 0x403d05
cmp dword [0x45a224], 0
jbe 0x403d05
mov eax, 0x45a218
call dword [0x45a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45806c
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 0x403d64
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x458030], 0
jne 0x403d59
push 0
push 0x458064
push 0x45806c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405344
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405574
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4053c7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405574
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4053c7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405590
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405450
xor eax, eax
push ebp
push 0x405449
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040518c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40542e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4055b0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40542e
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405450
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40556a
cmp byte [ebp - 0xd], 0
jne 0x405497
cmp byte [ebp - 0x12], 0
je 0x40556a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4054b0
dec ebx
cmp byte [ebx], 0x2e
je 0x4054bf
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4054af
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40556a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4054fc
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40556a
cmp byte [ebp - 0xd], 0
je 0x40556a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40556a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405c3c
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 0x405ca2
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.004040c8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b44
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405c8c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ca9
lea eax, [ebp - 0x10]
call fcn.00403e58
ret

Function at 0x40aecc
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 0x40af05
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f48
jmp 0x40af0e
mov eax, ebx
mov edx, esi
call fcn.00403eac
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b5c0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b438
mov eax, dword [0x4590f0]
cmp byte [eax], 0
je 0x40b63c
mov eax, dword [0x458f0c]
call fcn.004029b0
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.00408740
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 0x40b684
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b672
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x458ebc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45a664]
call fcn.00405150
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 0x40bed8
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 0x40bfae
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ef0
lea eax, [ebp - 8]
call fcn.00404368
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404318
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bf98
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bf91
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.00404318
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bf7b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bfc0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bf7b
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 0x40bf98
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bfb5
lea eax, [ebp - 8]
call fcn.00403e58
ret

Function at 0x40c4c0
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 0x40c524
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.004040c8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408244
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c52b
lea eax, [ebp - 0xc]
call fcn.00403e58
ret

Function at 0x41a780
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45a884
cmp dword [edi], 0
jne 0x41a7fc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45a880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4583ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a758
lea eax, [esi + 5]
call fcn.0041a778
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a778
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 0x41a7d1
mov dword [0x45a880], 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 0x41bd78
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 0x41bd7e
ret
Function at 0x41e214
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 0x41e265
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e24c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e23c
jmp 0x41e265
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 0x41e24d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426d4c
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.00404308
xor eax, eax
push ebp
push 0x426e7a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x426e4d
xor eax, eax
push ebp
push 0x426e46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404118
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x426e1b
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 0x426e0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404118
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404318
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 0x426e11
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x458e68]
mov dl, 1
mov eax, dword [0x406f84]
call fcn.0040b744
call fcn.00403894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426e81
lea eax, [ebp - 4]
call fcn.00403e58
ret