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

Disassembly:
push 0xffffffffffffffff
push 0x1025b008
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 0x102f5c90
lea ecx, [esp + 0x18]
call fcn.1009ee90
mov ebp, dword [esp + 0x58]
mov ecx, dword [0x102f5cb0]
mov ebx, ebp
xor edx, edx
shr ebx, 4
mov eax, ebx
mov dword [esp + 0x50], esi
div dword [0x102f5cb4]
cmp ecx, esi
je 0x100143a6
mov eax, dword [ecx + edx*4]
cmp eax, esi
je 0x100141b6
cmp dword [eax + 8], ebp
je 0x100141da
mov eax, dword [eax]
cmp eax, esi
jne 0x100141ab
mov eax, dword [ecx + edx*4]
lea ecx, [ecx + edx*4]
cmp eax, esi
je 0x100143a6
cmp dword [eax + 8], ebp
je 0x1001437e
mov ecx, eax
mov eax, dword [eax]
cmp eax, esi
jne 0x100141c4
jmp 0x100143a6
cmp eax, esi
je 0x100141b6
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 0x10014307
test eax, eax
je 0x10014307
mov ecx, dword [esp + 0x44]
add eax, ecx
cmp eax, 0x28
jb 0x1001429e
mov edi, dword [esp + 0x5c]
mov ecx, 0xa
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x102f5cb0]
test ecx, ecx
je 0x10014286
mov eax, ebx
xor edx, edx
div dword [0x102f5cb4]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x10014286
cmp dword [eax + 8], ebp
je 0x1001425e
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x1001424f
jmp 0x10014286
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [0x102f5cbc]
mov dword [eax], ecx
mov dword [0x102f5cbc], eax
mov eax, dword [0x102f5cb8]
dec eax
mov dword [0x102f5cb8], eax
jne 0x10014286
mov ecx, 0x102f5cb0
call fcn.10015fa0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.1009eef0
xor eax, eax
jmp 0x100143bc
push ebp
mov ecx, 0x102f5cb0
mov dword [esp + 0x48], eax
call fcn.10015b90
mov ecx, 0xb
lea esi, [esp + 0x1c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x102f5cc8]
test eax, eax
je 0x100142ec
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x100142ec
push str.CRemapThread::RecvHookInfo__set_Evt
push str.RemapThread
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.1009eef0
mov eax, 2
jmp 0x100143bc
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x10014331
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 0x1030c61c
call fcn.100a65e0
add esp, 0x18
mov ecx, dword [0x102f5cb0]
test ecx, ecx
je 0x100143a6
mov eax, ebx
xor edx, edx
div dword [0x102f5cb4]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x100143a6
cmp dword [eax + 8], ebp
je 0x1001435e
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x1001434f
jmp 0x100143a6
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [0x102f5cbc]
mov dword [eax], ecx
mov dword [0x102f5cbc], eax
mov eax, dword [0x102f5cb8]
dec eax
mov dword [0x102f5cb8], eax
jne 0x100143a6
jmp 0x1001439c
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [0x102f5cbc]
mov dword [eax], ecx
mov dword [0x102f5cbc], eax
mov eax, dword [0x102f5cb8]
dec eax
mov dword [0x102f5cb8], eax
jne 0x100143a6
mov ecx, 0x102f5cb0
call fcn.10015fa0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.1009eef0
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