joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4043c9
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.0041a110
mov eax, dword [0x423008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 1
push 0x404ca9
mov dword [ebp - 0x1018], 0x1f4
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
mov ecx, edi
call fcn.0040413f
test eax, eax
je 0x40441b
call fcn.00404550
mov dword [ebp - 0x1018], eax
jmp 0x404511
push ebx
xor ebx, ebx
lea ecx, [ebp - 0x20c]
push ebx
call fcn.00404a21
pop ecx
test eax, eax
je 0x404510
push esi
push 0x420cac
push 0x69
push ebx
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x404459
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x1018], edi
push ecx
lea ecx, [ebp - 0x1018]
mov word [ebp - 0x1014], ax
call fcn.00404045
pop ecx
test eax, eax
je 0x4044ec
lea ecx, [ebp - 0x1018]
call fcn.004040d2
push 0x104
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
cmp esi, 6
jbe 0x4044c5
push eax
lea eax, [ebp - 0x20c]
push eax
push str.__s______s___i___
lea eax, [ebp - 0x1014]
push 0x500
push eax
call fcn.00403fe8
add esp, 0x14
jmp 0x4044ec
push dword [ebp - 0x1018]
push eax
lea eax, [ebp - 0x20c]
push eax
push str.__s______s___s
lea eax, [ebp - 0x1014]
push 0x500
push eax
call fcn.00403fe8
add esp, 0x18
call fcn.0040e074
push ebx
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0040e389
add esp, 0x10
mov dword [ebp - 0x1018], eax
pop esi
pop ebx
push ecx
lea edx, [ebp - 0x614]
lea ecx, [ebp - 0x1018]
call fcn.0040492b
mov ecx, dword [ebp - 0x1018]
lea eax, [ebp - 0x614]
push eax
lea edx, [ebp - 0x20c]
call fcn.004047fe
mov eax, dword [ebp - 0x1018]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00404d59
leave
ret
Function at 0x40467a
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x423008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
push esi
push edi
test ecx, ecx
je 0x40478e
cmp word [ecx], bx
je 0x40478e
push ebx
push 0x80
push 3
push ebx
push 7
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4046ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x404791
mov edx, 0xefcdab89
mov dword [0x423ba8], ebx
mov ecx, 0x98badcfe
mov dword [0x423ba4], ebx
mov eax, 0x10325476
mov dword [0x423b98], edx
mov esi, 0x67452301
mov dword [0x423b9c], ecx
mov dword [0x423b94], esi
mov dword [0x423ba0], eax
mov dword [0x423924], ebx
mov dword [0x423928], ebx
mov dword [0x42392c], esi
mov dword [0x423930], edx
mov dword [0x423934], ecx
mov dword [0x423938], eax
mov dword [0x42393c], 0xc3d2e1f0
call fcn.00403a15
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x404767
cmp dword [ebp - 0x28], ebx
je 0x40477d
push dword [ebp - 0x28]
push 0x424ae0
call fcn.00401d8c
push dword [ebp - 0x28]
push 0x424ae0
call fcn.004026ae
push dword [ebp - 0x28]
push ecx
call fcn.00403c90
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4000
push 0x424ae0
push edi
call esi
test eax, eax
jne 0x40473f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404791
push 0x57
pop esi
pop edi
test esi, esi
pop esi
pop ebx
jne 0x4047f2
lea eax, [ebp - 0x14]
push eax
call fcn.00401e3a
push ecx
push ecx
push 0x4247e0
push 0x10
pop edx
lea ecx, [ebp - 0x14]
call fcn.004041c5
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call fcn.0040275b
push ecx
push ecx
push 0x4249e0
push 0x14
pop edx
lea ecx, [ebp - 0x18]
call fcn.004041c5
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call fcn.00403d5b
push ecx
push ecx
push 0x4248e0
push 0x20
pop edx
lea ecx, [ebp - 0x24]
call fcn.004041c5
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404d59
leave
ret
Function at 0x4047fe
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x864
mov eax, dword [0x423008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, edx
push edi
push ecx
mov edi, ecx
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x854]
push ecx
lea ecx, [ebp - 0x454]
push ecx
lea ecx, [ebp - 0x654]
push ecx
mov ecx, eax
call fcn.00401a4f
add esp, 0xc
lea eax, [ebp - 0x454]
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x254]
push 0x420d0c
push eax
lea eax, [ebp - 0x654]
push eax
call fcn.00401b8b
add esp, 0x10
cmp word [ebp - 0x254], 0
je 0x40491d
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40491d
test al, 0x10
jne 0x40491d
push esi
push 0x20
lea eax, [ebp - 0x254]
push 0x420d14
push eax
call fcn.0040de70
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40491c
lea eax, [ebp - 0x864]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push ecx
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x864]
call fcn.0040424b
pop ecx
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
mov edx, str.FALSE
mov ecx, 0x420d18
lea eax, [ebp - 0x4c]
cmove ecx, edx
push ecx
push eax
push str._n_stub___s__:_Debugger_presence_status:__s_n
push esi
call fcn.00404356
push edi
push edi
lea eax, [ebp - 0x4c]
push eax
push str._stub___s__:_Child_process_exit_code:__ld__0x_lx__n
push esi
call fcn.00404356
push ebx
lea eax, [ebp - 0x4c]
push eax
push str._stub___s__:_Exit_code_description:__s_n
push esi
call fcn.00404356
push esi
call fcn.0040e155
push esi
call fcn.0040e224
add esp, 0x3c
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00404d59
leave
ret
Function at 0x414403
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004140b1
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b004]
jne 0x40100a
repz ret
jmp fcn.004019eb

