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

Disassembly:
push rbx
push rsi
push r14
push r15
sub rsp, 0x1d8
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
xor eax, eax
xorps xmm0, xmm0
xor esi, esi
mov byte [rsp + 0x98], al
cmp dword [0x1800a4e44], 0xffffffff
mov r15, rdx
mov r14, rcx
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
jne 0x180052a3b
lea rcx, [0x1800a4e60]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x180052a54
mov rcx, qword [0x1800a4ae0]
lea rdx, [rsp + 0x78]
xor r9d, r9d
lea r8d, [r9 + 0x20]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
mov qword [rsp + 0x218], rdi
cmp rbx, 1
jl 0x180052d2c
mov rcx, qword [rsp + 0x90]
mov rax, 0xffffffffffffffff
add rcx, 1
cmovb rcx, rax
call fcn.1800656cc
mov r8, qword [rsp + 0x90]
xor edx, edx
inc r8
mov rcx, rax
mov rdi, rax
call fcn.180079d00
mov r8, rbx
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.18007a0c0
mov qword [r14], rdi
mov r8, qword [rdi + 0x18]
cmp rbx, r8
jge 0x180052c3c
mov qword [rsp + 0x210], rbp
mov ebp, 0x19000
test r15, r15
je 0x180052bf0
mov qword [rsp + 0x1d0], r12
xorps xmm0, xmm0
mov r12, qword [rdi + 0x10]
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], r12
movaps xmmword [rsp + 0x1c0], xmm6
movsd xmm6, qword [0x18007f050]
mov qword [rsp + 0x40], rax
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
movsxd rax, ebp
sub rcx, rbx
cmp rcx, rax
jge 0x180052b23
mov ebp, r8d
sub ebp, ebx
cmp dword [0x1800a4e44], 0xffffffff
jne 0x180052b3e
lea rcx, [0x1800a4e60]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r14d, esi
jmp 0x180052b5f
mov rcx, qword [0x1800a4ae0]
lea rdx, [rdi + rbx]
xor r9d, r9d
mov r8d, ebp
call qword [sym.imp.WS2_32.dll_recv]
movsxd r14, eax
test eax, eax
jle 0x180052b5f
add rbx, r14
mov r8, qword [rdi + 0x18]
xorps xmm1, xmm1
cvtsi2sd xmm1, rbx
xorps xmm0, xmm0
cvtsi2sd xmm0, r8
mulsd xmm1, xmm6
divsd xmm1, xmm0
cvttsd2si rax, xmm1
cmp qword [r15 + 0x10], rax
je 0x180052bc4
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x50]
movsd xmm1, qword [rsp + 0x40]
mov qword [r15 + 0x10], rax
mov rax, r12
sub rax, qword [rdi + 0x18]
add rax, 0xffffffffffffffe0
movsd qword [rsp + 0x60], xmm1
add rax, rbx
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
call qword [r15 + inet_addr]
mov r8, qword [rdi + 0x18]
cmp rbx, r8
je 0x180052bd2
test r14d, r14d
jg 0x180052b10
mov rcx, r15
call fcn.1800656d4
movaps xmm6, xmmword [rsp + 0x1c0]
mov r12, qword [rsp + 0x1d0]
jmp 0x180052c34
cmp dword [0x1800a4e44], 0xffffffff
jne 0x180052c0a
lea rcx, [0x1800a4e60]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x180052c21
mov rcx, qword [0x1800a4ae0]
lea rdx, [rdi + rbx]
sub r8d, ebx
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov r8, qword [rdi + 0x18]
movsxd rcx, eax
add rbx, rcx
cmp rbx, r8
je 0x180052c34
test eax, eax
jg 0x180052bf0
mov rbp, qword [rsp + 0x210]
movabs rax, 0x6a5d85c495e6fbc3
cmp qword [rdi], rax
jne 0x180052d28
cmp qword [rdi + 8], 0x63d
jne 0x180052d28
movabs rax, 0xf6d3a1c9e486
cmp qword [rdi + 0x10], rax
jne 0x180052d28
xor edx, edx
lea rcx, [rsp + 0xa0]
mov r8d, 0x104
call fcn.180079d00
mov r9d, dword [0x1800a4d24]
lea r8, [rsp + 0xa0]
lea rdx, [0x1800a4d40]
lea rcx, [0x1800a4c20]
call fcn.180055870
movsxd rax, dword [0x1800a4d24]
lea r9, [rsp + 0x70]
mov rdx, qword [rdi + 0x18]
lea r8, [rdi + 0x20]
mov qword [rsp + 0x28], rax
lea rcx, [rdi + 0x20]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x70], rsi
sub rdx, 0x20
mov qword [rsp + 0x20], rax
call fcn.1800540e0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180052d28
mov rax, qword [rdi + 0x20]
mov qword [rdi], rax
mov rax, qword [rdi + 0x28]
mov qword [rdi + 8], rax
mov rax, qword [rdi + 0x30]
mov qword [rdi + 0x10], rax
cmp rax, rcx
ja 0x180052d2c
test rax, rax
je 0x180052d23
lea rcx, [rdi + 0x20]
nop
movzx eax, byte [rcx + 0x18]
inc rsi
mov byte [rcx], al
lea rcx, [rcx + 1]
cmp rsi, qword [rdi + 0x10]
jb 0x180052d10
mov byte [rsi + rdi + 0x20], 0
mov al, 1
jmp 0x180052d2e
xor al, al
mov rdi, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.180056f00
add rsp, 0x1d8
pop r15
pop r14
pop rsi
pop rbx
ret