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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1014bb94]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
test ecx, ecx
jne 0x100ab659
lea edx, [edi + 0xc]
mov ecx, 0xf423f
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x100ab627
mov ecx, 5
lea eax, [edx + 4]
xchg dword [eax], ecx
mov eax, 1
xchg dword [edx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x14]
mov esi, eax
mov ecx, dword [ecx + 4]
add ecx, 0x14
add ecx, edi
mov edx, dword [ecx]
call dword [edx]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 0x14
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x100ab6a1
xor eax, eax
lea edx, [edi + 0xc]
mov ecx, 0xf423f
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x100ab684
mov ecx, 5
lea eax, [edx + 4]
xchg dword [eax], ecx
mov eax, 1
xchg dword [edx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x14]
mov esi, eax
mov ecx, dword [ecx + 4]
add ecx, 0x14
add ecx, edi
mov edx, dword [ecx]
call dword [edx]
push esi
jmp 0x100ab824
cmp dword [ebp + 0x10], 0
jne 0x100ab6ab
test eax, eax
je 0x100ab661
cmp dword [ebp + 0x14], 0
je 0x100ab6c4
test eax, eax
jne 0x100ab6c4
push 5
lea ecx, [edi + 8]
call fcn.1000c800
jmp 0x100ab82a
mov eax, ecx
mov dword [ebp - 0xc], 0
lea esi, [edi + 0x50]
mov dword [ebp - 0x10], eax
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x100ab82a
push 0
push ebx
push eax
mov ecx, esi
call fcn.100a3250
push eax
call dword [sym.imp.WS2_32.dll_recv]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.100ab3e0
test eax, eax
je 0x100ab82a
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100ab748
push esi
lea ecx, [edi + 0xa0]
call fcn.100b0c10
cmp esi, ebx
ja 0x100ab82a
mov eax, dword [ebp - 0x10]
sub ebx, esi
add dword [ebp - 0xc], esi
add eax, esi
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x10], eax
je 0x100ab7bc
lea esi, [edi + 0x50]
jmp 0x100ab7b4
mov ecx, edi
call fcn.100ab3d0
test eax, eax
jne 0x100ab81f
cmp dword [ebp + 0x14], eax
jne 0x100ab7bc
push 0xffffffffffffffff
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xffffffff
push eax
lea ecx, [edi + 0x1f4]
call fcn.100a40c0
test eax, eax
je 0x100ab82a
mov eax, dword [ebp - 8]
sub eax, 1
jne 0x100ab81a
lea esi, [edi + 0x50]
lea eax, [esi + 0x4c]
push eax
call fcn.10001b70
add esp, 4
test eax, eax
jne 0x100ab809
mov ecx, esi
call fcn.100a30f0
test eax, eax
je 0x100ab7f4
mov ecx, esi
call fcn.100a3150
test eax, eax
jne 0x100ab810
mov eax, dword [ebp - 0x10]
test ebx, ebx
jne 0x100ab6e0
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x100ab7d3
push dword [ebp - 0x18]
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x20]
push edx
call dword [eax + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100ab7dc
mov dword [eax], edx
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 0x14
push 0x54f
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [edi + 8]
call fcn.100abc40
jmp 0x100ab82a
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [edi + 8]
call fcn.100abc40
jmp 0x100ab82a
sub eax, 1
jne 0x100ab82a
push 0x274a
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.100e3d0f
mov esp, ebp
pop ebp
ret 0x14