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

Disassembly:
push 0xffffffffffffffff
push 0x1018a368
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 0x101eb978
lea ecx, [esp + 0x18]
call fcn.10084010
mov ebp, dword [esp + 0x58]
mov ecx, dword [0x101eb998]
mov ebx, ebp
xor edx, edx
shr ebx, 4
mov eax, ebx
mov dword [esp + 0x50], esi
div dword [0x101eb99c]
cmp ecx, esi
je 0x100113a6
mov eax, dword [ecx + edx*4]
cmp eax, esi
je 0x100111b6
cmp dword [eax + 8], ebp
je 0x100111da
mov eax, dword [eax]
cmp eax, esi
jne 0x100111ab
mov eax, dword [ecx + edx*4]
lea ecx, [ecx + edx*4]
cmp eax, esi
je 0x100113a6
cmp dword [eax + 8], ebp
je 0x1001137e
mov ecx, eax
mov eax, dword [eax]
cmp eax, esi
jne 0x100111c4
jmp 0x100113a6
cmp eax, esi
je 0x100111b6
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 0x10011307
test eax, eax
je 0x10011307
mov ecx, dword [esp + 0x44]
add eax, ecx
cmp eax, 0x28
jb 0x1001129e
mov edi, dword [esp + 0x5c]
mov ecx, 0xa
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x101eb998]
test ecx, ecx
je 0x10011286
mov eax, ebx
xor edx, edx
div dword [0x101eb99c]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x10011286
cmp dword [eax + 8], ebp
je 0x1001125e
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x1001124f
jmp 0x10011286
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [0x101eb9a4]
mov dword [eax], ecx
mov dword [0x101eb9a4], eax
mov eax, dword [0x101eb9a0]
dec eax
mov dword [0x101eb9a0], eax
jne 0x10011286
mov ecx, 0x101eb998
call fcn.100126a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.10084070
xor eax, eax
jmp 0x100113bc
push ebp
mov ecx, 0x101eb998
mov dword [esp + 0x48], eax
call fcn.10012400
mov ecx, 0xb
lea esi, [esp + 0x1c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x101eb9b0]
test eax, eax
je 0x100112ec
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x10201328]
test eax, eax
je 0x100112ec
push str.CRemapThread::RecvHookInfo__set_Evt
push str.RemapThread
push 4
push 0x10200a94
call fcn.1008b760
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.10084070
mov eax, 2
jmp 0x100113bc
mov eax, dword [0x10201328]
test eax, eax
je 0x10011331
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 0x10200a94
call fcn.1008b760
add esp, 0x18
mov ecx, dword [0x101eb998]
test ecx, ecx
je 0x100113a6
mov eax, ebx
xor edx, edx
div dword [0x101eb99c]
mov eax, dword [ecx + edx*4]
test eax, eax
lea ecx, [ecx + edx*4]
je 0x100113a6
cmp dword [eax + 8], ebp
je 0x1001135e
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x1001134f
jmp 0x100113a6
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [0x101eb9a4]
mov dword [eax], ecx
mov dword [0x101eb9a4], eax
mov eax, dword [0x101eb9a0]
dec eax
mov dword [0x101eb9a0], eax
jne 0x100113a6
jmp 0x1001139c
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [0x101eb9a4]
mov dword [eax], ecx
mov dword [0x101eb9a4], eax
mov eax, dword [0x101eb9a0]
dec eax
mov dword [0x101eb9a0], eax
jne 0x100113a6
mov ecx, 0x101eb998
call fcn.100126a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.10084070
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