joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405e9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x394]
push eax
call fcn.00404a26
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x405ec2

Function at 0x406aa6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x406aff
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x406b04
jmp 0x406457
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x406b4b
lea eax, [ebp - 0x714]
push eax
call fcn.00404ac5
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00404a7a
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x406b56
jmp 0x406b5b
jmp 0x406457
Function at 0x401030
Capabilities:
Accept command line arguments
Get common file path
Set current directory

Disassembly:
sub esp, 0x22c
mov eax, dword [0x4183a0]
xor eax, esp
mov dword [esp + 0x228], eax
lea eax, [esp + 0x28]
push eax
push 0x200
mov dword [0x419640], 0x7d0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x4010ba
lea edx, [esp + 0x28]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x401070
lea ecx, [esp + 0x28]
push 0x5c
push ecx
call fcn.004039d0
add esp, 8
lea edx, [esp + 0x28]
push edx
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x4010ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x412240
call fcn.00403b4c
add eax, 0x40
push eax
call fcn.004039fd
add esp, 0xc
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov byte [esp + 8], al
mov al, 0x10
mov byte [esp + 9], al
mov byte [esp + 0x17], al
mov eax, dword [0x419648]
push eax
mov word [esp + 4], 0x28
mov word [esp + 6], 1
mov dword [esp + 8], 0x25
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [esp]
push ecx
push eax
mov dword [0x41964c], eax
call dword [sym.imp.GDI32.dll_ChoosePixelFormat]
lea edx, [esp]
push edx
push eax
mov eax, dword [0x41964c]
push eax
call dword [sym.imp.GDI32.dll_SetPixelFormat]
mov ecx, dword [0x41964c]
push ecx
call dword [sym.imp.OPENGL32.dll_wglCreateContext]
mov edx, dword [0x41964c]
push eax
push edx
mov dword [0x419650], eax
call dword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00403ced
add esp, 0x22c
ret
Function at 0x4019e0
Capabilities:
Terminate process

Disassembly:
push ecx
push ebp
mov ebp, ecx
push 0xde1
mov dword [esp + 8], ebp
call dword [sym.imp.OPENGL32.dll_glEnable]
push 0x1f03
call dword [sym.imp.OPENGL32.dll_glGetString]
test eax, eax
jne 0x401a0a
or eax, 0xffffffff
pop ebp
pop ecx
ret 0xc
push 0x41230c
push eax
call fcn.004043d0
add esp, 8
test eax, eax
jne 0x401a36
push 0x30
push 0x412304
push 0x4122d4
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.0040480c
push ebx
push esi
lea esi, [ebp + 0xb8]
push edi
mov ecx, esi
call fcn.004035b0
mov edi, dword [esp + 0x20]
cmp edi, 0x10
mov dword [ebp + 0xf4], edi
mov ecx, esi
jne 0x401a5e
push 0x4122bc
jmp 0x401a63
push 0x4122a8
push 0
call fcn.00403870
lea esi, [ebp + 0xd0]
mov ecx, esi
call fcn.004035b0
push 0x412298
push 0
mov ecx, esi
call fcn.00403870
mov ecx, ebp
call fcn.00403520
mov ecx, ebp
call fcn.00403180
cmp edi, 0x10
mov esi, dword [esp + 0x18]
jne 0x401aa3
shr esi, 1
mov edi, 0x20
push edi
mov edi, dword [esp + 0x20]
push edi
push esi
lea ecx, [ebp + 4]
call fcn.00403400
mov ecx, ebp
call fcn.00403190
shr esi, 1
shr edi, 1
xor ebx, ebx
add ebp, 0x18
cmp esi, 0x32
jle 0x401b03
cmp edi, 0x32
jle 0x401b03
push 0x1401
push 0x1908
push 0x8058
push edi
push esi
mov ecx, ebp
call fcn.00403300
lea eax, [esi + 1]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
lea eax, [edi + 1]
cdq
sub eax, edx
sar eax, 1
add ebx, 1
add ebp, 0x14
cmp ebx, 8
mov edi, eax
jl 0x401ac2
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax + 0xe8], ebx
pop ebx
mov dword [eax + 0xf0], 0x8ce0
xor eax, eax
pop ebp
pop ecx
ret 0xc

Function at 0x403090
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x411ddb
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4183a0]
xor eax, esp
mov dword [esp + 0xa8], eax
push esi
mov eax, dword [0x4183a0]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0xc], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0xbc], eax
mov byte [esi + 0x10], al
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x403133
cmp dword [esp + 0x20], 6
setae cl
mov byte [esi + 0x10], cl
mov ecx, esi
call fcn.00402f60
mov eax, esi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00403ced
add esp, 0xb8
ret
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0x412440
call fcn.00404b9d
push 0x415fb8
lea eax, [esp + 0x14]
push eax
call fcn.00404d09
int3

