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

Disassembly:
push 0xffffffffffffffff
push 0x10259088
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 0x102f3850
lea ecx, [esp + 0x18]
call fcn.1009cf30
mov ebp, dword [esp + 0x58]
mov ecx, dword [0x102f3870]
mov ebx, ebp
xor edx, edx
shr ebx, 4
mov eax, ebx
mov dword [esp + 0x50], esi
div dword [0x102f3874]
cmp ecx, esi
je 0x10014006
mov eax, dword [ecx + edx*4]
cmp eax, esi
je 0x10013e16
cmp dword [eax + 8], ebp
je 0x10013e3a
mov eax, dword [eax]
cmp eax, esi
jne 0x10013e0b
mov eax, dword [ecx + edx*4]
lea ecx, [ecx + edx*4]
cmp eax, esi
je 0x10014006
cmp dword [eax + 8], ebp
je 0x10013fde
mov ecx, eax
mov eax, dword [eax]
cmp eax, esi
jne 0x10013e24
jmp 0x10014006
cmp eax, esi
je 0x10013e16
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 0x10013f67
test eax, eax
je 0x10013f67
mov ecx, dword [esp + 0x44]
add eax, ecx
cmp eax, 0x28
jb 0x10013efe
mov edi, dword [esp + 0x5c]
mov ecx, 0xa
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x102f3870]
test ecx, ecx
je 0x10013ee6
mov eax, ebx
xor edx, edx
div dword [0x102f3874]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x10013ee6
cmp dword [eax + 8], ebp
je 0x10013ebe
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x10013eaf
jmp 0x10013ee6
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [0x102f387c]
mov dword [eax], ecx
mov dword [0x102f387c], eax
mov eax, dword [0x102f3878]
dec eax
mov dword [0x102f3878], eax
jne 0x10013ee6
mov ecx, 0x102f3870
call fcn.10015c00
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.1009cf90
xor eax, eax
jmp 0x1001401c
push ebp
mov ecx, 0x102f3870
mov dword [esp + 0x48], eax
call fcn.100157f0
mov ecx, 0xb
lea esi, [esp + 0x1c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x102f3888]
test eax, eax
je 0x10013f4c
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x1030aa70]
test eax, eax
je 0x10013f4c
push str.CRemapThread::RecvHookInfo__set_Evt
push str.RemapThread
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.1009cf90
mov eax, 2
jmp 0x1001401c
mov eax, dword [0x1030aa70]
test eax, eax
je 0x10013f91
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 0x1030a1dc
call fcn.100a4680
add esp, 0x18
mov ecx, dword [0x102f3870]
test ecx, ecx
je 0x10014006
mov eax, ebx
xor edx, edx
div dword [0x102f3874]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x10014006
cmp dword [eax + 8], ebp
je 0x10013fbe
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x10013faf
jmp 0x10014006
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [0x102f387c]
mov dword [eax], ecx
mov dword [0x102f387c], eax
mov eax, dword [0x102f3878]
dec eax
mov dword [0x102f3878], eax
jne 0x10014006
jmp 0x10013ffc
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [0x102f387c]
mov dword [eax], ecx
mov dword [0x102f387c], eax
mov eax, dword [0x102f3878]
dec eax
mov dword [0x102f3878], eax
jne 0x10014006
mov ecx, 0x102f3870
call fcn.10015c00
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.1009cf90
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