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

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x58
mov rdi, qword [0x1400883e8]
xor r14d, r14d
mov qword [rsp + 0x98], rbp
mov rbx, rdi
xor bpl, bpl
mov qword [rsp + 0x50], r15
movaps xmmword [rsp + 0x40], xmm6
mov esi, r14d
mov eax, dword [rdi + 0x1dd8]
sub eax, 1
js 0x1400158a3
mov r8, qword [rdi + 0x1de0]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov r9, qword [r8]
test r9, r9
je 0x140015899
test dword [r9 + 0xc], 0x8000000
jne 0x140015920
sub r8, 0x30
sub rdx, 1
jns 0x140015883
mov r9, r14
xorps xmm6, xmm6
cmp qword [rdi + 0x1f30], rsi
je 0x1400158f5
cmp qword [rdi + 0x1f28], rsi
jne 0x1400158f5
comiss xmm6, dword [rdi + 0x1f74]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x1f44]
mulss xmm0, dword [0x140079ae8]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x1f44], xmm1
jb 0x1400158f5
comiss xmm6, xmm1
jb 0x1400158f5
mov qword [rdi + 0x1f30], r14
mov r15d, 1
test r9, r9
jne 0x14001592c
cmp qword [rdi + 0x1f28], rsi
jne 0x14001592c
mov edx, r15d
lea ecx, [r15 + 2]
call fcn.140013630
comiss xmm0, xmm6
jbe 0x14001592c
movzx r8d, dl
jmp 0x14001593d
mov qword [rdi + 0x1f28], r14
jmp 0x1400158a6
xor r8b, r8b
test r9, r9
jne 0x140015962
cmp qword [rdi + 0x1f28], rsi
jne 0x140015962
cmp byte [rdi + 0x140], sil
je 0x140015962
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x140015962
call fcn.14000b9e0
test al, al
je 0x140015962
test byte [rdi + 8], r15b
je 0x140015962
movzx r11d, r15b
jmp 0x140015965
xor r11b, r11b
test r8b, r8b
jne 0x140015973
test r11b, r11b
je 0x140015a12
mov rax, qword [rdi + 0x1e08]
test rax, rax
jne 0x1400159df
movsxd rcx, dword [rdi + 0x1bc0]
lea edx, [rcx - 1]
test edx, edx
js 0x140015a12
movsxd rax, edx
mov r10, rcx
cmp rax, r10
jge 0x140015a12
cmp rax, 0xffffffff80000001
je 0x140015a12
mov r9, qword [rdi + 0x1bc8]
mov rcx, qword [r9 + rax*8]
cmp byte [rcx + 0x8f], sil
je 0x1400159ca
cmp rcx, qword [rcx + 0x348]
jne 0x1400159ca
test dword [rcx + 0xc], 0x80000
je 0x1400159d3
dec edx
sub rax, r15
jns 0x140015997
jmp 0x140015a12
movsxd rax, edx
mov rax, qword [r9 + rax*8]
test rax, rax
je 0x140015a12
mov rax, qword [rax + 0x348]
mov qword [rdi + 0x1f30], rax
mov qword [rdi + 0x1f28], rax
movzx eax, r11b
xor eax, r15d
mov qword [rdi + 0x1f40], r14
add eax, 2
mov byte [rdi + 0x1f48], r8b
mov dword [rdi + 0x1e44], eax
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x1f40]
movss xmm5, dword [0x140079aa4]
movss dword [rdi + 0x1f40], xmm0
cmp qword [rdi + 0x1f28], rsi
je 0x140015aff
cmp dword [rdi + 0x1e44], 3
jne 0x140015aff
subss xmm0, dword [0x140079a48]
movaps xmmword [rsp + 0x30], xmm7
divss xmm0, dword [0x140079a30]
comiss xmm6, xmm0
jbe 0x140015a68
movaps xmm1, xmm6
jmp 0x140015a6f
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rdi + 0x1f44]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rdi + 0x1f44], xmm7
call fcn.140013630
comiss xmm0, xmm6
mov r9d, r14d
lea ecx, [rdx + 8]
seta r9b
call fcn.140013630
comiss xmm0, xmm6
mov ecx, r14d
seta cl
sub ecx, r9d
je 0x140015ac2
call fcn.140015700
mov dword [rdi + 0x1f44], 0x3f800000
movaps xmm7, xmm5
movss xmm0, dword [rdi + 0x350]
comiss xmm0, xmm6
ja 0x140015afa
comiss xmm5, xmm7
seta al
and byte [rdi + 0x1f48], al
je 0x140015aec
cmp qword [rdi + 0x1e08], rsi
je 0x140015af3
movzx ebp, r15b
jmp 0x140015af3
mov rsi, qword [rdi + 0x1f28]
mov qword [rdi + 0x1f28], r14
movaps xmm7, xmmword [rsp + 0x30]
cmp qword [rdi + 0x1f28], r14
je 0x140015b80
cmp dword [rdi + 0x1e44], 2
jne 0x140015b80
movss xmm0, dword [rdi + 0x1f40]
subss xmm0, dword [0x140079a48]
divss xmm0, dword [0x140079a30]
comiss xmm6, xmm0
jbe 0x140015b33
movaps xmm5, xmm6
jmp 0x140015b37
minss xmm5, xmm0
movss xmm0, dword [rdi + 0x1f44]
maxss xmm0, xmm5
movss dword [rdi + 0x1f44], xmm0
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
js 0x140015b70
call fcn.14000b9e0
test al, al
je 0x140015b70
cmp byte [rdi + 0x141], r14b
mov ecx, 0xffffffff
cmovne ecx, r15d
call fcn.140015700
cmp byte [rdi + 0x140], r14b
jne 0x140015b80
mov rsi, qword [rdi + 0x1f28]
cmp dword [rdi + 0x3c0], 4
jne 0x140015ba3
test byte [rdi + 0x3c4], 4
jne 0x140015ba3
mov byte [rdi + 0x1f48], r15b
mov dword [rdi + 0x1e44], 2
movzx eax, byte [rdi + 0x1f48]
test al, al
je 0x140015c9e
cmp dword [rdi + 0x1e44], 2
jne 0x140015c9e
cmp dword [rdi + 0x1550], r14d
jg 0x140015be3
cmp byte [rdi + 0x140], r14b
jne 0x140015be3
cmp byte [rdi + 0x141], r14b
jne 0x140015be3
cmp byte [rdi + 0x143], r14b
je 0x140015bec
mov byte [rdi + 0x1f48], r14b
xor al, al
test byte [rdi + 0x3c0], 4
jne 0x140015c8e
test byte [rdi + 0x3c4], 4
je 0x140015c8e
test al, al
je 0x140015c8e
cmp dword [rdi + 0x1c58], r14d
je 0x140015c20
cmp byte [rdi + 0x1c65], r14b
je 0x140015c8e
lea rax, [rdi + 0x3c8]
test rax, rax
jne 0x140015c33
lea rax, [rdi + 0x128]
movss xmm0, dword [rax]
movss xmm1, dword [0x140079b50]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140015c54
comiss xmm2, xmm1
jb 0x140015c54
movzx ecx, r15b
jmp 0x140015c56
xor cl, cl
lea rax, [rdi + 0x128]
test rax, rax
jne 0x140015c69
lea rax, [rdi + 0x128]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140015c82
comiss xmm2, xmm1
jb 0x140015c82
movzx eax, r15b
jmp 0x140015c84
xor al, al
cmp al, cl
movzx ebp, bpl
cmove ebp, r15d
cmp byte [rdi + 0x142], r14b
jne 0x140015c9e
mov byte [rdi + 0x1f48], r14b
mov r11, qword [rdi + 0x1f28]
test r11, r11
je 0x140015daa
test byte [r11 + 0xc], 4
jne 0x140015daa
mov eax, dword [rdi + 0x1e44]
cmp eax, 2
jne 0x140015cde
cmp byte [rdi + 0x141], r14b
jne 0x140015daa
mov edx, r15d
lea rcx, [rsp + 0x88]
jmp 0x140015cf2
cmp eax, 3
jne 0x140015daa
lea edx, [rax + 1]
lea rcx, [rsp + 0x90]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
call fcn.1400137b0
movss xmm4, dword [rax]
ucomiss xmm4, xmm6
movss xmm3, dword [rax + 4]
jp 0x140015d1b
jne 0x140015d1b
ucomiss xmm3, xmm6
jp 0x140015d1b
je 0x140015daa
mov r9, qword [r11 + 0x348]
lea rdx, [rsp + 0x80]
movss xmm1, dword [rdi + 0xc0]
mov r8d, r15d
movss xmm0, dword [rdi + 0x18]
mov rcx, r9
minss xmm1, dword [rdi + 0xc4]
mulss xmm0, dword [0x140079b20]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm4, xmm2
mulss xmm3, xmm2
addss xmm4, dword [r9 + 0x10]
addss xmm3, dword [r9 + 0x14]
movss dword [rsp + 0x80], xmm4
movss dword [rsp + 0x84], xmm3
call fcn.140010d60
test dword [r9 + 0xc], 0x100
jne 0x140015da3
comiss xmm6, dword [rdi + 0x309c]
jb 0x140015da3
mov eax, dword [rdi + 0x1c]
mov dword [rdi + 0x309c], eax
mov byte [rdi + 0x1e53], r8b
movaps xmm6, xmmword [rsp + 0x40]
test rsi, rsi
je 0x140015e8f
mov rax, qword [rdi + 0x1e08]
test rax, rax
je 0x140015dd1
cmp rsi, qword [rax + 0x348]
je 0x140015e88
mov ecx, dword [rdi + 0x1c58]
test ecx, ecx
setne al
mov byte [rdi + 0x1c64], al
test ecx, ecx
je 0x140015dff
mov dword [rdi + 0x1c60], r14d
mov word [rdi + 0x1c67], r14w
mov dword [rdi + 0x1c94], 0xffffffff
mov dword [rdi + 0x1c58], r14d
mov word [rdi + 0x1c65], r14w
mov qword [rdi + 0x1c88], r14
mov word [rdi + 0x1c69], r14w
mov qword [rdi + 0x1c6c], r14
mov qword [rdi + 0x1c78], r14
mov word [rdi + 0x1e52], 0x100
mov rax, qword [rsi + 0x360]
test rax, rax
je 0x140015e4b
cmp byte [rax + 0x8f], r14b
cmovne rsi, rax
xor edx, edx
mov rcx, rsi
call fcn.140011fc0
mov rcx, rsi
call fcn.1400109b0
cmp dword [rsi + 0x368], r14d
jne 0x140015e70
xor edx, edx
mov rcx, rsi
call fcn.140013400
cmp word [rsi + 0x12a], 2
jne 0x140015e81
mov dword [rdi + 0x1e48], r15d
mov rdi, qword [0x1400883e8]
mov qword [rbx + 0x1f28], r14
mov r15, qword [rsp + 0x50]
test bpl, bpl
mov rbp, qword [rsp + 0x98]
je 0x140015f99
cmp qword [rbx + 0x1e08], r14
je 0x140015f99
mov ecx, dword [rdi + 0x1c58]
test ecx, ecx
setne al
mov byte [rdi + 0x1c64], al
test ecx, ecx
je 0x140015ee0
mov dword [rdi + 0x1c60], r14d
mov word [rdi + 0x1c67], r14w
mov dword [rdi + 0x1c94], 0xffffffff
mov dword [rdi + 0x1c58], r14d
mov word [rdi + 0x1c65], r14w
mov qword [rdi + 0x1c88], r14
mov word [rdi + 0x1c69], r14w
mov qword [rdi + 0x1c6c], r14
mov qword [rdi + 0x1c78], r14
mov rdi, qword [rbx + 0x1e08]
lea rcx, [rdi + 0x340]
cmp qword [rcx], r14
je 0x140015f47
nop
test byte [rdi + 0x128], 2
jne 0x140015f47
mov eax, dword [rdi + 0xc]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140015f47
mov rdi, qword [rcx]
lea rcx, [rdi + 0x340]
cmp qword [rcx], r14
jne 0x140015f20
mov rsi, qword [rbx + 0x1e08]
cmp rdi, rsi
je 0x140015f62
mov rcx, rdi
call fcn.1400109b0
mov qword [rdi + 0x360], rsi
mov rax, qword [rbx + 0x1e08]
test byte [rax + 0x128], 2
je 0x140015f7d
mov ecx, dword [rbx + 0x1e48]
xor ecx, 1
jmp 0x140015f80
mov ecx, r14d
cmp ecx, dword [rbx + 0x1e48]
je 0x140015f99
cmp ecx, 1
jne 0x140015f94
mov dword [rax + 0x36c], r14d
call fcn.140013350
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
ret