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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x434004]
xor eax, esp
mov dword [esp + 0x430], eax
mov edx, dword [0x2b5ae24]
push ebx
push esi
xor ebx, ebx
push edi
cmp edx, 0x7c
jne 0x409f1e
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadIconA]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push ebx
lea eax, [esp + 0x3c]
push eax
push ebx
push str.jopofugefimeto
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
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 [0x2b5ae24], 0x2d
jne 0x409ef9
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 + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00401267
add esp, 4
lea edx, [esp + 0x10]
push edx
call section..text
mov edx, dword [0x2b5ae24]
mov ecx, dword [0x435cf0]
xor eax, eax
mov edi, 0xec58acac
or esi, 0xffffffff
mov edi, edi
cmp eax, 0x8450db
jne 0x409f3d
lea edx, [ecx + 0xa231]
cmp edx, 0x141
jne 0x409f51
mov dword [0x436a00], edi
mov dword [0x436a04], esi
inc eax
cmp eax, 0xb9fa618
jl 0x409f30
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [0x2b5ae24], edx
xor esi, esi
cmp esi, 0x562d05
jne 0x409f79
mov eax, dword [0x435ce4]
mov dword [0x2b5ae28], eax
cmp edx, 0x3c
jne 0x409f87
push ebx
call edi
mov edx, dword [0x2b5ae24]
inc esi
cmp esi, 0x5f6c74
jl 0x409f67
cmp edx, 0x110a
jne 0x40a01e
push ebx
mov dword [0x2b5acf0], ebx
mov dword [0x2b5acf4], 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 + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommState]
push ebx
push ebx
call fcn.004010ee
push str.0__s__d__f
call fcn.0040123f
add esp, 0xc
push ebx
call fcn.0040112e
add esp, 4
push ebx
call fcn.0040112e
add esp, 4
push 0x4325fc
push 0x436978
call fcn.0040106a
add esp, 8
push ebx
call fcn.00401500
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [0x2b5ae24]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov dword [0x2b5ab4c], eax
cmp dword [0x2b5ae24], ebx
jbe 0x40a08e
mov edi, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
lea esp, [esp]
mov eax, dword [0x2b5ae28]
mov dword [esp + 0xc], eax
mov eax, 0xa231
add dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
mov dl, byte [ecx + esi]
mov eax, dword [0x2b5ab4c]
mov byte [eax + esi], dl
cmp dword [0x2b5ae24], 0x5ab
jne 0x40a085
push ebx
push 0x432600
call edi
inc esi
cmp esi, dword [0x2b5ae24]
jb 0x40a050
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00409b70
call fcn.00409d70
add dword [0x2b5ab4c], 0
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetAtomNameW]
xor esi, esi
lea esp, [esp]
push 0
push 0
push 0
call edi
cmp esi, 0x1a01e
jle 0x40a0d8
cmp ebx, 0xf5bed7
jne 0x40a0e1
inc esi
cmp esi, 0x1ece7a52
jl 0x40a0c0
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 [0x2b5ae24], 0xcc1
jne 0x40a10e
call edi
cmp dword [0x2b5ae24], 0x3dc
mov dword [0x2b5acec], ebx
jne 0x40a124
push 0
call esi
dec dword [esp + 0xc]
jne 0x40a100
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040105b
mov esp, ebp
pop ebp
ret