Function at 0x10013100
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x1024bc08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
xor esi, esi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], esi
push 1
rep stosd dword es:[edi], eax
push 0x102e1ae0
lea ecx, [esp + 0x18]
call fcn.10091800
mov ebp, dword [esp + 0x58]
mov ecx, dword [0x102e1b00]
mov ebx, ebp
xor edx, edx
shr ebx, 4
mov eax, ebx
mov dword [esp + 0x50], esi
div dword [0x102e1b04]
cmp ecx, esi
je 0x10013366
mov eax, dword [ecx + edx*4]
cmp eax, esi
je 0x10013176
cmp dword [eax + 8], ebp
je 0x1001319a
mov eax, dword [eax]
cmp eax, esi
jne 0x1001316b
mov eax, dword [ecx + edx*4]
lea ecx, [ecx + edx*4]
cmp eax, esi
je 0x10013366
cmp dword [eax + 8], ebp
je 0x1001333e
mov ecx, eax
mov eax, dword [eax]
cmp eax, esi
jne 0x10013184
jmp 0x10013366
cmp eax, esi
je 0x10013176
lea esi, [eax + 0xc]
mov ecx, 0xb
lea edi, [esp + 0x1c]
push 0
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x48]
mov ecx, 0x28
sub ecx, eax
lea edx, [esp + eax + 0x20]
push ecx
push edx
push ebp
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x100132c7
test eax, eax
je 0x100132c7
mov ecx, dword [esp + 0x44]
add eax, ecx
cmp eax, 0x28
jb 0x1001325e
mov edi, dword [esp + 0x5c]
mov ecx, 0xa
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x102e1b00]
test ecx, ecx
je 0x10013246
mov eax, ebx
xor edx, edx
div dword [0x102e1b04]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x10013246
cmp dword [eax + 8], ebp
je 0x1001321e
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x1001320f
jmp 0x10013246
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [0x102e1b0c]
mov dword [eax], ecx
mov dword [0x102e1b0c], eax
mov eax, dword [0x102e1b08]
dec eax
mov dword [0x102e1b08], eax
jne 0x10013246
mov ecx, 0x102e1b00
call fcn.100149f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.10091860
xor eax, eax
jmp 0x1001337c
push ebp
mov ecx, 0x102e1b00
mov dword [esp + 0x48], eax
call fcn.10014710
mov ecx, 0xb
lea esi, [esp + 0x1c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x102e1b18]
test eax, eax
je 0x100132ac
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x102f7658]
test eax, eax
je 0x100132ac
push str.CRemapThread::RecvHookInfo__set_Evt
push str.RemapThread
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.10091860
mov eax, 2
jmp 0x1001337c
mov eax, dword [0x102f7658]
test eax, eax
je 0x100132f1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push ebp
push str.CRemapThread::RecvHookInfo:_recv_called_failed__SOCKET__d___errno__d__n
push str.RemapThread
push 1
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x18
mov ecx, dword [0x102e1b00]
test ecx, ecx
je 0x10013366
mov eax, ebx
xor edx, edx
div dword [0x102e1b04]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x10013366
cmp dword [eax + 8], ebp
je 0x1001331e
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x1001330f
jmp 0x10013366
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [0x102e1b0c]
mov dword [eax], ecx
mov dword [0x102e1b0c], eax
mov eax, dword [0x102e1b08]
dec eax
mov dword [0x102e1b08], eax
jne 0x10013366
jmp 0x1001335c
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [0x102e1b0c]
mov dword [eax], ecx
mov dword [0x102e1b0c], eax
mov eax, dword [0x102e1b08]
dec eax
mov dword [0x102e1b08], eax
jne 0x10013366
mov ecx, 0x102e1b00
call fcn.100149f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.10091860
mov eax, 1
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8