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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22c8
call fcn.00439c10
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x440210]
push ebx
mov dword [ebp - 0x24], eax
mov eax, dword [0x440214]
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.0042fd50
mov eax, dword [0x440218]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [0x44021c]
add ebx, 0x23f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov edi, dword [ebp - 0xc]
mov eax, dword [0x474034]
shl edi, 4
add edi, dword [ebp - 0x20]
cmp eax, 0xfa9
jne 0x42fddc
mov dword [0x474030], 0xedeb2e40
cmp eax, 0x3eb
jne 0x42fdf0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [0x473abc], esi
mov eax, dword [ebp - 0xc]
lea ecx, [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 edi, ecx
xor eax, edi
cmp dword [0x474034], 0x213
mov dword [0x47402c], 0xf4ea3dee
mov dword [ebp - 8], eax
jne 0x42ff06
push esi
lea eax, [ebp - 0x1ac4]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea eax, [ebp - 0x6c4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push esi
push esi
push esi
lea eax, [ebp - 0x1ac]
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_GetStdHandle]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCommState]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LoadModule]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
lea eax, [ebp - 0xec4]
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.00437830
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
lea eax, [ebp - 0x2c4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
lea eax, [ebp - 0x16c4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push esi
lea eax, [ebp - 0x22c4]
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 [0x474034], 0xc
jne 0x42ff21
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnfix]
mov ecx, dword [ebp - 0x14]
mov eax, ecx
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 8], eax
mov edi, ecx
shl edi, 4
add edi, dword [ebp - 0x24]
lea eax, [ebx + ecx]
xor edi, eax
cmp dword [0x474034], 0xb03
jne 0x42ff5f
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0x42fb20
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
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 0x42fdb2
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