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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc6b0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x591430]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
add eax, 0x18
push eax
push 0x60
mov dword [ebp - 0x10], eax
call fcn.00414730
mov edi, dword [ebp + 8]
add esp, 8
mov esi, eax
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x42e738
lock inc dword [ebx + 8]
mov al, byte [edi + 4]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x4344a0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], al
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
test ebx, ebx
je 0x42e78b
lock inc dword [ebx + 8]
mov ecx, dword [esi + 0x28]
or edx, 0xffffffff
test ecx, ecx
je 0x42e7a6
mov eax, edx
lock xadd dword [ecx + 8], eax
jne 0x42e7a6
mov eax, dword [ecx]
call dword [eax + 4]
or edx, 0xffffffff
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
mov eax, dword [ecx]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x30], eax
mov edi, dword [ebp - 0x10]
mov eax, dword [ecx]
mov dword [esi + 0x38], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x3c], eax
movq xmm0, qword [ecx + 8]
movq qword [esi + 0x40], xmm0
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x48], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x4c], eax
mov eax, dword [ecx]
mov dword [esi + 0x50], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x54], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
mov eax, dword [esi + 0x5c]
mov ecx, dword [ecx + 0xc]
mov dword [edi + 0xc], eax
mov eax, edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x5c], ecx
mov dword [eax + 8], 0
test ebx, ebx
je 0x42e82a
lock xadd dword [ebx + 8], edx
dec edx
jne 0x42e82a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test byte [edi + 4], 0x10
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
je 0x42e849
mov byte [ebp + 0x17], 1
test eax, eax
je 0x42e84d
mov byte [ebp + 0x17], 0
cmp dword [edi + 0x14], 0
jne 0x42e85e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 0x14], eax
jmp 0x42e870
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 0x14], eax
je 0x42e870
mov dword [edi + 0x14], 0xffffffff
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 4]
lock inc dword [eax + 0x18]
cmp byte [ebp + 0x17], 0
push 0
je 0x42e88f
mov ecx, dword [ebx + 4]
push 0
push esi
call fcn.004198e0
jmp 0x42e90d
mov ecx, dword [edi]
cmp ecx, 0xffffffff
jne 0x42e8a6
mov ecx, dword [ebx + 4]
push 0x2719
push esi
call fcn.004198e0
jmp 0x42e90d
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], 0
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x42e8dd
mov eax, 0x2746
jmp 0x42e8ea
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test edi, edi
je 0x42e904
cmp eax, 0x3e5
je 0x42e904
push dword [ebp + 0x14]
mov ecx, dword [ebx + 4]
push eax
push esi
call fcn.004198e0
jmp 0x42e90d
mov ecx, dword [ebx + 4]
push esi
call fcn.00419a20
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.00439210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10