Function at 0x403448
Capabilities:
Get common file path
Get hostname
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1cdc
call fcn.0040ac00
push ebx
push esi
xor esi, esi
cmp dword [0x8c2088], 0x5b1
push edi
jne 0x4034bb
xor eax, eax
mov word [esp + 0x10], ax
lea edi, [esp + 0x12]
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x8f0]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
call fcn.00403aaa
pop ecx
push esi
call fcn.00403d70
add dword [0x8c2088], 0x1134b
push dword [0x8c2088]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x8c0fd8], eax
call fcn.00403393
mov ebx, dword [sym.imp.KERNEL32.dll_SetComputerNameW]
xor edi, edi
cmp dword [0x8c2088], esi
jbe 0x40352d
mov eax, dword [0x8c208c]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x8c0fd8]
mov byte [ecx + edi], al
cmp dword [0x8c2088], 0xa8
jne 0x403524
push esi
call ebx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
inc edi
cmp edi, dword [0x8c2088]
jb 0x4034ec
mov dword [esp + 0x10], esi
mov eax, dword [0x8c2088]
mov ecx, dword [esp + 0x10]
add eax, ecx
cmp eax, 0xe
jne 0x4035e0
push esi
push esi
push 0x4026e0
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
push esi
lea eax, [esp + 0x4ec]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0x402724
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
lea eax, [esp + 0x10f0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
lea eax, [esp + 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
xor eax, eax
mov word [esp + 0x18], ax
lea edi, [esp + 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
lea eax, [esp + 0x14ec]
push eax
push esi
lea eax, [esp + 0x24]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
push esi
call ebx
push esi
push esi
lea eax, [esp + 0x8f0]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x39621
jl 0x403531
call fcn.004032cf
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x26
jne 0x403609
call fcn.00403379
inc edi
cmp edi, 0x6753f
jl 0x4035f9
push 0x7b
pop ebx
cmp dword [0x8c2088], 0x86
jne 0x403675
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor eax, eax
mov word [esp + 0x28], ax
lea edi, [esp + 0x2a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x18], ax
lea edi, [esp + 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push esi
lea eax, [esp + 0x14ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [0x8c2088], 0xf
jne 0x40368a
push esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
dec ebx
jne 0x403615
call fcn.004030a7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret