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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2e58
call fcn.0040f260
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [0x44c578]
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x44c57c]
mov dword [ebp - 0x28], eax
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], ecx
call fcn.004031a0
mov edx, dword [0x44c580]
mov eax, dword [0x44c584]
add dword [ebp - 0x14], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov edi, dword [ebp - 0xc]
mov eax, dword [0x45aaf4]
shl edi, 4
add edi, dword [ebp - 0x24]
cmp eax, 0xfa9
jne 0x403245
mov dword [0x45aaf0], 0xedeb2e40
jmp 0x403260
cmp eax, 0x3eb
jne 0x403260
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [0x45a57c], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add ecx, edx
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
xor edi, ecx
cmp dword [0x45aaf4], 0x9e6
mov dword [0x45aaec], 0xf4ea3dee
jne 0x403299
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor dword [ebp - 8], edi
cmp dword [0x45aaf4], 0x213
jne 0x4033af
push 0
lea ecx, [ebp - 0x1a54]
push ecx
push 0
push 0x402d18
push 0
push 0
call ebx
lea edx, [ebp - 0xa54]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
push 0
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x1254]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommError]
lea eax, [ebp - 0x34]
push eax
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
lea ecx, [ebp - 0x2654]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x30
lea edx, [ebp - 0x74]
push 0
push edx
mov dword [ebp - 0x78], 0
call fcn.00408cc0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
lea eax, [ebp - 0x40]
push eax
call esi
push 0
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
lea edx, [ebp - 0x2254]
push edx
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_GetCurrencyFormatA]
push 0
lea eax, [ebp - 0x2e54]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea ecx, [ebp - 0x3c]
push ecx
call esi
mov edi, dword [ebp - 0x18]
sub edi, dword [ebp - 8]
cmp dword [0x45aaf4], 0xc
mov dword [ebp - 0x18], edi
jne 0x4033d3
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov edx, edi
shr edx, 5
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
shl edi, 4
add edi, dword [ebp - 0x28]
add ecx, eax
xor edi, ecx
cmp dword [0x45aaf4], 0xb03
jne 0x40340b
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
xor edi, dword [ebp - 8]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
sub dword [ebp - 0xc], eax
add dword [ebp - 0x14], 0x61c88647
sub dword [ebp - 0x1c], 1
jne 0x403219
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
pop edi
pop esi
mov dword [eax], edx
mov dword [eax + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4