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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1138
call fcn.0040f740
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x442340]
mov dword [ebp - 0x24], eax
mov eax, dword [0x442344]
xor esi, esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], 0x9e3779b9
call fcn.00404fa0
mov eax, dword [0x442348]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x44234c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x20
jmp 0x40500f
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, dword [ebp - 0x10]
mov edx, dword [0x246be54]
mov ecx, eax
shl ecx, 4
add ecx, dword [ebp - 0x2c]
cmp edx, 0xfa9
jne 0x40503d
mov dword [0x246be50], 0xedeb2e40
cmp edx, 0x3eb
jne 0x40504b
mov dword [0x246b8e0], esi
mov edx, dword [ebp - 8]
add edx, eax
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x28]
xor ecx, edx
xor eax, ecx
cmp dword [0x246be54], 0x213
mov dword [0x246be4c], 0xf4ea3dee
mov dword [ebp - 0xc], eax
jne 0x405147
push esi
lea eax, [ebp - 0xd34]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea eax, [ebp - 0x534]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push esi
push esi
push esi
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push 0x404cd8
push esi
call ebx
push esi
push 0x404cf8
push 0x404d10
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 - 0x3c]
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 - 0x934]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x30
lea eax, [ebp - 0x6c]
push esi
push eax
mov dword [ebp - 0x70], esi
call fcn.004095f0
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
lea eax, [ebp - 0x90]
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 - 0x1134]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [ebp - 0xc]
sub edi, eax
cmp dword [0x246be54], 0xc
mov dword [ebp - 0x1c], edi
jne 0x405166
lea eax, [ebp - 0x38]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push esi
push esi
call ebx
mov ecx, dword [ebp - 8]
mov eax, edi
shr eax, 5
add ecx, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 0xc], eax
shl edi, 4
add edi, dword [ebp - 0x24]
xor edi, ecx
cmp dword [0x246be54], 0xb03
jne 0x4051a1
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0x404d24
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
xor edi, dword [ebp - 0xc]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 8], eax
dec dword [ebp - 0x18]
jne 0x40500c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4