joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f4614
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dd4
mov ebx, 0x5a4048
xor eax, eax
push ebp
push 0x4f468f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404be4
test eax, eax
jle 0x4f4679
mov edx, 1
mov cx, word [ebx]
and cx, 0xff
mov esi, dword [ebp - 4]
movzx esi, byte [esi + edx - 1]
xor cx, si
movzx ecx, cx
mov ecx, dword [ecx*4 + 0x5a0524]
mov esi, dword [ebx]
shr esi, 8
and esi, 0xffffff
xor ecx, esi
mov dword [ebx], ecx
inc edx
dec eax
jne 0x4f4649
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4696
lea eax, [ebp - 4]
call fcn.00404924
ret

Function at 0x4ffca0
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ebx, eax
mov dword [esp], 0xc
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 0xffffffff
lea esi, [ebx + 0x34]
push 0
lea eax, [esp + 4]
push eax
lea eax, [esi + 4]
push eax
mov edi, esi
push edi
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x4ffce3
mov edx, 0x4ffdc4
mov eax, ebx
call fcn.004ffc28
push 3
push 0xffffffffffffffff
push 0
push edi
call sub.kernel32.dll_GetCurrentProcess
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
jne 0x4ffd0e
mov edx, 0x4ffdec
mov eax, ebx
call fcn.004ffc28
lea esi, [ebx + 0x3c]
push 0
lea eax, [esp + 4]
push eax
lea eax, [esi + 4]
push eax
push esi
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x4ffd32
mov edx, 0x4ffe18
mov eax, ebx
call fcn.004ffc28
push 3
push 0xffffffffffffffff
push 0
lea eax, [esi + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
jne 0x4ffd61
mov edx, 0x4ffe44
mov eax, ebx
call fcn.004ffc28
lea esi, [ebx + 0x44]
push 0
lea eax, [esp + 4]
push eax
lea eax, [esi + 4]
push eax
push esi
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x4ffd85
mov edx, 0x4ffe70
mov eax, ebx
call fcn.004ffc28
push 3
push 0xffffffffffffffff
push 0
lea eax, [esi + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
jne 0x4ffdb4
mov edx, 0x4ffe9c
mov eax, ebx
call fcn.004ffc28
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x500844
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404dd4
xor eax, eax
push ebp
push 0x500953
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a0e70], 0
jne 0x500921
lea ecx, [ebp - 8]
mov edx, pe_nt_image_headers32
mov al, 0x20
call fcn.00404fd4
mov eax, dword [ebp - 8]
call fcn.00404de4
mov dword [ebp - 0xc], eax
push 0xff
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, 0x500968
mov eax, dword [ebp - 0xc]
call fcn.0040a0a4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5a0e70], eax
cmp dword [0x5a0e70], 0
jne 0x5008de
mov ecx, 0x50097c
mov dl, 1
mov eax, dword [0x40826c]
call fcn.0040d234
call fcn.00404294
push 0x5009b4
mov eax, dword [0x5a0e70]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
mov dword [0x5a4060], ebx
test ebx, ebx
jne 0x500910
mov ecx, 0x5009c8
mov dl, 1
mov eax, dword [0x40826c]
call fcn.0040d234
call fcn.00404294
push 0x5a0e6c
push 0x1c
push 0
push 0
call dword [0x5a4060]
mov eax, dword [ebp + 8]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.00404de4
push eax
push esi
call dword [0x5a4060]
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50095a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404948
ret
Function at 0x50c914
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dd4
xor eax, eax
push ebp
push 0x50c9e3
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0050c61c
xor eax, eax
push ebp
push 0x50c9be
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.004091e4
cmp dword [ebp - 0x44], 0
je 0x50c9ab
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403368
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x540
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, 0x50c9f0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
call fcn.00404de4
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50c9c5
call fcn.0050c634
ret

Function at 0x50c9f8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dd4
xor eax, eax
push ebp
push 0x50cab0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x43f4bc]
call fcn.0043f5f8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x50ca80
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.0043f6d4
xor ecx, ecx
mov edx, 0x50cac4
mov eax, dword [ebp - 0xc]
call fcn.0043f73c
test al, al
je 0x50ca6a
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0043f8d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ca87
mov eax, dword [ebp - 0xc]
call fcn.00403ab4
ret

Function at 0x50d120
Capabilities:
Shutdown system

