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

Disassembly:
push 0x20
mov eax, 0x488055
call fcn.0045e50b
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.0042c865
test al, al
je 0x42cd76
call fcn.00404b5a
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 0x42ccb2
jg 0x42cca3
cmp dword [esi + 0x30], ebx
jbe 0x42ccb2
push dword [esi + 0x34]
mov ecx, esi
push dword [esi + 0x30]
call fcn.0042f12a
jmp 0x42ccbb
push ecx
push ecx
mov ecx, esi
call fcn.0042f0c4
mov byte [ebp - 0xd], bl
cmp dword [esi + 0x34], ebx
jl 0x42ccde
jg 0x42ccca
cmp dword [esi + 0x30], ebx
jbe 0x42ccde
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 0x42ccf4
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 0x42cd07
jl 0x42cd03
cmp eax, edi
jae 0x42cd07
push ebx
push eax
jmp 0x42cd09
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 0x42ceeb
cdq
add dword [esi + 0x58], eax
adc dword [esi + 0x5c], edx
cmp byte [ebp - 0xd], 0
je 0x42ce21
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 0x42ce0d
cmp eax, dword [esi + 0x44]
jne 0x42ce0d
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 0x42cd7e
push 0xfffffffffffffffe
pop esi
jmp 0x42ce0f
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x20]
jne 0x42ce0d
push 0x60
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
call fcn.0045dba4
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.0042f1e1
mov edi, eax
push esi
lea ecx, [edi + 0x5c]
call fcn.0042cf41
mov ecx, dword [ebp - 0x14]
push 0x20
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x58], eax
call fcn.0045dba4
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.0042c6d0
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.0042cf8e
mov eax, esi
call fcn.0045e4d4
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 0x42ce0d
cmp ecx, dword [esi + 0x2c]
jne 0x42ce0d
push 0x60
call fcn.0045dba4
pop ecx
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.0042f1e1
mov ebx, eax
push esi
lea ecx, [ebx + 0x5c]
call fcn.0042cf41
mov ecx, dword [ebp - 0x14]
push 0x20
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x58], eax
call fcn.0045dba4
pop ecx
mov ecx, eax
mov dword [ebp + 8], eax
call fcn.0042c6d0
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 0x42ce0f
jns 0x42cf03
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x42ce0d
jmp 0x42cd76
push 0xfffffffffffffffe
test eax, eax
pop ecx
cmove ebx, ecx
mov dword [ebp + 8], ebx
mov esi, ebx
jmp 0x42ce0f