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

Disassembly:
push 0x20
mov eax, 0x488658
call fcn.0045e540
mov eax, ecx
mov dword [ebp - 0x14], eax
xor ebx, ebx
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
push ecx
mov ecx, eax
call fcn.0042c895
test al, al
je 0x42cda6
call fcn.00404b88
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
cmp dword [esi + 0x34], ebx
jl 0x42cce2
jg 0x42ccd3
cmp dword [esi + 0x30], ebx
jbe 0x42cce2
push dword [esi + 0x34]
mov ecx, esi
push dword [esi + 0x30]
call fcn.0042f15d
jmp 0x42cceb
push ecx
push ecx
mov ecx, esi
call fcn.0042f0f7
mov byte [ebp - 0xd], bl
cmp dword [esi + 0x34], ebx
jl 0x42cd0e
jg 0x42ccfa
cmp dword [esi + 0x30], ebx
jbe 0x42cd0e
mov ecx, dword [esi + 0x1c]
add ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x20]
mov edx, dword [esi + 0x2c]
sbb edx, dword [esi + 0x24]
jmp 0x42cd24
mov ecx, dword [esi + 0x18]
add ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x40]
sub eax, dword [esi + 0x38]
mov edx, dword [esi + 0x44]
sbb edx, dword [esi + 0x3c]
mov byte [ebp - 0xd], 1
mov edi, SysReAllocString
cmp edx, ebx
jg 0x42cd37
jl 0x42cd33
cmp eax, edi
jae 0x42cd37
push ebx
push eax
jmp 0x42cd39
push ebx
push edi
mov edi, dword [ebp + 8]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x42cf1b
cdq
add dword [esi + 0x58], eax
adc dword [esi + 0x5c], edx
cmp byte [ebp - 0xd], 0
je 0x42ce51
add dword [esi + 0x38], eax
adc dword [esi + 0x3c], edx
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
cmp dword [esi + 0x38], edx
jne 0x42ce3d
cmp eax, dword [esi + 0x44]
jne 0x42ce3d
mov eax, dword [ebp - 0x14]
lea edi, [ebp - 0x24]
push edi
push dword [esi + 0x44]
mov edi, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push edx
push dword [esi + 0x18]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
cmp eax, 0xfffffff6
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x34], eax
jne 0x42cdae
push 0xfffffffffffffffe
pop esi
jmp 0x42ce3f
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x20]
jne 0x42ce3d
push 0x60
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
call fcn.0045dbd9
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.0042f214
mov edi, eax
push esi
lea ecx, [edi + 0x5c]
call fcn.0042cf71
mov ecx, dword [ebp - 0x14]
push 0x20
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x58], eax
call fcn.0045dbd9
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.0042c700
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [edi + 0x30], eax
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x30]
mov dword [eax + 0x18], ebx
mov eax, dword [edi + 0x30]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x14]
movlpd qword [ebp - 0x2c], xmm0
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0x2c]
push eax
lea eax, [edi + 0x38]
push eax
mov edx, dword [ecx]
push ebx
push 0x12
push dword [esi + 0x18]
push dword [ebp + 8]
call dword [edx]
mov ecx, dword [ebp - 0x14]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
xor esi, esi
lea ecx, [ebp - 0x18]
call fcn.0042cfbe
mov eax, esi
call fcn.0045e509
ret 4
add dword [esi + 0x20], eax
mov eax, dword [esi + 0x20]
adc dword [esi + 0x24], edx
mov ecx, dword [esi + 0x24]
cmp eax, dword [esi + 0x28]
jne 0x42ce3d
cmp ecx, dword [esi + 0x2c]
jne 0x42ce3d
push 0x60
call fcn.0045dbd9
pop ecx
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.0042f214
mov ebx, eax
push esi
lea ecx, [ebx + 0x5c]
call fcn.0042cf71
mov ecx, dword [ebp - 0x14]
push 0x20
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x58], eax
call fcn.0045dbd9
pop ecx
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.0042c700
mov ecx, eax
lea edi, [ebx + 0x38]
mov dword [ebx + 0x30], ecx
mov eax, dword [esi + 0x1c]
push ebx
mov dword [ecx + 0x18], eax
mov ecx, dword [ebx + 0x30]
mov eax, dword [esi + 0x6c]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x30]
mov dword [eax + 4], 1
mov esi, dword [esi + 0x18]
mov eax, dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [eax + 0x20]
xor esi, esi
mov dword [ebx + 0x42], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebx + 0x46], ecx
mov ecx, dword [eax + 0x6c]
mov dword [ebx + 0x34], ecx
mov ecx, dword [eax + 0x1c]
mov dword [ebx + 0x4a], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x4e], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebx + 0x52], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], esi
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], esi
mov eax, dword [ecx]
call dword [eax + 0x1c]
jmp 0x42ce3f
jns 0x42cf33
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x42ce3d
jmp 0x42cda6
push 0xfffffffffffffffe
test eax, eax
pop ecx
cmove ebx, ecx
mov dword [ebp + 8], ebx
mov esi, ebx
jmp 0x42ce3f