Function at 0x403140
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get disk information
Get geographical location
Read file on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd08
cmp dword [0x4385b4], 0x66
jne 0x4031c3
push 0
lea eax, [esp + 0x50c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea ecx, [esp + 0xf4]
call fcn.00403c0e
lea ecx, [esp + 0xf4]
call fcn.00403c1f
call fcn.00403abe
push 0
call fcn.00403de1
push 0
call fcn.00403de1
push 0
call fcn.00403dca
add esp, 0xc
call fcn.00403ac3
add dword [0x4385b4], 0xb2d3b
call fcn.00403060
call fcn.00403080
xor eax, eax
cmp dword [0x4385b4], eax
jbe 0x403200
mov ecx, dword [0x438754]
mov dl, byte [ecx + eax + 0xb2d3b]
mov ecx, dword [0x437190]
mov byte [ecx + eax], dl
inc eax
cmp eax, dword [0x4385b4]
jb 0x4031e1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LCMapStringA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
xor eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov dword [esp + 0x10], eax
mov edx, dword [0x4385b4]
add edx, eax
cmp edx, 0x5e
jne 0x40328f
push 0
push 0
push 0x402b98
push 0x402bf8
push 0
call esi
push 0
push 0
lea eax, [esp + 0x520]
push eax
push 0
call edi
push 0
lea ecx, [esp + 0x91c]
push ecx
push 0
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
push 0
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x40c893
mov dword [esp + 0x10], eax
jl 0x403222
mov edi, dword [sym.imp.KERNEL32.dll_GetCommMask]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebp, dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
xor esi, esi
nop
push 0
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
cmp esi, 0x26e8b6
jge 0x4038c4
mov dword [esp + 0xf4], 0x127fe718
mov dword [esp + 0x38], 0xe73c505
mov dword [esp + 0xf8], 0x2778b6dc
mov dword [esp + 0x90], 0x85452b6
mov dword [esp + 0x54], 0x1218ed1d
mov dword [esp + 0x2c], 0xd9b6b2
mov dword [esp + 0x60], 0x60ed2d02
mov dword [esp + 0xdc], 0x7c8f244
mov dword [esp + 0xc8], 0x7c68a916
mov dword [esp + 0x100], 0x4024e11b
mov dword [esp + 0x88], 0x31a67be2
mov dword [esp + 0x94], 0x38a010b8
mov dword [esp + 0xbc], 0x65cd6bcb
mov dword [esp + 0x58], 0xd5e2e41
mov dword [esp + 0x14], 0x32b94cf3
mov dword [esp + 0x64], 0x440dbe79
mov dword [esp + 0x9c], 0x7f07bca8
mov dword [esp + 0x8c], 0x2d97c075
mov dword [esp + 0xc4], 0x47c6e660
mov dword [esp + 0xe8], 0x124d600e
mov dword [esp + 0x20], 0x7c5bd6b8
mov dword [esp + 0x50], 0x720f4388
mov dword [esp + 0xe4], 0x66f44b2a
mov dword [esp + 0x1c], 0x6121e946
mov dword [esp + 0xcc], 0x2eb26c41
mov dword [esp + 0x84], 0x4095ff9e
mov dword [esp + 0x5c], 0x14e054b
mov dword [esp + 0x80], 0x6069fb2d
mov dword [esp + 0x4c], 0x7c2f03fa
mov dword [esp + 0x24], 0x608f30c7
mov dword [esp + 0xa0], 0x7089a0e6
mov dword [esp + 0x78], 0x14fa71ed
mov dword [esp + 0x48], 0x7335f813
mov dword [esp + 0xac], 0x52e1e39b
mov dword [esp + 0xb8], 0xe3b047
mov dword [esp + 0x10], 0x18913c83
mov dword [esp + 0xe0], 0x42e1409b
mov dword [esp + 0xec], 0x5e35fc82
mov dword [esp + 0x74], 0x1e0f0e7
mov dword [esp + 0x30], 0x5dffc54d
mov dword [esp + 0x7c], 0x4d7a1719
mov dword [esp + 0x28], 0x23eecbd0
mov dword [esp + 0x40], 0x4ed76024
mov dword [esp + 0x18], 0x532f8005
mov dword [esp + 0xb0], 0x39a7d51a
mov dword [esp + 0x3c], 0x52a099c1
mov dword [esp + 0xd8], 0x19e73f09
mov dword [esp + 0xd4], 0x7fc81313
mov dword [esp + 0x68], 0x4cb0a940
mov dword [esp + 0x44], 0x53fddb72
mov dword [esp + 0xfc], 0x2d4b305d
mov dword [esp + 0x70], 0x67b61bf8
mov dword [esp + 0xf0], 0x62b90dba
mov dword [esp + 0x6c], 0x158ce4a0
mov dword [esp + 0xa8], 0xb0c24fc
mov dword [esp + 0xa4], 0x394c2a2a
mov dword [esp + 0x98], 0x1a556e59
mov dword [esp + 0x34], 0x55486f1d
mov dword [esp + 0xb4], 0x288b4760
mov dword [esp + 0xd0], 0x7fb3b9be
mov dword [esp + 0xc0], 0x7b3ce4b8
add dword [esp + 0xf4], 0x30b15d6a
sub dword [esp + 0xf4], 0x1d35e926
sub dword [esp + 0xf4], 0x6e753ef1
mov eax, 0x3f439ddc
mul dword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov eax, 0x28ea7ec7
mul dword [esp + 0xf8]
mov eax, dword [esp + 0xf8]
add dword [esp + 0xf4], 0x492f88c5
add dword [esp + 0x54], 0x26664f41
sub dword [esp + 0x90], 0x24e4062d
mov eax, 0x584f85ef
mul dword [esp + 0x90]
mov eax, dword [esp + 0x90]
add dword [esp + 0xdc], 0x52c41bce
add dword [esp + 0xdc], 0x3ffe67c8
mov eax, 0x47fb9d71
mul dword [esp + 0x90]
mov eax, dword [esp + 0x90]
sub dword [esp + 0xf8], 0x258b7ac8
mov eax, 0xeb2a75f
mul dword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov eax, 0x74234f
mul dword [esp + 0x100]
mov eax, dword [esp + 0x100]
sub dword [esp + 0x54], 0x40a681d2
add dword [esp + 0x90], 0x589f5e6b
mov eax, 0x3be1413b
mul dword [esp + 0x88]
mov eax, dword [esp + 0x88]
add dword [esp + 0x2c], 0x1b3c9988
mov eax, 0x333ce8dd
mul dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov eax, 0x6850f4b3
mul dword [esp + 0x88]
mov eax, dword [esp + 0x88]
mov eax, 0x8800b15
mul dword [esp + 0x90]
mov eax, dword [esp + 0x90]
sub dword [esp + 0x58], 0x271459e2
add dword [esp + 0x58], 0x6e672dd2
add dword [esp + 0xc8], 0x6983ccb2
mov eax, 0xafdbc8c
mul dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
add dword [esp + 0x9c], 0x710e337b
sub dword [esp + 0x38], 0x610070a5
add dword [esp + 0x38], 0x2f8248e
sub dword [esp + 0x88], 0x50d52fcc
mov eax, 0x4db4a05a
mul dword [esp + 0x60]
mov eax, dword [esp + 0x60]
add dword [esp + 0x54], 0x3b1f3428
mov eax, 0x2b5764ba
mul dword [esp + 0xbc]
mov eax, dword [esp + 0xbc]
add dword [esp + 0x58], 0x20d2cc78
mov eax, 0x498aca99
mul dword [esp + 0xc4]
mov eax, dword [esp + 0xc4]
mov eax, 0x75fb4932
mul dword [esp + 0x94]
mov eax, dword [esp + 0x94]
mov eax, 0x71066e3
mul dword [esp + 0xdc]
mov eax, dword [esp + 0xdc]
mov eax, 0x3f1d8b75
mul dword [esp + 0xcc]
mov eax, dword [esp + 0xcc]
mov eax, 0x6e484fd3
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x2c], 0x58f9ea7b
sub dword [esp + 0x20], 0x58302607
add dword [esp + 0x94], 0x56c44812
add dword [esp + 0x58], 0x2c83140d
sub dword [esp + 0xf4], 0x4a3f4800
add dword [esp + 0xcc], 0x36525615
mov eax, 0x5f17fea2
mul dword [esp + 0xe8]
mov eax, dword [esp + 0xe8]
add dword [esp + 0xdc], 0x27eccd5d
add dword [esp + 0xc8], 0x169a029a
mov eax, 0x75e23e43
mul dword [esp + 0xf4]
mov eax, dword [esp + 0xf4]
mov eax, 0x59486da0
mul dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
mov eax, 0x70e8fd9c
mul dword [esp + 0x58]
mov eax, dword [esp + 0x58]
sub dword [esp + 0xcc], 0x31943e69
mov eax, 0x30f2cbf8
mul dword [esp + 0xbc]
mov eax, dword [esp + 0xbc]
add dword [esp + 0x78], 0x310e125d
sub dword [esp + 0x54], 0xd2320b3
sub dword [esp + 0xac], 0x533699d9
add dword [esp + 0x38], 0x6d624fde
add dword [esp + 0x10], 0x7dc19d83
add dword [esp + 0xc4], 0x74dcf020
add dword [esp + 0xf4], 0x642c6016
mov eax, 0x531e62fc
mul dword [esp + 0x74]
mov eax, dword [esp + 0x74]
add dword [esp + 0xe4], 0x5f8ad935
sub dword [esp + 0x38], 0x3ad7f61b
add dword [esp + 0xf4], 0x210c976e
add dword [esp + 0xe8], 0x947f16c
add dword [esp + 0xe0], 0x667a2a09
add dword [esp + 0x28], 0x4f2af32
sub dword [esp + 0x7c], 0x1fec65db
sub dword [esp + 0xd4], 0x6283507
mov eax, 0x758817ce
mul dword [esp + 0x90]
mov eax, dword [esp + 0x90]
add dword [esp + 0x1c], 0x6fdc274b
mov eax, 0x38e815c3
mul dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
mov eax, 0x3a1a82c3
mul dword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
mov eax, 0x715bf2f7
mul dword [esp + 0x38]
mov eax, dword [esp + 0x38]
add dword [esp + 0xe4], 0x78d847fc
push 0
push 0
push 0
push 0
push 0
call ebp
cmp esi, 0x242677
jg 0x4038e5
inc esi
cmp esi, 0x15a22980
jl 0x4032b0
mov edi, dword [sym.imp.USER32.dll_GetMenuItemID]
mov ebx, dword [sym.imp.USER32.dll_LoadMenuA]
mov esi, 0x4f4
push 0
push 0
call edi
push 0
push 0
call ebx
sub esi, 1
jne 0x4038f6
call fcn.00402f90
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleW]
cmp esi, 0xbde
jne 0x40391f
call fcn.00403040
cmp dword [0x4385b4], 0x1125
jne 0x40393a
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
call edi
inc esi
cmp esi, 0x409495
jl 0x403912
mov esi, dword [sym.imp.KERNEL32.dll_AddAtomA]
mov edi, 0x7b
mov edi, edi
cmp dword [0x4385b4], 0x86
jne 0x403960
push 0
call esi
sub edi, 1
jne 0x403950
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov edi, dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
mov ebp, dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
mov dword [esp + 0x10], 0x180ee
cmp dword [0x4385b4], 0x1f
jne 0x4039e9
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x124]
push edx
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push 0
call edi
xor eax, eax
lea ecx, [esp + 0x104]
push ecx
push eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
call ebx
push 0
push 0
push 0
call ebp
sub dword [esp + 0x10], 1
jne 0x403985
push 0x402c10
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x437190]
pop edi
pop esi
pop ebp
mov dword [0x4385a8], eax
pop ebx
add esp, 0xd08
jmp eax