joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53f462
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00532107
xor ebx, ebx
cmp dword [0x5c9608], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x53f538
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x53f618
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x568e4c
push edi
call esi
cmp eax, ebx
je 0x53f618
push eax
call fcn.00532099
mov dword [esp], 0x568e3c
push edi
mov dword [0x5c9608], eax
call esi
push eax
call fcn.00532099
mov dword [esp], 0x568e28
push edi
mov dword [0x5c960c], eax
call esi
push eax
call fcn.00532099
mov dword [0x5c9610], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00530624
test eax, eax
pop ecx
pop ecx
je 0x53f506
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0052a80f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x53f538
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00532099
cmp eax, ebx
pop ecx
mov dword [0x5c9618], eax
je 0x53f538
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00532099
pop ecx
mov dword [0x5c9614], eax
mov eax, dword [0x5c9614]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x53f5bd
cmp dword [0x5c9618], ecx
je 0x53f5bd
push eax
call fcn.00532110
push dword [0x5c9618]
mov esi, eax
call fcn.00532110
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x53f5bd
cmp edi, ebx
je 0x53f5bd
call esi
cmp eax, ebx
je 0x53f58a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x53f58a
test byte [ebp - 0x18], 1
jne 0x53f5bd
lea eax, [ebp - 0x10]
push eax
call fcn.0053065b
test eax, eax
pop ecx
je 0x53f5a5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0052a80f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x53f5b4
or dword [ebp + 0x10], 0x200000
jmp 0x53f5f8
or dword [ebp + 0x10], 0x40000
jmp 0x53f5f8
mov eax, dword [0x5c960c]
cmp eax, dword [ebp - 8]
je 0x53f5f8
push eax
call fcn.00532110
cmp eax, ebx
pop ecx
je 0x53f5f8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x53f5f8
mov eax, dword [0x5c9610]
cmp eax, dword [ebp - 8]
je 0x53f5f8
push eax
call fcn.00532110
cmp eax, ebx
pop ecx
je 0x53f5f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5c9608]
call fcn.00532110
cmp eax, ebx
pop ecx
je 0x53f618
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x53f61a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x547fc5
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x5bc9cc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00547f04
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0052d8f0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x548014
cmp dword [ebp - 0x1c], 5
jb 0x54802c
jmp 0x548028
cmp dword [ebp - 0x10], 1
jne 0x54802c
cmp dword [ebp - 0x1c], 4
ja 0x548028
jne 0x54802c
cmp dword [ebp - 0x18], 0
jbe 0x54802c
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x56afa0
call fcn.00547d9a
test eax, eax
jge 0x54804d
mov byte [0x5c9fdc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0052944d
add ebp, 0x78
leave
ret
Function at 0x5e0da0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x42266e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x42bb54]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], 0x426ae4
lea eax, [esi + 0x64]
mov dword [esp + 0x20], 4
call fcn.005e0210
cmp dword [0x42fb38], 0
mov dword [esp + 0x10], 0
je 0x5e0e6e
mov ecx, dword [0x42669c]
mov edx, dword [0x4266a0]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x4266a4]
mov dword [eax + 4], edx
mov edx, dword [0x4266a8]
push 4
mov dword [eax + 8], ecx
push 2
push 0
lea ecx, [esp + 0x2c]
mov dword [eax + 0xc], edx
call fcn.005e1a20
add esp, 0x1c
cmp dword [0x42fb38], 0
je 0x5e0e6e
mov ecx, dword [0x42669c]
mov edx, dword [0x4266a0]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x4266a4]
mov dword [eax + 4], edx
mov edx, dword [0x4266a8]
push 0
mov dword [eax + 8], ecx
push 2
push 2
xor ecx, ecx
mov dword [eax + 0xc], edx
call fcn.005e1a20
add esp, 0x1c
mov edi, dword [esi + 0x53c]
test edi, edi
je 0x5e0ea7
mov eax, dword [edi]
test eax, eax
mov ebx, dword [fcn.00423264]
je 0x5e0e87
push eax
call ebx
mov eax, dword [edi + 0x204]
test eax, eax
je 0x5e0e94
push eax
call ebx
push edi
call fcn.005e20ab
add esp, 4
mov dword [esi + 0x53c], 0
mov edi, dword [esi + 0x58]
test edi, edi
je 0x5e0ec5
mov ebx, edi
call fcn.005df260
push edi
call fcn.005e20ab
add esp, 4
mov dword [esi + 0x58], 0
cmp dword [esi + 0x548], 0
mov dword [esi + 0x58], 0
je 0x5e0ee4
mov eax, dword [esi + 0x544]
push eax
lea ecx, [esi + 0x64]
call fcn.005dfe60
mov byte [esp + 0x20], 3
mov eax, dword [esi + 0x558]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5e0f0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x20], 2
mov eax, dword [esi + 0x540]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5e0f32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x401980
push 0x100
lea eax, [esi + 0x138]
push 4
push eax
mov byte [esp + 0x30], 1
call fcn.005ed390
lea eax, [esi + 0x64]
push eax
mov byte [esp + 0x24], 0
call fcn.005df5a0
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.005e665f
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401996
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
sete dl
cmp dword [ebp + 8], 0
sete al
mov ecx, 0
or dl, al
jne 0x401ada
lea ecx, [edi*4 + 0xb]
mov edx, 0x2aaaaaab
mov eax, ecx
imul edx
sar edx, 1
mov eax, ecx
sar eax, 0x1f
sub edx, eax
lea edx, [edx*4 + 1]
cmp edx, dword [ebp + 0x14]
jle 0x401a3d
mov dword [esp], 0x6f
call 0x40c300
sub esp, 4
mov ecx, 0
jmp 0x401ada
movzx eax, byte [ecx]
and eax, 3
shl eax, 4
movzx eax, byte [eax + section.3663gajf]
mov byte [ebx + 1], al
mov byte [ebx + 2], 0x3d
mov byte [ebx + 3], 0x3d
add ebx, 4
jmp 0x401ad2
movzx eax, byte [ecx + 1]
and eax, 0xf
movzx eax, byte [eax*4 + section.3663gajf]
mov byte [ebx + 2], al
mov byte [ebx + 3], 0x3d
add ebx, 4
jmp 0x401ad2
mov esi, 0
mov ecx, dword [ebp + 8]
cmp esi, edi
jge 0x401ad2
movzx eax, byte [ecx]
shr al, 2
movzx eax, al
movzx eax, byte [eax + section.3663gajf]
mov byte [ebx], al
mov eax, edi
sub eax, esi
cmp eax, 1
je 0x4019fc
movzx edx, byte [ecx]
and edx, 3
shl edx, 4
movzx eax, byte [ecx + 1]
shr al, 4
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.3663gajf]
mov byte [ebx + 1], al
mov eax, edi
sub eax, esi
cmp eax, 2
je 0x401a1f
movzx edx, byte [ecx + 1]
and edx, 0xf
shl edx, 2
movzx eax, byte [ecx + 2]
shr al, 6
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.3663gajf]
mov byte [ebx + 2], al
movzx eax, byte [ecx + 2]
and eax, 0x3f
movzx eax, byte [eax + section.3663gajf]
mov byte [ebx + 3], al
add esi, 3
add ecx, 3
add ebx, 4
cmp esi, edi
jl 0x401a4d
mov byte [ebx], 0
mov ecx, 1
mov eax, ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
jmp 0x10001250
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push str.PangyaUS.ini
call esi
cmp eax, 0xffffffff
jne 0x10001287
push str.PangyaJP.ini
call esi
cmp eax, 0xffffffff
je 0x10001276
mov eax, 1
pop esi
ret
push str.PangyaTH.ini
call esi
inc eax
neg eax
pop esi
sbb eax, eax
and eax, 2
ret
xor eax, eax
pop esi
ret

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40ca83
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419408]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00406e47
mov dword [ebp - 0x14], eax
cmp dword [0x446e38], esi
jne 0x40cb76
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40cb03
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40cc56
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40cc56
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cc56
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x446e38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x446e3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x446e40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x446e48], eax
test eax, eax
je 0x40cb73
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x446e44], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40cb9b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40cb8e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40cbb0
push 4
pop eax
jmp 0x40cc58
cmp dword [ebp - 0x14], esi
je 0x40cbb0
push dword [0x446e38]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40cb95
mov eax, dword [0x446e44]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cc0e
cmp dword [0x446e48], edi
je 0x40cc0e
push eax
call ebx
push dword [0x446e48]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cc0e
test eax, eax
je 0x40cc0e
call ecx
test eax, eax
je 0x40cc03
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40cc03
test byte [ebp - 8], 1
jne 0x40cc0e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40cc3e
mov eax, dword [0x446e3c]
cmp eax, edi
je 0x40cc3b
push eax
call ebx
test eax, eax
je 0x40cc3b
call eax
mov esi, eax
test esi, esi
je 0x40cc3b
mov eax, dword [0x446e40]
cmp eax, edi
je 0x40cc3b
push eax
call ebx
test eax, eax
je 0x40cc3b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x446e38]
call ebx
test eax, eax
je 0x40cc56
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40cc58
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403e09
mov esp, ebp
pop ebp
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x1002ae4e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10020764
and dword [ebp - 4], 0
cmp dword [0x1004397c], 0
mov ebx, eax
jne 0x1002aeff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1002afb0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10035604
push edi
call esi
test eax, eax
je 0x1002afb0
push eax
call fcn.100206f2
mov dword [esp], 0x100355f4
push edi
mov dword [0x1004397c], eax
call esi
push eax
call fcn.100206f2
mov dword [esp], 0x100355e0
push edi
mov dword [0x10043980], eax
call esi
push eax
call fcn.100206f2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10043984], eax
call esi
push eax
call fcn.100206f2
pop ecx
mov dword [0x1004398c], eax
test eax, eax
je 0x1002aeff
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100206f2
pop ecx
mov dword [0x10043988], eax
mov eax, dword [0x10043988]
cmp eax, ebx
je 0x1002af57
cmp dword [0x1004398c], ebx
je 0x1002af57
push eax
call fcn.1002076d
push dword [0x1004398c]
mov esi, eax
call fcn.1002076d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1002af57
test edi, edi
je 0x1002af57
call esi
test eax, eax
je 0x1002af4e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1002af4e
test byte [ebp - 0xc], 1
jne 0x1002af57
or dword [ebp + 0x10], 0x200000
jmp 0x1002af90
mov eax, dword [0x10043980]
cmp eax, ebx
je 0x1002af90
push eax
call fcn.1002076d
pop ecx
test eax, eax
je 0x1002af90
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1002af90
mov eax, dword [0x10043984]
cmp eax, ebx
je 0x1002af90
push eax
call fcn.1002076d
pop ecx
test eax, eax
je 0x1002af90
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1004397c]
call fcn.1002076d
pop ecx
test eax, eax
je 0x1002afb0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1002afb2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40c994
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 0x40c9cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404870
jmp 0x40c9d6
mov eax, ebx
mov edx, esi
call fcn.004047d4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40da0c
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 0x40dae2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404818
lea eax, [ebp - 8]
call fcn.00404c90
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c40
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dacc
mov eax, ebx
call fcn.004027e8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dac5
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.00404c40
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40daaf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40daf4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40daaf
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 0x40dacc
mov eax, dword [ebp - 0x10]
call fcn.00402808
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dae9
lea eax, [ebp - 8]
call fcn.00404780
ret

Function at 0x40e0ac
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 0x40e110
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.004049f0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409408
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e117
lea eax, [ebp - 0xc]
call fcn.00404780
ret
Function at 0x4226a0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4226ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004224b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x422705
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x42270c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004224b4
dec esi
jne 0x42272e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x423870
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4c888c
cmp dword [edi], 0
jne 0x4238ec
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4c8888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4c35cc
mov ecx, 2
call fcn.00402a68
mov edx, 0x423848
lea eax, [esi + 5]
call fcn.00423868
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423868
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 0x4238c1
mov dword [0x4c8888], 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 0x424e88
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 0x424e8e
ret

Function at 0x427418
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 0x427469
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x427450
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x427440
jmp 0x427469
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 0x427451
pop ebx
mov esp, ebp
pop ebp
ret