Function at 0x403ced
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4183a0]
jne 0x403cf7
repz ret
jmp fcn.00406ce6
Function at 0x40844e
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x418700]
je 0x408469
inc edi
cmp edi, 0x17
jb 0x40845a
cmp edi, 0x17
jae 0x4085e9
push ebp
push 3
call fcn.0040d735
cmp eax, 1
pop ecx
je 0x4085b5
push 3
call fcn.0040d735
test eax, eax
pop ecx
jne 0x40849d
cmp dword [0x4183f8], 1
je 0x4085b5
cmp ebx, 0xfc
je 0x4085e8
push 0x413060
mov ebx, 0x314
push ebx
mov ebp, 0x419ba8
push ebp
call fcn.0040a685
add esp, 0xc
test eax, eax
je 0x4084d3
push esi
push esi
push esi
push esi
push esi
call fcn.00404214
add esp, 0x14
push 0x104
mov esi, 0x419bc1
push esi
push 0
mov byte [0x419cc5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x408517
push 0x413048
push 0x2fb
push esi
call fcn.0040a685
add esp, 0xc
test eax, eax
je 0x408517
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00404214
add esp, 0x14
push esi
call fcn.004056f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40855c
push esi
call fcn.004056f0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x419ebc
push 0x413044
sub ecx, eax
push ecx
push eax
call fcn.0040d682
add esp, 0x14
test eax, eax
je 0x40855c
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00404214
add esp, 0x14
jmp 0x40855e
xor esi, esi
push 0x413040
push ebx
push ebp
call fcn.0040d611
add esp, 0xc
test eax, eax
je 0x40857e
push esi
push esi
push esi
push esi
push esi
call fcn.00404214
add esp, 0x14
push dword [edi*8 + 0x418704]
push ebx
push ebp
call fcn.0040d611
add esp, 0xc
test eax, eax
je 0x4085a0
push esi
push esi
push esi
push esi
push esi
call fcn.00404214
add esp, 0x14
push 0x12010
push 0x413018
push ebp
call fcn.0040d454
add esp, 0xc
jmp 0x4085e8
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4085e8
cmp ebp, 0xffffffff
je 0x4085e8
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x418704]
push dword [esi]
call fcn.004056f0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4010c8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x4010d3
jmp 0x401108
push 1
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x4080b0
call fcn.00404058
mov ecx, 0x4080b0
call fcn.004028b0
push eax
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
mov ecx, 0x4080b0
call fcn.004028b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ebp
ret

Function at 0x402a72
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4066b0
push 0x402bda
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x408144], 0xffffffff
or dword [0x408148], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x408104]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x408100]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x408140], eax
call fcn.00402bc7
cmp dword [0x408080], 0
jne 0x402af5
push 0x402bc4
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00402bac
push 0x408018
push 0x408014
call sub.MSVCRT.dll__initterm
mov eax, dword [0x4080fc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4080f8]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x408010
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.0040147d
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x402a78
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404518
test esi, esi
jne 0x402aae
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404608
jmp 0x402acc
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040298c
mov edi, eax
test esi, esi
je 0x402acc
cmp dword [ebx], 0
je 0x402acc
dec esi
jmp 0x402ab5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40307c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x487008], 0x8088405
inc edx
mov dword [ebx + 0x487008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x487024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4036c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4036a8
xor eax, eax
push ebp
push 0x4036a1
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 0x4036e4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4036a8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ax, word [0x487024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x487024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404394
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49004c], 0
je 0x4043f5
cmp word [0x490220], 0xd7b2
jne 0x4043bd
cmp dword [0x490228], 0
jbe 0x4043bd
mov eax, 0x49021c
call dword [0x490238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x487074
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 0x40441c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x487034], 0
jne 0x404411
push 0
push 0x48706c
push 0x487074
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret
Function at 0x405f18
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_1
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406148
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x405f9b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406148
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x405f9b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406164
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x406024
xor eax, eax
push ebp
push 0x40601d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405d60
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_1
test eax, eax
je 0x406002
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406184
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x406002
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 0x406024
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
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_1
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40613e
cmp byte [ebp - 0xd], 0
jne 0x40606b
cmp byte [ebp - 0x12], 0
je 0x40613e
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406084
dec ebx
cmp byte [ebx], 0x2e
je 0x406093
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406083
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40613e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4060d0
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 0x40613e
cmp byte [ebp - 0xd], 0
je 0x40613e
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 0x40613e
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 0x406810
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 0x406876
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_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404798
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403098
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406860
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40687d
lea eax, [ebp - 0x10]
call fcn.00404518
ret

Function at 0x40cc5c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x40cc95
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404608
jmp 0x40cc9e
mov eax, ebx
mov edx, esi
call fcn.0040456c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cca8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x40ccc9
mov al, byte [esp]
jmp 0x40cccb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40dcb0
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 0x40dd86
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004045b0
lea eax, [ebp - 8]
call fcn.00404a38
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004049e8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dd70
mov eax, ebx
call fcn.00402750
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dd69
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.004049e8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dd53
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dd98
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dd53
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 0x40dd70
mov eax, dword [ebp - 0x10]
call fcn.00402770
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd8d
lea eax, [ebp - 8]
call fcn.00404518
ret
Function at 0x40e36c
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 0x40e3d0
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404798
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.004093c4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e3d7
lea eax, [ebp - 0xc]
call fcn.00404518
ret

Function at 0x41faa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x490888
cmp dword [edi], 0
jne 0x41fb1c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x490884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x487404
mov ecx, 2
call fcn.0040294c
mov edx, 0x41fa78
lea eax, [esi + 5]
call fcn.0041fa98
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041fa98
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 0x41faf1
mov dword [0x490884], 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 0x421090
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 0x421096
ret

Function at 0x42352c
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 0x42357d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x423564
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x423554
jmp 0x42357d
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 0x423565
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c0b4
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.004049d8
xor eax, eax
push ebp
push 0x42c1e2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42c1b5
xor eax, eax
push ebp
push 0x42c1ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047e8
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42c183
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 0x42c172
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047e8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004049e8
mov edx, ebx
pop ecx
call fcn.0040294c
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 0x42c179
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x48f300]
mov dl, 1
mov eax, dword [0x407e08]
call fcn.0040d4d4
call fcn.00403f4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c1e9
lea eax, [ebp - 4]
call fcn.00404518
ret