joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c9650
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x4c9669
mov esi, edi
mov edi, eax
jmp 0x4c966b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x4c967b
mov eax, ebx
jmp 0x4c9685
push eax
push ebx
call fcn.0049a980
add esp, 8
test eax, eax
jne 0x4c968d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x4c96a9
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x4c9694
cmp eax, dword [esi + 4]
jge 0x4c96c0
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x4c96b0
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x4c96e1
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x4c96de
dec eax
test eax, eax
jg 0x4c96d0
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4cdce0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x130
call fcn.004ecd00
mov eax, dword [0x570be0]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x13c]
push ebx
push ebp
mov ebp, dword [esp + 0x158]
push esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x154]
push edi
mov edi, dword [esp + 0x144]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], eax
mov ebx, 1
call fcn.004b0b50
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
jge 0x4cdd43
xor eax, eax
jmp 0x4cdecd
lea ecx, [esp + 0x2c]
push ecx
call fcn.004df720
mov edx, dword [esp + 0x160]
add esp, 4
mov dword [esp + 0x18], edx
test edi, edi
jne 0x4cdd68
mov dword [esp + 0x148], edi
jmp 0x4cdd92
cmp dword [esp + 0x148], 0xffffffff
jne 0x4cdd92
mov eax, edi
lea ecx, [eax + 1]
mov dword [esp + 0x10], ecx
jmp 0x4cdd80
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4cdd80
sub eax, dword [esp + 0x10]
mov dword [esp + 0x148], eax
test edx, edx
je 0x4cdebb
jmp 0x4cdda8
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
cmp edx, esi
jg 0x4cddae
mov esi, edx
mov edx, ebx
shr edx, 0x18
mov eax, ebx
shr eax, 0x10
push 0
mov byte [esp + 0x18], dl
mov edx, dword [esp + 0x20]
push edx
mov byte [esp + 0x1d], al
mov eax, dword [esp + 0x150]
mov ecx, ebx
shr ecx, 8
push eax
mov byte [esp + 0x22], cl
lea ecx, [esp + 0x38]
push edi
push ecx
mov byte [esp + 0x2b], bl
call fcn.004df460
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004df660
push 4
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004df660
push 0
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.004df670
push esi
lea eax, [esp + 0x138]
push eax
push ebp
call fcn.004ec600
mov eax, dword [esp + 0x198]
add esp, 0x44
cmp eax, 1
jle 0x4cdea6
dec eax
mov dword [esp + 0x10], eax
jmp 0x4cde50
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x100]
push ecx
push edx
mov edx, dword [esp + 0x28]
mov eax, ecx
mov ecx, dword [esp + 0x154]
push eax
push ecx
push edi
push edx
call fcn.004df830
add esp, 0x1c
test esi, esi
jle 0x4cde9f
lea ecx, [esp + 0xfc]
mov eax, ebp
sub ecx, ebp
mov edi, esi
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub edi, 1
jne 0x4cde90
mov edi, dword [esp + 0x28]
sub dword [esp + 0x10], 1
jne 0x4cde50
mov eax, dword [esp + 0x18]
sub eax, esi
inc ebx
add ebp, esi
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4cdda0
lea eax, [esp + 0x2c]
push eax
call fcn.004df7c0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e6e0a
add esp, 0x130
ret
Function at 0x4df460
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.004ecd00
mov eax, dword [0x570be0]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
test ebp, ebp
je 0x4df4af
mov eax, 1
mov dword [esi], ebp
jmp 0x4df4b1
mov ebp, dword [esi]
test ecx, ecx
je 0x4df594
push ebp
call fcn.004b0b30
mov ebx, eax
add esp, 4
cmp ebx, 0x80
jle 0x4df4e0
push str.j____int_sizeof_ctx__key_
push 0x52
push str..cryptohmachmac.c
call fcn.0049b4b0
add esp, 0xc
mov edi, dword [esp + 0xa8]
cmp ebx, edi
jge 0x4df537
mov ecx, dword [esp + 0x10]
push ecx
lea ebx, [esi + 4]
push ebp
push ebx
call fcn.004b9ba0
add esp, 0xc
test eax, eax
je 0x4df636
mov edx, dword [esp + 0x14]
push edi
push edx
push ebx
call fcn.004b9d50
add esp, 0xc
test eax, eax
je 0x4df636
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.004b9d60
add esp, 0xc
test eax, eax
je 0x4df636
jmp 0x4df571
cmp edi, 0x80
jbe 0x4df553
push str.len_0__len__int_sizeof_ctx__key_
push 0x5f
push str..cryptohmachmac.c
call fcn.0049b4b0
add esp, 0xc
mov ecx, dword [esp + 0x14]
push edi
push ecx
lea edx, [esi + 0x50]
push edx
call fcn.004ec600
mov eax, dword [esp + 0xb4]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], eax
mov edi, dword [edi]
cmp edi, 0x80
je 0x4df59c
mov ecx, 0x80
sub ecx, edi
push ecx
lea edx, [edi + esi + 0x50]
push 0
push edx
call fcn.004ecdb0
add esp, 0xc
jmp 0x4df59c
test eax, eax
je 0x4df622
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x50]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x4df5a0
mov edi, dword [esp + 0x10]
push edi
lea ebx, [esi + 0x1c]
push ebp
push ebx
call fcn.004b9ba0
add esp, 0xc
test eax, eax
je 0x4df636
push ebp
call fcn.004b0b30
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.004b9d50
add esp, 0x10
test eax, eax
je 0x4df636
xor eax, eax
mov cl, byte [esi + eax + 0x50]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x4df5e4
push edi
lea ebx, [esi + 0x34]
push ebp
push ebx
call fcn.004b9ba0
add esp, 0xc
test eax, eax
je 0x4df636
push ebp
call fcn.004b0b30
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call fcn.004b9d50
add esp, 0x10
test eax, eax
je 0x4df636
lea eax, [esi + 0x1c]
push eax
add esi, 4
push esi
call fcn.004b9ec0
add esp, 8
test eax, eax
jne 0x4df63a
xor eax, eax
jmp 0x4df63f
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e6e0a
add esp, 0x8c
ret
Function at 0x4e22e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.004ecd00
mov eax, dword [esp + 0x38]
push ebx
push edi
xor edi, edi
push eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
call fcn.004b0b50
mov ebx, eax
add esp, 4
cmp ebx, edi
jl 0x4e2521
push esi
mov esi, dword [esp + 0x48]
cmp esi, 0xffffffff
jne 0x4e23a7
mov esi, ebx
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 0x10]
push ebp
push ecx
call fcn.0049a740
mov ebp, eax
dec ebp
and ebp, 7
push edi
mov dword [esp + 0x24], ebp
call fcn.00495f30
add esp, 8
mov edi, eax
mov dword [esp + 0x18], eax
test ebp, ebp
jne 0x4e2359
mov eax, dword [esp + 0x40]
mov byte [eax], 0
inc eax
dec edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], edi
cmp esi, 0xfffffffe
jne 0x4e23db
mov esi, edi
sub esi, ebx
sub esi, 2
test esi, esi
jle 0x4e2419
push 0xda
push str..crypto_rsa_rsa_pss.c
push esi
call fcn.0049a0e0
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x4e2407
push 0xde
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x7d
push 4
call fcn.00497d30
add esp, 0x14
jmp 0x4e2504
cmp esi, 0xfffffffe
jne 0x4e23b1
jmp 0x4e231d
jge 0x4e231d
push 0xc3
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x7d
push 4
call fcn.00497d30
add esp, 0x14
pop esi
mov eax, edi
pop edi
pop ebx
add esp, 0x28
ret
lea edx, [ebx + esi + 2]
cmp edi, edx
jge 0x4e2365
push 0xd5
push str..crypto_rsa_rsa_pss.c
push 0x6e
push 0x7d
push 4
call fcn.00497d30
add esp, 0x14
mov eax, dword [esp + 0x14]
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x28
ret
push esi
push ebp
call fcn.0049d410
add esp, 8
test eax, eax
jle 0x4e2500
lea eax, [esp + 0x20]
sub edi, ebx
push eax
lea ebp, [edi - 1]
call fcn.004b9b50
mov ecx, dword [esp + 0x4c]
push 0
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004b9ba0
push 8
lea eax, [esp + 0x34]
push 0x540120
push eax
call fcn.004b9d50
mov ecx, dword [esp + 0x60]
push ebx
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.004b9d50
add esp, 0x28
test esi, esi
je 0x4e2474
mov eax, dword [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004b9d50
add esp, 0xc
mov edx, dword [esp + 0x40]
lea eax, [edx + ebp]
push 0
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004b9e90
lea ecx, [esp + 0x2c]
push ecx
call fcn.004b9de0
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
push edx
push ebx
add eax, ebp
push eax
push ebp
mov ebp, dword [esp + 0x60]
push ebp
call fcn.004a5c60
add esp, 0x24
test eax, eax
jne 0x4e2500
sub edi, esi
xor byte [edi + ebp - 2], 1
lea eax, [edi + ebp - 2]
inc eax
test esi, esi
jle 0x4e24d6
xor ecx, ecx
test esi, esi
jle 0x4e24d6
mov edx, dword [esp + 0x10]
mov dl, byte [ecx + edx]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, esi
jl 0x4e24c7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4e24ef
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov ecx, dword [esp + 0x18]
mov byte [ecx + ebp - 1], 0xbc
mov dword [esp + 0x14], 1
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x4e23fb
push ebp
call fcn.0049a280
mov eax, dword [esp + 0x18]
add esp, 4
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x28
ret
mov eax, edi
pop edi
pop ebx
add esp, 0x28
ret
Function at 0x4f90c5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x570be0]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004f1e8e
mov dword [ebp - 0x14], eax
cmp dword [0x5774dc], edi
jne 0x4f91b6
push 0x800
push edi
push 0x543b1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4f9143
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4f9296
push 0x543b1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4f9296
push 0x543b34
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4f9296
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x5774dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x5774e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x543b64
push esi
mov dword [0x5774e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5774ec], eax
test eax, eax
je 0x4f91b3
push 0x543b80
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5774e8], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4f91db
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4f91ce
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4f91f0
push 4
pop eax
jmp 0x4f9298
cmp dword [ebp - 0x14], edi
je 0x4f91f0
push dword [0x5774dc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4f91d5
mov eax, dword [0x5774e8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4f924e
cmp dword [0x5774ec], esi
je 0x4f924e
push eax
call ebx
push dword [0x5774ec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4f924e
test eax, eax
je 0x4f924e
call ecx
test eax, eax
je 0x4f9243
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 0x4f9243
test byte [ebp - 8], 1
jne 0x4f924e
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4f927e
mov eax, dword [0x5774e0]
cmp eax, esi
je 0x4f927b
push eax
call ebx
test eax, eax
je 0x4f927b
call eax
mov edi, eax
test edi, edi
je 0x4f927b
mov eax, dword [0x5774e4]
cmp eax, esi
je 0x4f927b
push eax
call ebx
test eax, eax
je 0x4f927b
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x5774dc]
call ebx
test eax, eax
je 0x4f9296
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4f9298
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e6e0a
leave
ret
Function at 0x50006a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004f058e
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x5000a2
xor eax, eax
jmp 0x5000ce
cmp esi, dword [ebp - 4]
je 0x5000cb
cmp dword [ebp + 0xc], 0
je 0x5000cb
push dword [edi + 0x9c]
call fcn.004ffc78
push dword [edi + 0x9c]
mov esi, eax
call fcn.004f8e75
pop ecx
pop ecx
cmp esi, eax
je 0x50009e
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x405634
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffbe4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x405676
movzx eax, bl
add ax, 0x41
dec eax
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0
lea eax, [esp + 0x212]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
push esp
call sub.kernel32.dll_SetCurrentDirectoryW
lea eax, [esp + 8]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
test bl, bl
je 0x405696
lea eax, [esp + 0x212]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.00409864
add esp, 0x41c
pop esi
pop ebx
ret

Function at 0x40735c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.0040781c
mov byte [esp], al
cmp byte [esp], 0
jne 0x4074e5
test edi, edi
je 0x4074e5
mov byte [esp + 1], 0
test ebp, ebp
jle 0x407425
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x407400
cmp edi, 0xffffffff
je 0x4073c1
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4073c1
mov byte [esp], 0
jmp 0x4074e5
cmp dword [esi], 1
jg 0x407400
cmp dword [esi], 0
jne 0x4073f2
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x4073f2
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4074e5
lea eax, [esp + 0xc]
call fcn.0040703c
dec ebp
test ebp, ebp
jg 0x4073a6
cmp edi, 0xffffffff
je 0x407425
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x407423
mov byte [esp], 0
jmp 0x4074e5
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40736a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x407425
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00407560
mov edx, eax
mov ebx, dword [0x6548fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x407489
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x407487
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x407489
xor edi, edi
cmp byte [esp], 0
je 0x4074af
mov ebx, dword [esi]
test bl, 1
jne 0x4074c5
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40748f
mov byte [esp + 1], 1
jmp 0x4074c5
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4074af
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x40743c
cmp byte [esp], 0
je 0x4074e5
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4083a4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x65405c], 0
je 0x40840b
cmp word [0x654348], 0xd7b2
jne 0x4083cd
cmp dword [0x654350], 0
jbe 0x4083cd
mov eax, 0x654344
call dword [0x654360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x408438
call fcn.004091b4
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x64e032], 0
jne 0x408427
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4085cc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x64e034], 0
je 0x4085f7
mov edx, edi
mov eax, esi
call dword [0x64e034]
mov ebx, eax
jmp 0x408608
mov eax, 8
call fcn.00405490
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x65405d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x408594
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x408638
mov eax, ebx
call fcn.004054ac
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40c1d4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40c339
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040870c
cmp si, word [0x64ea10]
jb 0x40c26c
cmp si, word [0x64ec10]
ja 0x40c26c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40c26c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x64ea10]
jae 0x40c246
mov edi, ebx
dec edi
jmp 0x40c267
cmp si, word [ebx*8 + 0x64ea10]
jbe 0x40c256
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40c267
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x64ea14]
call fcn.0040c0f4
jmp 0x40c26c
cmp edi, dword [ebp - 8]
jae 0x40c230
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40c31b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c31b
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00409864
push dword [ebp - 0x160]
push 0x40c354
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00409864
push dword [ebp - 0x164]
push 0x40c364
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00409864
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00409a9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c340
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040876c
ret
Function at 0x40c4ec
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c5f0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x656c14
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x656c2c]
jne 0x40c538
mov eax, esi
mov edx, 0x656c2e
mov ecx, 0x55
call fcn.00409864
push 0x656c14
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40c5da
push 0x656c14
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040870c
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c5a7
cmp byte [0x656c10], 0
je 0x40c56c
mov edx, esi
mov eax, ebx
call fcn.0040c3d0
jmp 0x40c5a7
mov edx, esi
mov eax, ebx
call fcn.0040c1d4
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40c5a7
cmp dword [esi], 0
je 0x40c590
mov eax, esi
mov edx, 0x40c608
call fcn.004099bc
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040c1d4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004099bc
push 0x656c14
call sub.kernel32.dll_EnterCriticalSection
mov word [0x656c2c], bx
mov eax, dword [esi]
call fcn.004097c0
mov ecx, eax
mov eax, 0x656c2e
mov edx, 0xaa
call fcn.0040c054
push 0x656c14
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5f7
lea eax, [ebp - 4]
call fcn.0040870c
ret
Function at 0x40cd4c
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004087f0
xor eax, eax
push ebp
push 0x40ce0c
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00409864
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409a14
mov eax, dword [ebx]
call fcn.0040cbfc
test al, al
jne 0x40cde9
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00409864
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409a14
mov eax, dword [ebx]
call fcn.0040cbfc
test al, al
jne 0x40cde9
mov eax, ebx
call fcn.0040870c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce13
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040876c
lea eax, [ebp - 4]
call fcn.0040870c
ret

Function at 0x40e8c4
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x41312c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.00413118
add esp, 0x208
pop ebx
ret