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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e48
call fcn.004089d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x436dc0]
push ebx
mov dword [ebp - 0x24], eax
mov eax, dword [0x436dc4]
push esi
xor esi, esi
mov dword [ebp - 0x1c], eax
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], esi
call fcn.00402c10
mov eax, dword [0x436dc8]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [0x436dcc]
add ebx, 0x23f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, dword [ebp - 0xc]
mov edx, dword [0x244ecec]
mov ecx, eax
shl ecx, 4
add ecx, dword [ebp - 0x20]
cmp edx, 0xfa9
jne 0x402ca0
mov dword [0x244ece8], 0xedeb2e40
cmp edx, 0x3eb
jne 0x402cae
mov dword [0x244e774], esi
lea edx, [ebx + eax]
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x28]
xor ecx, edx
xor eax, ecx
cmp dword [0x244ecec], 0x213
mov dword [0x244ece4], 0xf4ea3dee
mov dword [ebp - 8], eax
jne 0x402dc2
push esi
lea eax, [ebp - 0xa44]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea eax, [ebp - 0x1644]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push esi
push esi
push esi
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommState]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LoadModule]
push esi
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
lea eax, [ebp - 0x1244]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x30
lea eax, [ebp - 0x64]
push esi
push eax
mov dword [ebp - 0x68], esi
call fcn.00406ea0
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
lea eax, [ebp - 0x644]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push esi
lea eax, [ebp - 0x1e44]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [ebp - 8]
sub dword [ebp - 0x14], eax
cmp dword [0x244ecec], 0xc
jne 0x402ddd
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnfix]
mov edi, dword [ebp - 0x14]
mov eax, edi
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
shl edi, 4
add edi, dword [ebp - 0x24]
add eax, ebx
xor edi, eax
cmp dword [0x244ecec], 0xb03
jne 0x402e1b
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push 0x402a00
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
xor edi, dword [ebp - 8]
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0xc], eax
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x402c72
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4