Function at 0x406948
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.0040256b
and dword [ebp - 4], 0
cmp dword [0x41d264], 0
mov ebx, eax
jne 0x4069f9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406aaa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406aaa
push eax
call fcn.004024f9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41d264], eax
call esi
push eax
call fcn.004024f9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41d268], eax
call esi
push eax
call fcn.004024f9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41d26c], eax
call esi
push eax
call fcn.004024f9
pop ecx
mov dword [0x41d274], eax
test eax, eax
je 0x4069f9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004024f9
pop ecx
mov dword [0x41d270], eax
mov eax, dword [0x41d270]
cmp eax, ebx
je 0x406a51
cmp dword [0x41d274], ebx
je 0x406a51
push eax
call fcn.00402574
push dword [0x41d274]
mov esi, eax
call fcn.00402574
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406a51
test edi, edi
je 0x406a51
call esi
test eax, eax
je 0x406a48
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406a48
test byte [ebp - 0xc], 1
jne 0x406a51
or dword [ebp + 0x10], 0x200000
jmp 0x406a8a
mov eax, dword [0x41d268]
cmp eax, ebx
je 0x406a8a
push eax
call fcn.00402574
pop ecx
test eax, eax
je 0x406a8a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406a8a
mov eax, dword [0x41d26c]
cmp eax, ebx
je 0x406a8a
push eax
call fcn.00402574
pop ecx
test eax, eax
je 0x406a8a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41d264]
call fcn.00402574
pop ecx
test eax, eax
je 0x406aaa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406aac
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41728e
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x41b004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
test ebx, ebx
jle 0x4172eb
and dword [ebp - 0x808], 0
lea ecx, [ebp - 0x808]
call fcn.00417286
mov al, byte [ebp - 0x808]
xor byte [edi + esi], al
cmp ebx, 0xf
jne 0x4172e6
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SleepEx]
inc esi
cmp esi, ebx
jl 0x4172a8
pop esi
cmp ebx, 0x2d
jne 0x417302
or dword [0x270539c], 0xffffffff
mov dword [0x2705398], 0xa62e7790
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
leave
ret
Function at 0x10012cd8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10012d31
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10012d08
push 0
push 0
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x10012d2c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10012d2c
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jmp 0x10012de9
mov dword [ebp - 0xc], 0x461c
mov dword [ebp - 0x24], 0x1000792c
cmp dword [ebp - 0xc], 0x48ae
jle 0x10012db2
and dword [ebp - 4], 0
jmp 0x10012d55
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbb
jge 0x10012db2
and dword [ebp - 8], 0
jmp 0x10012d6b
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x4395
jge 0x10012db0
mov eax, dword [ebp - 4]
cdq
idiv dword [ebp - 8]
mov eax, edx
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea ecx, [ebp - 0x50]
call fcn.1001072e
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.1001d53e
push eax
call fcn.10067b63
pop ecx
lea ecx, [ebp - 0x50]
call fcn.1001d534
jmp 0x10012d64
jmp 0x10012d4e
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0xc], 0x4306
jge 0x10012dca
push dword [ebp - 0x24]
call fcn.10067b63
pop ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0
push dword [ebp - 0x30]
call fcn.10012af1
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x100139b3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10013a5e
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x25a1
mov dword [ebp - 0x18], 0x10007b20
cmp dword [ebp - 0x10], 0x2843
jle 0x10013a2f
and dword [ebp - 8], 0
jmp 0x100139ef
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x2092
jge 0x10013a2f
and dword [ebp - 0xc], 0
jmp 0x10013a05
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3cac
jge 0x10013a2d
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov ecx, 0x10082bb8
call fcn.1001d55e
jmp 0x100139fe
jmp 0x100139e8
push 1
push 0x991
push 0x53c4
push dword [ebp - 0x14]
call fcn.10013ada
add esp, 0x10
cmp dword [ebp - 0x10], 0x239e
jge 0x10013a5c
mov edx, dword [ebp - 0x18]
mov ecx, 0x10082bb8
call fcn.100202a3
jmp 0x10013ad6
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10013ac8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10013aa8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jg 0x10013ac6
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.1001d90b
cmp dword [eax], 0
je 0x10013ac4
jmp 0x10013ac6
jmp 0x10013a9d
jmp 0x10013ad6
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esp, ebp
pop ebp
ret
Function at 0x1001a6b7
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1001a75a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1001a70d
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1001a70b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
jmp 0x1001a758
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001a73b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x1001a758
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.1001d90b
mov dword [eax], 1
jmp 0x1001a730
jmp 0x1001a787
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 0
push 0x7e
push 0x6b78
push 0x5cae
push 0xb79
call fcn.10017b15
add esp, 0x1c
mov esp, ebp
pop ebp
ret