Disassembly:
push ebx
mov ebx, eax
mov dl, 1
mov eax, 0x50d1b0
call fcn.0050d064
xor eax, eax
mov al, bl
cmp eax, 5
ja case.default.0x50d138
jmp dword [eax*4 + 0x50d13f]
mov eax, dword [0x5a214c]
mov eax, dword [eax]
call fcn.00489754
jmp case.default.0x50d138
push 0
push 9
call sub.user32.dll_ExitWindowsEx
jmp case.default.0x50d138
push 0
push 8
call sub.user32.dll_ExitWindowsEx
jmp case.default.0x50d138
push 0
push 2
call sub.user32.dll_ExitWindowsEx
jmp case.default.0x50d138
push 0
push 0
call sub.kernel32.dll_SetSystemPowerState
jmp case.default.0x50d138
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_SetSystemPowerState
xor edx, edx
mov eax, 0x50d1b0
call fcn.0050d064
pop ebx
ret
Function at 0x5137b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, dword [0x5a1a28]
xor edx, edx
push ebp
push 0x513caf
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, eax
mov dl, 1
mov eax, dword [0x43d830]
call fcn.0043d8e0
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x513c8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
push eax
lea eax, [ebp - 8]
push eax
mov ecx, 0x513cc4
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00404978
xor eax, eax
mov al, byte [ebx + 4]
push eax
mov ecx, 0x513ce8
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov byte [ebx + 4], al
mov al, byte [ebx + 5]
push eax
mov ecx, 0x513cf8
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 5], al
mov eax, dword [ebx + 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x513d14
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 8]
call fcn.00404978
mov eax, dword [ebx + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x513d28
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0xc]
call fcn.00404978
xor eax, eax
mov al, byte [ebx + 0x10]
push eax
mov ecx, 0x513d3c
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov byte [ebx + 0x10], al
mov al, byte [ebx + 0x11]
push eax
mov ecx, 0x513d50
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x11], al
xor eax, eax
mov al, byte [ebx + 0x12]
push eax
mov ecx, 0x513d6c
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov byte [ebx + 0x12], al
mov al, byte [ebx + 0x13]
push eax
mov ecx, 0x513d80
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x13], al
mov al, byte [ebx + 0x14]
push eax
mov ecx, 0x513d9c
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x14], al
mov eax, dword [ebx + 0x18]
push eax
mov ecx, 0x513dc0
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x1c]
push eax
mov ecx, 0x513de0
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x1c], eax
mov al, byte [ebx + 0x20]
push eax
mov ecx, 0x513e00
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x20], al
mov eax, dword [ebx + 0x24]
push eax
mov ecx, 0x513e20
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x28]
push eax
mov ecx, 0x513e38
mov edx, 0x513cd8
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x28], eax
mov al, byte [ebx + 0x2c]
push eax
mov ecx, 0x513e50
invalid
Function at 0x588f70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x588ffb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x37c]
call fcn.0044ea78
test eax, eax
je 0x588fe5
push 5
push 0
push 0
mov eax, dword [ebx + 0x37c]
call fcn.0044ea78
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
lea edx, [ebp - 4]
call fcn.0050ced4
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 0x37c]
call fcn.0044ea78
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 4]
pop eax
call fcn.00404bec
mov eax, dword [ebp - 4]
call fcn.00404de4
push eax
push 0
mov eax, dword [0x5a3668]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x589002
lea eax, [ebp - 4]
call fcn.00404924
ret

Function at 0x8c2135
Capabilities:
Encode data using xor

