Function at 0x140015690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x60
mov rbx, qword [0x14010c570]
xor r14d, r14d
mov qword [rsp + 0x90], rbp
mov edi, r14d
xor bpl, bpl
mov qword [rsp + 0x50], r15
movaps xmmword [rsp + 0x40], xmm6
mov eax, dword [rbx + 0x1d18]
sub eax, 1
js 0x140015700
movsxd rdx, eax
mov rax, qword [rbx + 0x1d20]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
nop
mov r9, qword [r8]
test r9, r9
je 0x1400156f6
test dword [r9 + 0xc], 0x8000000
jne 0x14001577d
sub r8, 0x30
sub rdx, 1
jns 0x1400156e0
mov r9, r14
xorps xmm6, xmm6
cmp qword [rbx + 0x1ea8], rdi
je 0x140015752
cmp qword [rbx + 0x1ea0], rdi
jne 0x140015752
comiss xmm6, dword [rbx + 0x1eec]
movss xmm1, dword [rbx + 0x1ebc]
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1400f8bc4]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1ebc], xmm1
jb 0x140015752
comiss xmm6, xmm1
jb 0x140015752
mov qword [rbx + 0x1ea8], r14
mov r15d, 1
test r9, r9
jne 0x140015789
cmp qword [rbx + 0x1ea0], rdi
jne 0x140015789
mov edx, r15d
lea ecx, [r15 + 2]
call fcn.140013390
comiss xmm0, xmm6
jbe 0x140015789
movzx r8d, dl
jmp 0x14001579a
mov qword [rbx + 0x1ea0], r14
jmp 0x140015703
xor r8b, r8b
test r9, r9
jne 0x1400157bf
cmp qword [rbx + 0x1ea0], rdi
jne 0x1400157bf
cmp byte [rbx + 0x13c], dil
je 0x1400157bf
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x1400157bf
call fcn.140009f60
test al, al
je 0x1400157bf
test byte [rbx + 8], r15b
je 0x1400157bf
movzx r9d, r15b
jmp 0x1400157c2
xor r9b, r9b
test r8b, r8b
jne 0x1400157d0
test r9b, r9b
je 0x14001586e
mov rax, qword [rbx + 0x1d70]
test rax, rax
jne 0x14001583c
movsxd rcx, dword [rbx + 0x1b48]
lea edx, [rcx - 1]
test edx, edx
js 0x14001586e
movsxd rax, edx
mov r10, rcx
cmp rax, r10
jge 0x14001586e
cmp rax, 0xffffffff80000001
je 0x14001586e
mov r8, qword [rbx + 0x1b50]
mov rcx, qword [r8 + rax*8]
cmp byte [rcx + 0xbf], dil
je 0x140015827
cmp rcx, qword [rcx + 0x3f0]
jne 0x140015827
test dword [rcx + 0xc], 0x80000
je 0x140015830
dec edx
sub rax, r15
jns 0x1400157f4
jmp 0x14001586e
movsxd rax, edx
mov rax, qword [r8 + rax*8]
test rax, rax
je 0x14001586e
mov rax, qword [rax + 0x3f0]
xor r9b, r15b
mov qword [rbx + 0x1ea8], rax
mov qword [rbx + 0x1ea0], rax
movzx eax, r9b
mov byte [rbx + 0x1ec0], al
add eax, 3
mov dword [rbx + 0x1da4], eax
mov qword [rbx + 0x1eb8], r14
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1eb8]
movss xmm5, dword [0x1400f8b78]
movss dword [rbx + 0x1eb8], xmm0
cmp qword [rbx + 0x1ea0], rdi
je 0x14001595b
cmp dword [rbx + 0x1da4], 4
jne 0x14001595b
subss xmm0, dword [0x1400f8b18]
movaps xmmword [rsp + 0x30], xmm7
divss xmm0, dword [0x1400f8b04]
comiss xmm6, xmm0
jbe 0x1400158c4
movaps xmm1, xmm6
jmp 0x1400158cb
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rbx + 0x1ebc]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rbx + 0x1ebc], xmm7
call fcn.140013390
comiss xmm0, xmm6
mov r9d, r14d
lea ecx, [rdx + 8]
seta r9b
call fcn.140013390
comiss xmm0, xmm6
mov ecx, r14d
seta cl
sub ecx, r9d
je 0x14001591e
call fcn.140015540
mov dword [rbx + 0x1ebc], 0x3f800000
movaps xmm7, xmm5
movss xmm0, dword [rbx + 0x34c]
comiss xmm0, xmm6
ja 0x140015956
comiss xmm5, xmm7
seta al
and byte [rbx + 0x1ec0], al
je 0x140015948
cmp qword [rbx + 0x1d70], rdi
je 0x14001594f
movzx ebp, r15b
jmp 0x14001594f
mov rdi, qword [rbx + 0x1ea0]
mov qword [rbx + 0x1ea0], r14
movaps xmm7, xmmword [rsp + 0x30]
cmp qword [rbx + 0x1ea0], r14
je 0x1400159dc
cmp dword [rbx + 0x1da4], 3
jne 0x1400159dc
movss xmm0, dword [rbx + 0x1eb8]
subss xmm0, dword [0x1400f8b18]
divss xmm0, dword [0x1400f8b04]
comiss xmm6, xmm0
jbe 0x14001598f
movaps xmm5, xmm6
jmp 0x140015993
minss xmm5, xmm0
movss xmm0, dword [rbx + 0x1ebc]
maxss xmm0, xmm5
movss dword [rbx + 0x1ebc], xmm0
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x1400159cc
call fcn.140009f60
test al, al
je 0x1400159cc
cmp byte [rbx + 0x13d], r14b
mov ecx, 0xffffffff
cmovne ecx, r15d
call fcn.140015540
cmp byte [rbx + 0x13c], r14b
jne 0x1400159dc
mov rdi, qword [rbx + 0x1ea0]
mov edx, r15d
mov ecx, reloc.WS2_32.dll_recv
call fcn.140013390
comiss xmm0, xmm6
jbe 0x1400159f4
mov byte [rbx + 0x1ec0], dl
cmp dword [rbx + 0x1be8], r14d
je 0x140015a0a
cmp byte [rbx + 0x1bf5], r14b
je 0x140015a97
cmp byte [rbx + 0x1ec0], r14b
je 0x140015a97
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.140013390
comiss xmm0, xmm6
jbe 0x140015a97
lea rax, [rbx + 0x120]
test rax, rax
jne 0x140015a3c
lea rax, [rbx + 0x120]
movss xmm0, dword [rax]
movss xmm1, dword [0x1400f8c38]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140015a5d
comiss xmm2, xmm1
jb 0x140015a5d
movzx ecx, r15b
jmp 0x140015a5f
xor cl, cl
lea rax, [rbx + 0x3c0]
test rax, rax
jne 0x140015a72
lea rax, [rbx + 0x120]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140015a8b
comiss xmm2, xmm1
jb 0x140015a8b
movzx eax, r15b
jmp 0x140015a8d
xor al, al
cmp cl, al
movzx ebp, bpl
cmove ebp, r15d
mov r11, qword [rbx + 0x1ea0]
test r11, r11
je 0x140015c44
test byte [r11 + 0xc], 4
jne 0x140015c44
mov eax, dword [rbx + 0x1da4]
cmp eax, 3
jne 0x140015ad7
cmp byte [rbx + 0x13d], r14b
jne 0x140015c44
mov edx, r15d
lea rcx, [rsp + 0x80]
jmp 0x140015aea
cmp eax, 4
jne 0x140015c44
mov edx, eax
lea rcx, [rsp + 0x88]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
call fcn.140013510
movss xmm4, dword [rax]
ucomiss xmm4, xmm6
movss xmm3, dword [rax + 4]
jp 0x140015b13
jne 0x140015b13
ucomiss xmm3, xmm6
jp 0x140015b13
je 0x140015c44
mov rcx, qword [r11 + 0x3e8]
movss xmm1, dword [rbx + 0xc0]
movss xmm0, dword [rbx + 0x18]
minss xmm1, dword [rbx + 0xc4]
mulss xmm0, dword [0x1400f8c04]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
mov eax, dword [rcx + 0xe4]
cvtdq2ps xmm2, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm2
addss xmm4, dword [rcx + 0x48]
addss xmm3, dword [rcx + 0x4c]
test r15b, al
je 0x140015c22
movss xmm0, dword [rcx + 0x48]
and eax, 0xfffffff1
movss xmm1, dword [rcx + 0x4c]
mov dword [rcx + 0xe4], eax
mov dword [rcx + 0xf4], 0x7f7fffff
mov dword [rcx + 0xf8], 0x7f7fffff
cvttss2si eax, xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
cvttss2si eax, xmm3
movss dword [rcx + 0x48], xmm2
subss xmm2, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm2
movss dword [rcx + 0x4c], xmm3
subss xmm3, xmm1
addss xmm0, dword [rcx + 0x118]
movaps xmm1, xmm3
addss xmm1, dword [rcx + 0x11c]
movss dword [rcx + 0x118], xmm0
movaps xmm0, xmm2
addss xmm0, dword [rcx + 0x130]
addss xmm2, dword [rcx + 0x128]
movss dword [rcx + 0x11c], xmm1
movaps xmm1, xmm3
addss xmm1, dword [rcx + 0x134]
addss xmm3, dword [rcx + 0x12c]
movss dword [rcx + 0x130], xmm0
movss dword [rcx + 0x128], xmm2
movss dword [rcx + 0x134], xmm1
movss dword [rcx + 0x12c], xmm3
test dword [rcx + 0xc], 0x100
jne 0x140015c3d
comiss xmm6, dword [rbx + 0x2fbc]
jb 0x140015c3d
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x2fbc], eax
mov byte [rbx + 0x1dc7], r15b
mov qword [rsp + 0x58], rsi
movaps xmm6, xmmword [rsp + 0x40]
test rdi, rdi
je 0x140015d96
mov rax, qword [rbx + 0x1d70]
test rax, rax
je 0x140015c76
cmp rdi, qword [rax + 0x3f0]
je 0x140015d8f
mov rsi, qword [rax + 0x30]
jmp 0x140015c79
mov rsi, r14
mov ecx, dword [rbx + 0x1be8]
test ecx, ecx
setne al
mov byte [rbx + 0x1bf4], al
test ecx, ecx
je 0x140015c9d
mov dword [rbx + 0x1bf0], r14d
mov word [rbx + 0x1bf7], r14w
mov dword [rbx + 0x1be8], r14d
mov word [rbx + 0x1bf5], r14w
mov qword [rbx + 0x1c18], r14
mov byte [rbx + 0x1bf9], r14b
mov qword [rbx + 0x1bfc], r14
mov qword [rbx + 0x1c08], r14
mov word [rbx + 0x1dc6], 0x100
mov rax, qword [rdi + 0x408]
test rax, rax
je 0x140015ceb
cmp byte [rax + 0xc0], r14b
je 0x140015ceb
mov rdi, rax
jmp 0x140015d43
mov rdx, qword [rdi + 0x450]
test rdx, rdx
je 0x140015d43
mov rdx, qword [rdx + 0x38]
test rdx, rdx
je 0x140015d43
movsxd r8, dword [rdx]
mov rcx, r14
test r8, r8
jle 0x140015d43
mov rdx, qword [rdx + 8]
nop
test rcx, rcx
je 0x140015d1d
mov eax, dword [rdx + 0x14]
cmp dword [rcx + 0x14], eax
jge 0x140015d31
mov rax, qword [rdx + 8]
test rax, rax
je 0x140015d31
cmp byte [rax + 0xc0], r14b
cmovne rcx, rdx
add rdx, 0x30
sub r8, r15
jne 0x140015d10
test rcx, rcx
je 0x140015d43
mov rdi, qword [rcx + 8]
xor edx, edx
mov rcx, rdi
call fcn.140011da0
mov rcx, rdi
call fcn.140010450
cmp dword [rdi + 0x410], r14d
jne 0x140015d68
xor edx, edx
mov rcx, rdi
call fcn.1400131a0
cmp dword [rdi + 0x188], 2
jne 0x140015d78
mov dword [rbx + 0x1dbc], r15d
mov rcx, qword [rdi + 0x30]
cmp rcx, rsi
je 0x140015d8f
mov rax, qword [rbx + 0x1590]
test rax, rax
je 0x140015d8f
call rax
mov qword [rbx + 0x1ea0], r14
mov r15, qword [rsp + 0x50]
test bpl, bpl
mov rbp, qword [rsp + 0x90]
je 0x140015e53
mov rdi, qword [rbx + 0x1d70]
test rdi, rdi
je 0x140015e53
lea rcx, [rdi + 0x3e0]
cmp qword [rcx], r14
je 0x140015df7
nop dword [rax + rax]
test byte [rdi + 0x188], 2
jne 0x140015df7
mov eax, dword [rdi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140015df7
mov rdi, qword [rcx]
lea rcx, [rdi + 0x3e0]
cmp qword [rcx], r14
jne 0x140015dd0
mov rsi, qword [rbx + 0x1d70]
cmp rdi, rsi
je 0x140015e12
mov rcx, rdi
call fcn.140010450
mov qword [rdi + 0x408], rsi
mov rax, qword [rbx + 0x1d70]
mov word [rbx + 0x1dc6], 0x100
test byte [rax + 0x188], 2
je 0x140015e4b
mov ecx, dword [rbx + 0x1dbc]
xor ecx, 1
cmp ecx, 1
jne 0x140015e4e
cmp qword [rdi + 0x450], r14
jne 0x140015e4e
mov dword [rax + 0x414], r14d
jmp 0x140015e4e
mov ecx, r14d
call fcn.1400130a0
mov rsi, qword [rsp + 0x58]
add rsp, 0x60
pop r14
pop rdi
pop rbx
ret