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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003138e
mov eax, dword fs:[0]
push eax
mov eax, 0xa0f0
call fcn.10020db0
mov eax, dword [0x1003b470]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0f8], ecx
push 0xa000
push 0
lea eax, [ebp - 0xa014]
push eax
call fcn.1001e660
add esp, 0xc
mov dword [ebp - 0xa0a8], 0
mov dword [ebp - 0xa03c], 0xffffffff
mov dword [ebp - 0xa038], 0
mov ecx, 1
test ecx, ecx
je 0x1000b001
push 0
push 0x38
mov edx, dword [ebp - 0xa0a8]
lea eax, [ebp + edx - 0xa014]
push eax
mov ecx, dword [ebp - 0xa0f8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0xa03c], eax
mov eax, dword [ebp - 0xa03c]
mov dword [ebp - 0xa0fc], eax
cmp dword [ebp - 0xa0fc], 0xffffffff
je 0x1000af4e
cmp dword [ebp - 0xa0fc], 0
je 0x1000af6f
jmp 0x1000af78
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0xa03c], eax
cmp dword [ebp - 0xa03c], 0x2733
jne 0x1000af6d
xor eax, eax
jmp 0x1000b16e
jmp 0x1000af8a
xor eax, eax
jmp 0x1000b16e
mov ecx, dword [ebp - 0xa0a8]
add ecx, dword [ebp - 0xa03c]
mov dword [ebp - 0xa0a8], ecx
cmp dword [ebp - 0xa038], 0
jne 0x1000afe9
cmp dword [ebp - 0xa0a8], 0x38
jl 0x1000afe7
lea ecx, [ebp - 0xa0e4]
call fcn.10005370
mov dword [ebp - 4], 0
lea edx, [ebp - 0xa014]
push edx
lea ecx, [ebp - 0xa0e4]
call fcn.10005500
test eax, eax
je 0x1000afd5
lea ecx, [ebp - 0xa0e4]
call fcn.10006a30
mov dword [ebp - 0xa038], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0e4]
call fcn.100053a0
jmp 0x1000affc
mov eax, dword [ebp - 0xa038]
add eax, 0x38
cmp eax, dword [ebp - 0xa0a8]
jg 0x1000affc
jmp 0x1000b001
jmp 0x1000aef9
lea ecx, [ebp - 0xa0a4]
call fcn.10006550
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xa0a8]
push ecx
lea edx, [ebp - 0xa014]
push edx
lea ecx, [ebp - 0xa0a4]
call fcn.10006880
test eax, eax
jne 0x1000b057
mov dword [ebp - 0xa0ec], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0a4]
call fcn.100065d0
mov eax, dword [ebp - 0xa0ec]
jmp 0x1000b16e
lea ecx, [ebp - 0xa0a4]
call fcn.1000b1c0
mov dword [ebp - 0xa034], eax
lea ecx, [ebp - 0xa0a4]
call fcn.1000b1e0
mov dword [ebp - 0xa040], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xa030]
call fcn.10007800
mov byte [ebp - 4], 2
push 0x10032558
lea ecx, [ebp - 0xa030]
call fcn.1000b200
lea ecx, [ebp - 0xa030]
call fcn.10007900
push eax
mov ecx, dword [ebp - 0xa034]
call fcn.10019ae0
push eax
call fcn.10021143
add esp, 8
test eax, eax
jne 0x1000b13d
mov dword [ebp - 0xa0e8], 0
mov ecx, dword [ebp - 0xa0f8]
mov dword [ecx + 0xc], 0
lea edx, [ebp - 0xa0e8]
push edx
push str.result
mov ecx, dword [ebp - 0xa040]
call fcn.10005b10
mov eax, dword [ebp - 0xa0f8]
add eax, 0xc
push eax
push str.errcode
mov ecx, dword [ebp - 0xa040]
call fcn.10005b10
mov ecx, dword [ebp - 0xa0e8]
mov dword [ebp - 0xa0f0], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa030]
call fcn.10007840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0a4]
call fcn.100065d0
mov eax, dword [ebp - 0xa0f0]
jmp 0x1000b16e
mov dword [ebp - 0xa0f4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa030]
call fcn.10007840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0a4]
call fcn.100065d0
mov eax, dword [ebp - 0xa0f4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ed57
mov esp, ebp
pop ebp
ret 4