Function at 0x4032a0
Capabilities:
Get common file path
Get disk information
Get geographical location
Get hostname
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x26f0
call fcn.00410080
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [0x45d468]
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [0x45d46c]
mov dword [ebp - 0x24], eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x2c], 0x9e3779b9
mov dword [ebp - 0x20], ecx
call fcn.00403290
mov edx, dword [0x45d470]
mov eax, dword [0x45d474]
add dword [ebp - 0xc], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov esi, dword [ebp - 0x10]
mov eax, dword [0x46b9f4]
shl esi, 4
add esi, dword [ebp - 0x30]
cmp eax, 0xfa9
jne 0x40333c
mov dword [0x46b9f0], 0xedeb2e40
jmp 0x403357
cmp eax, 0x3eb
jne 0x403357
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [0x46b480], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add ecx, edx
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
xor esi, ecx
cmp dword [0x46b9f4], 0x9e6
mov dword [0x46b9ec], 0xf4ea3dee
jne 0x403390
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor dword [ebp - 8], esi
cmp dword [0x46b9f4], 0x213
jne 0x4034c5
push 0
lea ecx, [ebp - 0xeec]
push ecx
push 0
push 0x402db8
push 0
push 0
call ebx
lea edx, [ebp - 0x6ec]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
push 0
push 0
lea eax, [ebp - 0x2ec]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x12ec]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommError]
lea eax, [ebp - 0x40]
push eax
call edi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0
push 0
lea ecx, [ebp - 0x1eec]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0x30
lea edx, [ebp - 0x7c]
push 0
push edx
mov dword [ebp - 0x80], 0
call fcn.004057d0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
lea ecx, [ebp - 0x38]
push ecx
push 0
lea edx, [ebp - 0x94]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
lea eax, [ebp - 0x1cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ecx, [ebp - 0xb4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
push 0
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
lea ecx, [ebp - 0x1aec]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
push 0
lea edx, [ebp - 0x26ec]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x4c]
push eax
call edi
mov esi, dword [ebp - 0x18]
sub esi, dword [ebp - 8]
cmp dword [0x46b9f4], 0xc
mov dword [ebp - 0x18], esi
jne 0x4034e9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov ecx, dword [ebp - 0xc]
mov edx, esi
shr edx, 5
add ecx, esi
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], eax
shl esi, 4
add esi, dword [ebp - 0x24]
xor esi, ecx
cmp dword [0x46b9f4], 0xb03
jne 0x40351e
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
xor esi, dword [ebp - 8]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x1c], 1
jne 0x403310
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
pop edi
pop esi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret 4