Function at 0x408c60
Capabilities:
Connect pipe
Get common file path
Get geographical location
Get hostname
Set console window title
Set current directory

Disassembly:
mov eax, 0x1144
call fcn.00408680
mov eax, dword [0x435004]
xor eax, esp
mov dword [esp + 0x1140], eax
mov edx, dword [0x2b5bf1c]
push ebp
push esi
xor ebp, ebp
push edi
cmp edx, 0x7c
jne 0x408cf9
push ebp
push ebp
call dword [sym.imp.USER32.dll_LoadIconA]
push ebp
call dword [sym.imp.KERNEL32.dll_FindVolumeMountPointClose]
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 [0x2b5bf1c], 0x2d
jne 0x408cd4
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 [0x2b5bf1c]
mov ecx, dword [0x436cf0]
xor eax, eax
mov edi, 0xec58acac
or esi, 0xffffffff
lea esp, [esp]
cmp eax, 0x8450db
jne 0x408d1d
lea edx, [ecx + 0xa231]
cmp edx, 0x141
jne 0x408d31
mov dword [0x437af8], edi
mov dword [0x437afc], esi
inc eax
cmp eax, 0xb9fa618
jl 0x408d10
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [0x2b5bf1c], edx
xor esi, esi
cmp esi, 0x562d05
jne 0x408d59
mov eax, dword [0x436ce4]
mov dword [0x2b5bf20], eax
cmp edx, 0x3c
jne 0x408d67
push ebp
call edi
mov edx, dword [0x2b5bf1c]
inc esi
cmp esi, 0x5f6c74
jl 0x408d47
cmp edx, 0x110a
jne 0x408dec
push ebp
mov dword [0x2b5bde8], ebp
mov dword [0x2b5bdec], ebp
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
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 [0x2b5bf1c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov dword [0x2b5bc44], eax
cmp dword [0x2b5bf1c], ebp
jbe 0x408e5e
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
lea ebx, [ebx]
mov edx, dword [0x2b5bf20]
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 [0x2b5bc44]
mov byte [edx + esi], cl
cmp dword [0x2b5bf1c], 0x5ab
jne 0x408e55
push ebp
push ebp
push ebp
push ebp
call edi
inc esi
cmp esi, dword [0x2b5bf1c]
jb 0x408e20
push ebx
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00408940
mov eax, dword [0x2b5bf1c]
mov edi, dword [0x2b5bc44]
mov ebx, dword [0x435ed0]
mov esi, eax
cmp eax, 0x930
jne 0x408e95
push ebp
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2b5bf1c]
mov dword [0x2b5bc40], 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 [0x2b5bf1c]
cmp eax, 0x2f
jne 0x408ee4
push ebp
lea eax, [esp + 0x154]
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 + 0x954]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push esi
push edi
call fcn.00408a90
add dword [0x2b5bc44], 0x2333
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 0x408f19
cmp ebx, 0xf5bed7
jne 0x408f22
inc esi
cmp esi, 0x1ece7a52
jl 0x408f04
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
cmp dword [0x2b5bf1c], 0xcc1
jne 0x408f4f
call ebx
cmp dword [0x2b5bf1c], 0x3dc
mov dword [0x2b5bde4], ebp
jne 0x408f6f
push 0
push 0
push 0
push 0
call esi
push 0
call edi
dec dword [esp + 0x10]
jne 0x408f41
mov ecx, dword [esp + 0x1150]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0040105b
add esp, 0x1144
ret