Function at 0x4095c1
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 0x4097b4
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3e5
jne 0x4096db
mov ecx, dword [ebp - 0x24]
call fcn.004087d0
and eax, 0xff
cmp eax, 0xcd
je 0x40967e
mov ecx, dword [ebp - 0x24]
call fcn.004087d0
and eax, 0xff
cmp eax, 2
jne 0x4096d4
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 0x4096a2
mov dword [ebp - 0x28], 0
jmp 0x4096c3
mov edx, dword [ebp - 0x24]
movsx eax, word [edx + 6]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004087f0
push eax
push str.__d__m_nPending___d
call fcn.004045e0
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
movsx edx, word [ecx + 6]
cmp edx, 3
jle 0x4096d4
jmp 0x40981d
xor eax, eax
jmp 0x40981f
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cl, byte [eax + 0x6045]
cmp ecx, 1
je 0x409700
mov edx, dword [ebp - 0x24]
xor eax, eax
mov al, byte [edx + 0x6045]
cmp eax, 3
je 0x409700
jmp 0x40981b
cmp dword [ebp - 0x20], 0x2733
jne 0x40975f
mov ecx, 1
test ecx, ecx
je 0x40971b
mov dword [ebp - 0x2c], 0
jmp 0x409735
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x6048]
push eax
push str.RECV_:_WOULDBLOCK_SID_d__n
call fcn.004045e0
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 0x409758
jmp 0x409819
xor eax, eax
jmp 0x40981f
mov eax, 1
test eax, eax
je 0x409771
mov dword [ebp - 0x30], 0
jmp 0x40978f
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.004045e0
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 0x4097af
jmp 0x409817
or eax, 0xffffffff
jmp 0x40981f
mov eax, dword [ebp - 0x10]
jmp 0x40981f
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 0x4097ec
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
jmp 0x4097f8
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 0x40981f
jmp 0x4097b9
jmp 0x4097b9
jmp 0x4097b9
jmp 0x4097b9
mov esp, ebp
pop ebp
ret