Function at 0x404fa7
Capabilities:
Get common file path
Get disk information
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1130
call fcn.0040f470
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [0x442348]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [0x44234c]
push esi
xor esi, esi
mov dword [ebp - 0x28], eax
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], esi
call fcn.00404fa0
mov eax, dword [0x442350]
add dword [ebp - 0x14], 0x23f
mov edi, dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
mov dword [ebp - 0x30], eax
mov eax, dword [0x442354]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, dword [ebp - 0xc]
mov edx, dword [0x5e7654]
mov ecx, eax
shl ecx, 4
add ecx, dword [ebp - 0x30]
cmp edx, 0xfa9
jne 0x405034
mov dword [0x5e7650], 0xedeb2e40
cmp edx, 0x3eb
jne 0x405042
mov dword [0x5e70e0], esi
mov edx, dword [ebp - 0x14]
add edx, eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x2c]
xor ecx, edx
xor eax, ecx
cmp dword [0x5e7654], 0x213
mov dword [0x5e764c], 0xf4ea3dee
mov dword [ebp - 8], eax
jne 0x40513e
push esi
lea eax, [ebp - 0xd2c]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea eax, [ebp - 0x52c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push esi
push esi
push esi
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push 0x404cc8
push esi
call edi
push esi
push 0x404ce4
push 0x404cf4
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCommState]
push esi
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
lea eax, [ebp - 0x92c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x30
lea eax, [ebp - 0x68]
push esi
push eax
mov dword [ebp - 0x6c], esi
call fcn.004090a0
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push esi
lea eax, [ebp - 0x112c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [ebp - 8]
sub dword [ebp - 0x18], eax
cmp dword [0x5e7654], 0xc
jne 0x40515b
lea eax, [ebp - 0x38]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push esi
push esi
call edi
mov ebx, dword [ebp - 0x18]
mov eax, ebx
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x18]
shl ebx, 4
add ebx, dword [ebp - 0x20]
xor ebx, ecx
cmp dword [0x5e7654], 0xb03
jne 0x40519a
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0x404d0c
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ebx, dword [ebp - 8]
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0xc], eax
add dword [ebp - 0x14], 0x61c88647
dec dword [ebp - 0x1c]
jne 0x405006
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4