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

Disassembly:
mov eax, 0x11a8
call fcn.0040d780
mov eax, dword [esp + 0x11ac]
mov ecx, dword [eax]
mov edx, dword [0x43ffc0]
push ebx
push ebp
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x43ffc4]
mov dword [esp + 0x2c], eax
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x2c], 0x9e3779b9
mov dword [esp + 0x28], edx
call fcn.00404f40
mov ecx, dword [0x43ffc8]
mov edx, dword [0x43ffcc]
add dword [esp + 0x10], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edi, dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], 0x20
jmp 0x404fd6
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], 2
add dword [esp + 0x1c], 3
mov eax, dword [esp + 0x18]
mov edx, dword [0x5e52cc]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x3c]
cmp edx, 0xfa9
jne 0x40500a
mov dword [0x5e52c8], 0xedeb2e40
jmp 0x40501c
cmp edx, 0x3eb
jne 0x40501c
mov dword [0x5e4d58], 0
mov edx, dword [esp + 0x10]
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 + 0x34]
xor ecx, edx
xor eax, ecx
cmp dword [0x5e52cc], 0x213
mov dword [0x5e52c4], 0xf4ea3dee
mov dword [esp + 0x14], eax
jne 0x405129
push 0
lea eax, [esp + 0x9bc]
push eax
push 0
push 0
push 0
push 0
call ebx
lea ecx, [esp + 0x1b8]
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 0x404c9c
push 0
call edi
push 0
push 0x404cac
push 0x404cb8
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 + 0x5b8]
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.00409dd0
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 + 0xdbc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [esp + 0x14]
sub esi, eax
cmp dword [0x5e52cc], 0xc
mov dword [esp + 0x24], esi
jne 0x40514f
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 ecx, dword [esp + 0x10]
mov edx, esi
shr edx, 5
add ecx, esi
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x30]
add dword [esp + 0x14], eax
shl esi, 4
add esi, dword [esp + 0x28]
xor esi, ecx
cmp dword [0x5e52cc], 0xb03
jne 0x405192
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0x404ccc
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor esi, dword [esp + 0x14]
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x38]
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x10], eax
dec dword [esp + 0x20]
jne 0x404fd2
mov eax, dword [esp + 0x11bc]
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, 0x11a8
ret 4