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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2a58
call fcn.004114d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [str.AuEd]
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x44e57c]
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.00404b90
mov edx, dword [0x44e580]
mov eax, dword [0x44e584]
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 [0x45cafc]
shl edi, 4
add edi, dword [ebp - 0x24]
cmp eax, 0xfa9
jne 0x404c35
mov dword [0x45caf8], 0xedeb2e40
jmp 0x404c50
cmp eax, 0x3eb
jne 0x404c50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [0x45c584], 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 [0x45cafc], 0x9e6
mov dword [0x45caf4], 0xf4ea3dee
jne 0x404c89
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor dword [ebp - 8], edi
cmp dword [0x45cafc], 0x213
jne 0x404d9f
push 0
lea ecx, [ebp - 0xa54]
push ecx
push 0
push 0x404728
push 0
push 0
call ebx
lea edx, [ebp - 0x2254]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
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_EnumTimeFormatsW]
lea ecx, [ebp - 0x1654]
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.00407a10
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
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_InterlockedExchangeAdd]
push 0
lea edx, [ebp - 0x1e54]
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 - 0x2a54]
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 [0x45cafc], 0xc
mov dword [ebp - 0x18], edi
jne 0x404dc3
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 [0x45cafc], 0xb03
jne 0x404dfb
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 0x404c09
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