Function at 0x1401f3650
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov qword [rcx], rdx
mov rax, qword [rdx + 0x18]
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], r8
mov rcx, qword [rdx + 0x18]
xorps xmm0, xmm0
movups xmmword [rsi + 0x18], xmm0
mov qword [rsi + 0x28], 0
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x20], 2
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
sub rdx, rax
cmp rdx, 0x10
jge 0x1401f36ba
mov edx, reloc.WS2_32.dll_recv
call fcn.140228140
jmp 0x1401f36c6
lea rdx, [rax + 0x10]
mov qword [rcx], rdx
add qword [rcx + 0x10], 0x10
mov qword [rsi + 0x28], rax
lea rcx, [rsp + 0x20]
mov edx, 2
xor r8d, r8d
call fcn.1401be330
mov rcx, qword [rdi + 0x18]
mov rdx, qword [rsp + 0x20]
call fcn.140166ea0
mov qword [rsi + 0x38], rax
mov rax, qword [rdi + 0x18]
xorps xmm0, xmm0
movups xmmword [rsi + 0x40], xmm0
mov qword [rsi + 0x50], 0
mov qword [rsi + 0x58], rax
mov eax, dword [0x1404b15b8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea r15, [rax + 8]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x18]
movups xmmword [rsi + 0x60], xmm0
mov qword [rsi + 0x70], 0
mov qword [rsi + 0x78], rcx
mov rcx, qword [rax + 0x18]
movups xmmword [rsi + 0x80], xmm0
mov qword [rsi + 0x90], 0
mov qword [rsi + 0x98], rcx
mov rcx, qword [rax + 0x18]
movups xmmword [rsi + 0xa0], xmm0
mov qword [rsi + 0xb0], 0
mov qword [rsi + 0xb8], rcx
mov rcx, qword [rax + 0x18]
movups xmmword [rsi + 0xc0], xmm0
mov qword [rsi + 0xd0], 0
mov qword [rsi + 0xd8], rcx
mov rcx, qword [rax + 0x18]
movups xmmword [rsi + 0xe0], xmm0
mov qword [rsi + 0xf0], 0
mov qword [rsi + 0xf8], rcx
movups xmmword [rsi + 0x100], xmm0
mov rbx, qword [rsi + 0x20]
cmp rbx, 1
jg 0x1401f3848
mov rdi, qword [rsi + 0x28]
mov rcx, qword [rsi + 0x30]
mov r14, qword [rcx]
test rdi, rdi
je 0x1401f37f2
lea rax, [rdi + rbx*8]
add rax, 7
and rax, 0xfffffffffffffff8
cmp rax, r14
jne 0x1401f37f2
lea rax, [rdi + 0x10]
cmp rax, qword [rcx + 8]
jbe 0x1401f38ef
mov rax, qword [rcx + 8]
sub rax, r14
cmp rax, 0x10
jge 0x1401f3813
mov edx, reloc.WS2_32.dll_recv
call fcn.140228140
mov r14, rax
test rdi, rdi
jne 0x1401f3824
jmp 0x1401f3836
lea rax, [r14 + 0x10]
mov qword [rcx], rax
add qword [rcx + 0x10], 0x10
test rdi, rdi
je 0x1401f3836
shl rbx, 3
mov rcx, r14
mov rdx, rdi
mov r8, rbx
call fcn.1402a44e0
mov rdi, r14
mov qword [rsi + 0x28], rdi
mov qword [rsi + 0x20], 2
mov rax, qword [r15]
mov qword [rsi + 0x18], 2
mov rdi, qword [0x1404a6c80]
mov rcx, qword [rax + 0x18]
call fcn.1401951f0
mov qword [rax + 8], rdi
mov qword [rax], 0
mov rcx, qword [rsi + 0x28]
mov qword [rcx], rax
mov rdi, qword [0x1404a6c80]
mov rax, qword [r15]
mov rcx, qword [rax + 0x18]
call fcn.1401951f0
mov qword [rax + 8], rdi
mov qword [rax], 0
mov rcx, qword [rsi + 0x28]
mov qword [rcx + 8], rax
mov rcx, qword [rsi + 0x38]
mov rdx, qword [0x1404abdc8]
xor r8d, r8d
call fcn.1401be5f0
mov rcx, qword [rsi + 0x38]
mov rdx, qword [0x1404abdc8]
xor r8d, r8d
call fcn.1401be5f0
mov qword [rsi + 0x100], 2
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x1401f38e9
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14029fd30
int3
lea rax, [rdi + 0x17]
and rax, 0xfffffffffffffff8
mov qword [rcx], rax
mov rax, qword [rcx + 0x10]
sub rax, rbx
add rax, 2
mov qword [rcx + 0x10], rax
jmp 0x1401f3839