Function at 0x4094a9
Capabilities:
Enumerate pe sections
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x2000
push 0
mov eax, dword [ebp - 0x24]
add eax, 0x18
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0xc], 0x2000
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x24]
add edx, 0x601c
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [eax + 8], 1
push 0
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x10]
push eax
push 1
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.ws2_32.dll_WSARecv]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x40969c
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3e5
jne 0x4095c3
mov ecx, dword [ebp - 0x24]
call fcn.00408780
and eax, 0xff
cmp eax, 0xcd
je 0x409566
mov ecx, dword [ebp - 0x24]
call fcn.00408780
and eax, 0xff
cmp eax, 2
jne 0x4095bc
mov ecx, dword [ebp - 0x24]
mov dx, word [ecx + 6]
add dx, 1
mov eax, dword [ebp - 0x24]
mov word [eax + 6], dx
mov ecx, 1
test ecx, ecx
je 0x40958a
mov dword [ebp - 0x28], 0
jmp 0x4095ab
mov edx, dword [ebp - 0x24]
movsx eax, word [edx + 6]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004087a0
push eax
push str.__d__m_nPending___d
call fcn.00404590
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
movsx edx, word [ecx + 6]
cmp edx, 3
jle 0x4095bc
jmp 0x409705
xor eax, eax
jmp 0x409707
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cl, byte [eax + 0x6045]
cmp ecx, 1
je 0x4095e8
mov edx, dword [ebp - 0x24]
xor eax, eax
mov al, byte [edx + 0x6045]
cmp eax, 3
je 0x4095e8
jmp 0x409703
cmp dword [ebp - 0x20], 0x2733
jne 0x409647
mov ecx, 1
test ecx, ecx
je 0x409603
mov dword [ebp - 0x2c], 0
jmp 0x40961d
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x6048]
push eax
push str.RECV_:_WOULDBLOCK_SID_d__n
call fcn.00404590
add esp, 8
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x24]
mov dx, word [ecx + 8]
add dx, 1
mov eax, dword [ebp - 0x24]
mov word [eax + 8], dx
mov ecx, dword [ebp - 0x24]
movsx edx, word [ecx + 8]
cmp edx, 3
jle 0x409640
jmp 0x409701
xor eax, eax
jmp 0x409707
mov eax, 1
test eax, eax
je 0x409659
mov dword [ebp - 0x30], 0
jmp 0x409677
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x6048]
push eax
push str.RECV_:_ERROR__SID_d_____d_n
call fcn.00404590
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x24]
mov dx, word [ecx + 4]
add dx, 1
mov eax, dword [ebp - 0x24]
mov word [eax + 4], dx
mov ecx, dword [ebp - 0x24]
movsx edx, word [ecx + 4]
cmp edx, 2
jl 0x409697
jmp 0x4096ff
or eax, 0xffffffff
jmp 0x409707
mov eax, dword [ebp - 0x10]
jmp 0x409707
mov eax, dword [ebp - 0x24]
add eax, 0x601c
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 3
mov edx, dword [ebp - 0x24]
xor eax, eax
mov al, byte [edx + 0x6044]
cmp eax, 1
jne 0x4096d4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
jmp 0x4096e0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x6048]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.kernel32.dll_PostQueuedCompletionStatus]
or eax, 0xffffffff
jmp 0x409707
jmp 0x4096a1
jmp 0x4096a1
jmp 0x4096a1
jmp 0x4096a1
mov esp, ebp
pop ebp
ret