Function at 0x404f90
Capabilities:
Get common file path
Get disk information
Get geographical location
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x15a8
call fcn.0040f300
mov eax, dword [esp + 0x15ac]
mov ecx, dword [eax]
mov edx, dword [0x442338]
push ebx
push ebp
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x44233c]
mov dword [esp + 0x34], eax
push edi
lea eax, [esp + 0x20]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], edx
call fcn.00404f80
mov ecx, dword [0x442340]
mov edx, dword [0x442344]
add dword [esp + 0x20], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edi, dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], 0x20
jmp 0x405014
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], 2
add dword [esp + 0x1c], 3
mov eax, dword [esp + 0x18]
mov edx, dword [0x5e7654]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x30]
cmp edx, 0xfa9
jne 0x405048
mov dword [0x5e7650], 0xedeb2e40
jmp 0x40505a
cmp edx, 0x3eb
jne 0x40505a
mov dword [0x5e70e0], 0
mov edx, dword [esp + 0x20]
add edx, eax
mov eax, dword [esp + 0x18]
shr eax, 5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x3c]
xor ecx, edx
xor eax, ecx
cmp dword [0x5e7654], 0x213
mov dword [0x5e764c], 0xf4ea3dee
mov dword [esp + 0x14], eax
jne 0x405167
push 0
lea eax, [esp + 0xdbc]
push eax
push 0
push 0
push 0
push 0
call ebx
lea ecx, [esp + 0x9b8]
push ecx
push 0
call ebp
push 0
push 0
push 0
lea edx, [esp + 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push 0x404cdc
push 0
call edi
push 0
push 0x404cec
push 0x404cf8
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
lea eax, [esp + 0x1b8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x30
lea ecx, [esp + 0x4c]
push 0
push ecx
mov dword [esp + 0x50], 0
call fcn.00409020
add esp, 0xc
lea edx, [esp + 0x44]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
lea ecx, [esp + 0x5bc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [esp + 0x14]
sub esi, eax
cmp dword [0x5e7654], 0xc
mov dword [esp + 0x24], esi
jne 0x40518d
lea edx, [esp + 0x40]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 0
push 0
call edi
mov eax, esi
shr eax, 5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x14], eax
mov edx, dword [esp + 0x20]
add edx, dword [esp + 0x24]
shl esi, 4
add esi, dword [esp + 0x2c]
xor esi, edx
cmp dword [0x5e7654], 0xb03
jne 0x4051d2
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0x404d0c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor esi, dword [esp + 0x14]
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x34]
sub dword [esp + 0x18], eax
add dword [esp + 0x20], 0x61c88647
dec dword [esp + 0x28]
jne 0x405010
mov eax, dword [esp + 0x15bc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
add esp, 0x15a8
ret 4