Function at 0x1001b330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001b3bc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1001b372
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001b370
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x1001b3ba
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1001b3a0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x1001b3ba
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.1001d90b
and dword [eax], 0
jmp 0x1001b395
jmp 0x1001b3d9
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
push 0x13c4
push dword [ebp - 0x24]
push 0x77c2
push 0
call fcn.10012b2c
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10024a7a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10024b19
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10024ad1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10024acf
push 1
push 0x13ea
push 0
call fcn.100250e7
add esp, 0xc
jmp 0x10024b17
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10024af3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x10024b17
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10024b15
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jmp 0x10024ae8
jmp 0x10024b31
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
push 1
push dword [ebp - 0x24]
push 0x71a6
call fcn.10022108
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x10024b35
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10024b60
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0xc09
push 1
call fcn.10024c5e
add esp, 0xc
jmp 0x10024c5a
mov dword [ebp - 0x10], 0x7ae0
mov dword [ebp - 0x1c], 0x10008fac
cmp dword [ebp - 0x10], 0x7ce3
jle 0x10024c00
and dword [ebp - 0xc], 0
jmp 0x10024b88
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x46e4
jge 0x10024c00
and dword [ebp - 4], 0
jmp 0x10024b9e
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40e9
jge 0x10024bfe
and dword [ebp - 8], 0
jmp 0x10024bb4
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x5e07
jge 0x10024bfc
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
sar eax, cl
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
call fcn.1001072e
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.1001d53e
push eax
call fcn.10067b63
pop ecx
lea ecx, [ebp - 0x4c]
call fcn.1001d534
jmp 0x10024bad
jmp 0x10024b97
jmp 0x10024b81
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x10], 0x77fd
jge 0x10024c18
push dword [ebp - 0x1c]
call fcn.10067b63
pop ecx
lea eax, [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10024c4e
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x10024c4c
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jmp 0x10024c5a
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_GetObjectA]
mov esp, ebp
pop ebp
ret
Function at 0x10025204
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100252e4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0x1a2a
mov dword [ebp - 0x30], 0x100090f4
cmp dword [ebp - 0x20], 0x1b03
jle 0x100252bb
and dword [ebp - 0xc], 0
jmp 0x10025244
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xcbb
jge 0x100252bb
and dword [ebp - 4], 0
jmp 0x1002525a
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xcf6
jge 0x100252b9
and dword [ebp - 8], 0
jmp 0x10025270
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x56dc
jge 0x100252b7
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
shl eax, cl
cdq
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
push dword [ebp - 0x40]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x64]
call fcn.1001072e
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.1001d53e
push eax
call fcn.10067b63
pop ecx
lea ecx, [ebp - 0x64]
call fcn.1001d534
jmp 0x10025269
jmp 0x10025253
jmp 0x1002523d
push 0x5243
push 1
push dword [ebp - 0x2c]
call fcn.100253bc
add esp, 0xc
cmp dword [ebp - 0x20], 0x18d6
jge 0x100252df
push dword [ebp - 0x30]
call fcn.10067b63
pop ecx
jmp 0x100253b8
mov dword [ebp - 0x24], 0x5edf
mov dword [ebp - 0x34], 0x1000910c
cmp dword [ebp - 0x24], 0x6097
jle 0x10025382
and dword [ebp - 0x18], 0
jmp 0x1002530c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x799
jge 0x10025382
and dword [ebp - 0x10], 0
jmp 0x10025322
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x7854
jge 0x10025380
and dword [ebp - 0x14], 0
jmp 0x10025338
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x14f2
jge 0x1002537e
and dword [ebp - 0x1c], 0
jmp 0x1002534e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x44db
jge 0x1002537c
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
mov ecx, 0x10082bb8
call fcn.1001d55e
jmp 0x10025347
jmp 0x10025331
jmp 0x1002531b
jmp 0x10025305
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x24], 0x5e01
jge 0x1002539e
mov edx, dword [ebp - 0x34]
mov ecx, 0x10082bb8
call fcn.100202a3
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x100253b8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esp, ebp
pop ebp
ret
Function at 0x10026e43
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10026e8c
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10026e7c
mov byte [ebp - 1], 0
push 0x5a4f
push 1
push 1
lea eax, [ebp - 1]
push eax
call fcn.100253d4
add esp, 0x10
jmp 0x10026e8a
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jmp 0x10026eb2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
push 0x5d3
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0
push 0x7eac
call fcn.10021c04
add esp, 0x14
mov esp, ebp
pop ebp
ret