Disassembly:
push 0x8c1ea3
pop ebx
dec eax
call fcn.008c215f
sub esi, 0xecc4dec3
sub eax, eax
xor dword [ecx], ebx
dec esi
inc ecx
sub esi, esi
cmp ecx, edx
jne fcn.008c2135
inc eax
mov esi, eax
ret
Function at 0x10001240
Capabilities:
Create thread
Get common file path
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10004004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x10001400
sub eax, 1
jne 0x1000140c
push 0xfa
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movq xmm0, qword [0x10003244]
lea ecx, [ebp - 0x108]
add ecx, eax
mov ax, word [0x1000324c]
movq qword [ecx], xmm0
mov word [ecx + 8], ax
mov al, byte [0x1000324e]
mov byte [ecx + 0xa], al
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10004388], eax
test eax, eax
jne 0x100012d1
push 0x10
push str.SGPU
push str.Cannot_load_original_d3d9.dll_library
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10003278
push eax
call esi
push 0x1000328c
push dword [0x10004388]
mov dword [0x1000438c], eax
call esi
push 0x100032a0
push dword [0x10004388]
mov dword [0x10004390], eax
call esi
push 0x100032b4
push dword [0x10004388]
mov dword [0x10004394], eax
call esi
push 0x100032d0
push dword [0x10004388]
mov dword [0x10004398], eax
call esi
push 0x100032e4
push dword [0x10004388]
mov dword [0x1000439c], eax
call esi
push 0x100032f8
push dword [0x10004388]
mov dword [0x100043a0], eax
call esi
push 0x1000330c
push dword [0x10004388]
mov dword [0x100043a4], eax
call esi
push 0x1000331c
push dword [0x10004388]
mov dword [0x100043a8], eax
call esi
push 0x1000332c
push dword [0x10004388]
mov dword [0x100043ac], eax
call esi
push 0x10003358
push dword [0x10004388]
mov dword [0x100043b0], eax
call esi
push 0x10003368
push dword [0x10004388]
mov dword [0x100043b4], eax
call esi
push 0x1000337c
push dword [0x10004388]
mov dword [0x100043b8], eax
call esi
push 0x1000339c
push dword [0x10004388]
mov dword [0x100043bc], eax
call esi
push 0x100033a8
push dword [0x10004388]
mov dword [0x100043c0], eax
call esi
push 0
push 0
push 0
push 0x100010f0
push 0
push 0
mov dword [0x100043c4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
jmp 0x1000140c
push dword [0x10004388]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10001421
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403008
Capabilities:
Query or enumerate registry value

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

Function at 0x403d6c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47a04c], 0
je 0x403dcd
cmp word [0x47a220], 0xd7b2
jne 0x403d95
cmp dword [0x47a228], 0
jbe 0x403d95
mov eax, 0x47a21c
call dword [0x47a238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47806c
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 0x403df4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x478030], 0
jne 0x403de9
push 0
push 0x478064
push 0x47806c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405d3c
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 0x405da2
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.00404158
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402bcc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405d8c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405da9
lea eax, [ebp - 0x10]
call fcn.00403ee8
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004043a8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408651
test al, 0x10
jne 0x408655
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40afe4
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 0x40b01d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fd8
jmp 0x40b026
mov eax, ebx
mov edx, esi
call fcn.00403f3c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b6d8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b550
mov eax, dword [0x479b38]
cmp byte [eax], 0
je 0x40b754
mov eax, dword [0x479928]
call fcn.00402a38
call fcn.004028ac
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.00408824
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 0x40b79c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b78a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4798d4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47a668]
call fcn.00405234
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 0x40c044
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 0x40c11a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f80
lea eax, [ebp - 8]
call fcn.004043f8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043a8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c104
mov eax, ebx
call fcn.00402744
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c0fd
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.004043a8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c0e7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c12c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c0e7
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 0x40c104
mov eax, dword [ebp - 0x10]
call fcn.00402764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c121
lea eax, [ebp - 8]
call fcn.00403ee8
ret

Function at 0x40c62c
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 0x40c690
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.00404158
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408298
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c697
lea eax, [ebp - 0xc]
call fcn.00403ee8
ret

Function at 0x41def0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47a888
cmp dword [edi], 0
jne 0x41df6c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47a884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4783fc
mov ecx, 2
call fcn.00402940
mov edx, 0x41dec8
lea eax, [esi + 5]
call fcn.0041dee8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041dee8
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 0x41df41
mov dword [0x47a884], 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 0x41f5a0
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 0x41f5a6
ret
Function at 0x421a74
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 0x421ac5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x421aac
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x421a9c
jmp 0x421ac5
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 0x421aad
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42aec0
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.00404398
xor eax, eax
push ebp
push 0x42afee
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42afc1
xor eax, eax
push ebp
push 0x42afba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041a8
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42af8f
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 0x42af7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041a8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004043a8
mov edx, ebx
pop ecx
call fcn.00402940
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 0x42af85
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x479868]
mov dl, 1
mov eax, dword [0x40711c]
call fcn.0040b868
call fcn.00403924
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42aff5
lea eax, [ebp - 4]
call fcn.00403ee8
ret