Function at 0x408c60
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.00408680
mov eax, dword [0x460004]
xor eax, esp
mov dword [esp + 0x1140], eax
mov edx, dword [0x2b86f1c]
push ebp
push esi
xor ebp, ebp
push edi
cmp edx, 0x7c
jne 0x408cf8
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
push ebp
call dword [sym.imp.KERNEL32.dll_IsBadHugeReadPtr]
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 [0x2b86f1c], 0x2d
jne 0x408cd3
push ebp
lea ecx, [esp + 0x10]
push ecx
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 edx, [esp + 0x10]
push edx
call section..text
mov edx, dword [0x2b86f1c]
mov ecx, dword [0x461cf0]
xor eax, eax
mov edi, 0xec58acac
or esi, 0xffffffff
cmp eax, 0x8450db
jne 0x408d15
lea edx, [ecx + 0xa231]
cmp edx, 0x141
jne 0x408d29
mov dword [0x462af8], edi
mov dword [0x462afc], esi
inc eax
cmp eax, 0xb9fa618
jl 0x408d08
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [0x2b86f1c], edx
xor esi, esi
nop
cmp esi, 0x562d05
jne 0x408d52
mov eax, dword [0x461ce4]
mov dword [0x2b86f20], eax
cmp edx, 0x3c
jne 0x408d60
push ebp
call edi
mov edx, dword [0x2b86f1c]
inc esi
cmp esi, 0x5f6c74
jl 0x408d40
cmp edx, 0x110a
jne 0x408de5
push ebp
mov dword [0x2b86de8], ebp
mov dword [0x2b86dec], 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]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
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 eax, [esp + 0x10]
push eax
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 ecx, dword [0x2b86f1c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov dword [0x2b86c44], eax
cmp dword [0x2b86f1c], ebp
jbe 0x408e5e
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x408e20
mov edx, dword [0x2b86f20]
mov dword [esp + 0xc], edx
mov eax, 0xa231
add dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov cl, byte [eax + esi]
mov edx, dword [0x2b86c44]
mov byte [edx + esi], cl
cmp dword [0x2b86f1c], 0x5ab
jne 0x408e55
push ebp
push ebp
push ebp
push ebp
call edi
inc esi
cmp esi, dword [0x2b86f1c]
jb 0x408e20
push ebx
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00408940
mov eax, dword [0x2b86f1c]
mov edi, dword [0x2b86c44]
mov ebx, dword [0x460ed0]
mov esi, eax
cmp eax, 0x930
jne 0x408e95
push ebp
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2b86f1c]
mov dword [0x2b86c40], ebx
cmp eax, 0x114e
jne 0x408eb8
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 [0x2b86f1c]
cmp eax, 0x2f
jne 0x408ee8
push ebp
lea eax, [esp + 0x954]
push eax
push ebp
push str.Giy_zusud_huhapilovaf_sarusamuyul
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
push ebp
lea ecx, [esp + 0x154]
push ecx
push str.Sugivoyayuj_yiwicohawufufa_xalumapacib_musihobifuv_juj
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push esi
push edi
call fcn.00408a90
add dword [0x2b86c44], 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 0x408f1d
cmp ebx, 0xf5bed7
jne 0x408f26
inc esi
cmp esi, 0x1ece7a52
jl 0x408f08
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 0x408f50
cmp dword [0x2b86f1c], 0xcc1
jne 0x408f5e
call ebx
cmp dword [0x2b86f1c], 0x3dc
mov dword [0x2b86de4], ebp
jne 0x408f7e
push 0
push 0
push 0
push 0
call esi
push 0
call edi
dec dword [esp + 0x10]
jne 0x408f50
mov ecx, dword [esp + 0x1150]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0040105b
add esp, 0x1144
ret