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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [rbp + 0x20]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x18]
mov dword [rax], 0
mov rax, qword [rbp + 0x30]
cmp qword [rax + 0x10], 0
jle 0x42cf6c
mov eax, 1
sub eax, dword [0x00e5e330]
mov dword [0x00e5e330], eax
cmp dword [0x00e5e330], 0
jne 0x42ce09
mov rax, qword [rbp + 0x30]
cmp qword [rax], 0
jle 0x42cd4f
mov dword [rbp - 4], 0x1c
lea rax, [rbp - 4]
push rax
lea rax, [rbp - 0x38]
push rax
push 0
push qword [rbp + 0x28]
push qword [rbp + 0x20]
mov rax, qword [rbp + 0x30]
push qword [rax]
mov rcx, qword [rsp]
mov rdx, qword [rsp + 8]
mov r8d, dword [rsp + 0x10]
mov r9d, dword [rsp + 0x18]
call qword [sym.imp.ws2_32.dll_recvfrom]
add rsp, 0x30
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jl 0x42cd37
mov rax, qword [rbp + 0x18]
mov ebx, dword [rbp - 8]
mov dword [rax], ebx
mov rax, qword [rbp + 0x10]
mov rbx, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov rax, qword [rbp + 0x10]
movzx ebx, word [rbp - 0x36]
shr ebx, 8
movzx esi, word [rbp - 0x36]
shl esi, 8
add ebx, esi
mov word [rax + 0x10], bx
xor eax, eax
leave
ret 0x28
call fcn.0042464b
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0xffffd8cd
je 0x42cd4f
mov eax, dword [rbp - 8]
leave
ret 0x28
mov rax, qword [rbp + 0x30]
cmp qword [rax + 8], 0
jle 0x42ce04
mov dword [rbp - 4], 0x10
lea rax, [rbp - 4]
push rax
lea rax, [rbp - 0x28]
push rax
push 0
push qword [rbp + 0x28]
push qword [rbp + 0x20]
mov rax, qword [rbp + 0x30]
push qword [rax + 8]
mov rcx, qword [rsp]
mov rdx, qword [rsp + 8]
mov r8d, dword [rsp + 0x10]
mov r9d, dword [rsp + 0x18]
call qword [sym.imp.ws2_32.dll_recvfrom]
add rsp, 0x30
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jl 0x42cdec
mov rax, qword [rbp + 0x18]
mov ebx, dword [rbp - 8]
mov dword [rax], ebx
mov rax, qword [rbp + 0x10]
mov rbx, qword [0x006fd91a]
mov esi, dword [0x006fd922]
mov qword [rax], rbx
mov dword [rax + 8], esi
mov rax, qword [rbp + 0x10]
mov ebx, dword [rbp - 0x24]
mov dword [rax + 0xc], ebx
mov rax, qword [rbp + 0x10]
movzx ebx, word [rbp - 0x26]
shr ebx, 8
movzx esi, word [rbp - 0x26]
shl esi, 8
add ebx, esi
mov word [rax + 0x10], bx
xor eax, eax
leave
ret 0x28
call fcn.0042464b
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0xffffd8cd
je 0x42ce04
mov eax, dword [rbp - 8]
leave
ret 0x28
jmp 0x42cf63
mov rax, qword [rbp + 0x30]
cmp qword [rax + 8], 0
jle 0x42cebe
mov dword [rbp - 4], 0x10
lea rax, [rbp - 4]
push rax
lea rax, [rbp - 0x28]
push rax
push 0
push qword [rbp + 0x28]
push qword [rbp + 0x20]
mov rax, qword [rbp + 0x30]
push qword [rax + 8]
mov rcx, qword [rsp]
mov rdx, qword [rsp + 8]
mov r8d, dword [rsp + 0x10]
mov r9d, dword [rsp + 0x18]
call qword [sym.imp.ws2_32.dll_recvfrom]
add rsp, 0x30
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jl 0x42cea6
mov rax, qword [rbp + 0x18]
mov ebx, dword [rbp - 8]
mov dword [rax], ebx
mov rax, qword [rbp + 0x10]
mov rbx, qword [0x006fd91a]
mov esi, dword [0x006fd922]
mov qword [rax], rbx
mov dword [rax + 8], esi
mov rax, qword [rbp + 0x10]
mov ebx, dword [rbp - 0x24]
mov dword [rax + 0xc], ebx
mov rax, qword [rbp + 0x10]
movzx ebx, word [rbp - 0x26]
shr ebx, 8
movzx esi, word [rbp - 0x26]
shl esi, 8
add ebx, esi
mov word [rax + 0x10], bx
xor eax, eax
leave
ret 0x28
call fcn.0042464b
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0xffffd8cd
je 0x42cebe
mov eax, dword [rbp - 8]
leave
ret 0x28
mov rax, qword [rbp + 0x30]
cmp qword [rax], 0
jle 0x42cf63
mov dword [rbp - 4], 0x1c
lea rax, [rbp - 4]
push rax
lea rax, [rbp - 0x38]
push rax
push 0
push qword [rbp + 0x28]
push qword [rbp + 0x20]
mov rax, qword [rbp + 0x30]
push qword [rax]
mov rcx, qword [rsp]
mov rdx, qword [rsp + 8]
mov r8d, dword [rsp + 0x10]
mov r9d, dword [rsp + 0x18]
call qword [sym.imp.ws2_32.dll_recvfrom]
add rsp, 0x30
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jl 0x42cf4b
mov rax, qword [rbp + 0x18]
mov ebx, dword [rbp - 8]
mov dword [rax], ebx
mov rax, qword [rbp + 0x10]
mov rbx, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov rax, qword [rbp + 0x10]
movzx ebx, word [rbp - 0x36]
shr ebx, 8
movzx esi, word [rbp - 0x36]
shl esi, 8
add ebx, esi
mov word [rax + 0x10], bx
xor eax, eax
leave
ret 0x28
call fcn.0042464b
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0xffffd8cd
je 0x42cf63
mov eax, dword [rbp - 8]
leave
ret 0x28
mov eax, 0xffffb1e0
leave
ret 0x28
int 5