Function at 0x403340
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.00410190
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [str.qfsq]
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [0x48146c]
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.00403330
mov edx, dword [0x481470]
mov eax, dword [0x481474]
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 [0x48f9f4]
shl esi, 4
add esi, dword [ebp - 0x30]
cmp eax, 0xfa9
jne 0x4033dc
mov dword [0x48f9f0], 0xedeb2e40
jmp 0x4033f7
cmp eax, 0x3eb
jne 0x4033f7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [0x48f480], 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 [0x48f9f4], 0x9e6
mov dword [0x48f9ec], 0xf4ea3dee
jne 0x403430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor dword [ebp - 8], esi
cmp dword [0x48f9f4], 0x213
jne 0x403565
push 0
lea ecx, [ebp - 0xeec]
push ecx
push 0
push 0x402dc8
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.004056b0
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 [0x48f9f4], 0xc
mov dword [ebp - 0x18], esi
jne 0x403589
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 [0x48f9f4], 0xb03
jne 0x4035be
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 0x4033b0
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