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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, esp
mov dword [esi + 0x58], ebp
lea eax, [esi + 0x60]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x10012680
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov dword [esi + 0x34], ecx
lea eax, [ecx + 0xc]
mov dword [esi + 0xc], eax
mov edi, 0x10
lea ebx, [esi + 0x40]
push 0
push edi
push ebx
mov eax, dword [esi + 0x34]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x100013aa
add ebx, eax
sub edi, eax
jne 0x10001257
mov eax, dword [esi + 0x40]
mov dword [esi + 0x30], eax
movsd xmm0, qword [esi + 0x44]
movsd qword [esi + 0x38], xmm0
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x68], 0xffffffff
mov ebx, dword [esi + 0xc]
mov ecx, ebx
lea edi, [esi + 0x38]
push edi
call fcn.10009820
cmp eax, dword [ebx]
jne 0x10001311
xorps xmm0, xmm0
movaps xmmword [esi + 0x10], xmm0
mov dword [esi + 0x68], 0
mov ecx, dword [esi + 0xc]
push edi
lea eax, [esi + 0x50]
push eax
call fcn.10009876
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x18], eax
add ecx, 0x1c
lea eax, [esi + 0x14]
push eax
call fcn.10005d5a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100012eb
mov ecx, dword [esi + 0x1c]
sub ecx, eax
push ecx
push eax
call fcn.10005d29
add esp, 8
mov dword [esi + 0x68], 0xffffffff
mov ecx, dword [esi + 0xc]
lea edi, [esi + 0x38]
push edi
lea ebx, [esi + 0x10]
push ebx
call fcn.10009876
mov ecx, dword [esi + 0x10]
add ecx, 0x1c
push ebx
push dword [esi + 0x30]
call fcn.10005da6
mov ebx, dword [esi + 0xc]
mov ecx, ebx
push edi
lea eax, [esi + 0x10]
push eax
call fcn.10009876
mov eax, dword [esi + 0x10]
mov edx, edi
mov edi, dword [eax + 0x1c]
mov ecx, ebx
push edx
lea eax, [esi + 0x10]
push eax
call fcn.10009876
mov ebx, dword [esi + 0x2c]
test ebx, ebx
je 0x10001364
mov eax, dword [esi + 0x10]
add edi, dword [eax + 0x18]
push 0
push ebx
push edi
mov eax, dword [esi + 0x34]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x100013aa
add edi, eax
sub ebx, eax
jne 0x10001341
mov ebx, dword [esi + 0x2c]
cmp ebx, 0xffffffff
je 0x100013aa
mov dword [esi + 0x68], 0xffffffff
mov ebx, dword [esi + 0xc]
mov ecx, ebx
lea edi, [esi + 0x38]
push edi
lea eax, [esi + 0x10]
push eax
call fcn.10009876
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x2c]
add dword [eax + 0x18], ecx
mov ecx, ebx
push edi
lea eax, [esi + 0x10]
push eax
call fcn.10009876
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x30]
cmp dword [eax + 0x18], ecx
je 0x100013c0
lea ebx, [esi + 0x40]
mov edi, 0x10
jmp 0x10001257
xor eax, eax
mov ecx, dword [esi + 0x60]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov edi, ebx
mov ecx, ebx
lea ebx, [esi + 0x38]
push ebx
lea eax, [esi + 0x10]
push eax
call fcn.10009876
mov eax, dword [esi + 0x10]
lea ecx, [eax + 0x1c]
mov edx, dword [ebp + 8]
cmp ecx, edx
je 0x100013ef
mov ecx, edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
sub eax, edx
push eax
push edx
call fcn.10005fe6
mov ecx, edi
push ebx
lea eax, [esi + 0x10]
push eax
call fcn.10009c1e
mov ecx, edi
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.10009bde
mov al, 1
jmp 0x100013ac