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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r10, qword [0x1410d2c60]
mov ebp, 3
mov rbx, r10
test byte [r10 + 8], 2
mov byte [r10 + 0xd5], 0
je 0x140018a56
test byte [r10 + 0xc], 1
je 0x140018a56
movdqa xmm0, xmmword [0x140d4a1a0]
lea r11, [rsp + 0x40]
movdqa xmm1, xmmword [0x140d4a1b0]
mov r12b, 1
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop dword [rax]
mov r9d, dword [r11]
mov rcx, r10
mov edx, r9d
call fcn.140013100
cmp byte [rax], 0
je 0x140018a46
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x140018a2e
cmp r9d, 0x1000
je 0x140018a2e
cmp r9d, 0x2000
je 0x140018a2e
cmp r9d, 0x4000
je 0x140018a2e
cmp r9d, 0x8000
je 0x140018a2e
cmp r9d, 0x800
jne 0x140018a3f
mov edx, r9d
mov rcx, r10
call fcn.140006f00
cmp byte [rax + 8], 0
jne 0x140018a46
mov dword [r10 + 0x4904], ebp
add r11, 4
lea rax, [rsp + 0x60]
cmp r11, rax
jne 0x1400189e0
jmp 0x140018a59
xor r12b, r12b
movzx r13d, byte [r10 + 8]
movdqa xmm0, xmmword [0x140d4a190]
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
movdqu xmmword [rsp + 0x20], xmm0
and r13b, 1
je 0x140018b08
lea r11, [rsp + 0x20]
nop
mov r9d, dword [r11]
mov rcx, r10
mov edx, r9d
call fcn.140013100
cmp byte [rax], 0
je 0x140018afa
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x140018ade
cmp r9d, 0x1000
je 0x140018ade
cmp r9d, 0x2000
je 0x140018ade
cmp r9d, 0x4000
je 0x140018ade
cmp r9d, 0x8000
je 0x140018ade
cmp r9d, 0x800
jne 0x140018aef
mov edx, r9d
mov rcx, r10
call fcn.140006f00
cmp byte [rax + 8], 0
jne 0x140018afa
mov dword [r10 + 0x4904], 2
add r11, 4
lea rax, [rsp + 0x3c]
cmp r11, rax
jne 0x140018a90
mov edx, dword [r10 + 0x4920]
xor r14d, r14d
mov dword [r10 + 0x48f0], r14d
test edx, edx
je 0x140018c36
mov r9, qword [r10 + 0x48d0]
mov rdi, r10
test r9, r9
je 0x140018c36
cmp dword [r10 + 0x48d8], edx
je 0x140018b59
mov dword [r10 + 0x48f0], edx
mov eax, dword [r10 + 0x4924]
mov dword [r10 + 0x48f4], eax
mov dword [r10 + 0x48f8], r14d
test byte [r10 + 0x5d4c], 8
je 0x140018b81
mov r9, qword [r9 + 8]
lea rcx, [0x140d46080]
mov r8d, dword [r10 + 0x4908]
call fcn.14001cf00
mov r10, qword [0x1410d2c60]
mov eax, dword [rdi + 0x4924]
movsxd rcx, dword [rdi + 0x4908]
mov edx, dword [rdi + 0x4920]
mov r8, rcx
mov dword [r10 + 0x48dc], eax
add r8, r8
mov rax, qword [r10 + 0x48d0]
mov dword [r10 + 0x48d8], edx
mov dword [r10 + 0x4908], ecx
mov dword [rax + rcx*4 + 0x3a0], edx
mov rax, qword [r10 + 0x48d0]
movups xmm0, xmmword [rdi + 0x4928]
movups xmmword [rax + r8*8 + 0x3a8], xmm0
mov rax, qword [r10 + 0x48d0]
movsxd rdx, dword [r10 + 0x4908]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3c8], 0x7f7fffff
mov rax, qword [r10 + 0x48d0]
movsxd rdx, dword [r10 + 0x4908]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3cc], 0x7f7fffff
mov byte [rdi + 0x490c], 1
cmp byte [rdi + 0x4912], r14b
je 0x140018c36
mov word [r10 + 0x490d], 1
mov byte [r10 + 0x490f], 1
mov word [rbx + 0x4911], r14w
mov dword [rbx + 0x4920], r14d
cmp byte [rbx + 0x4948], r14b
je 0x140018c53
call fcn.140019ea0
xor r15b, r15b
mov dword [rbx + 0x498c], r14d
mov esi, 1
mov word [rbx + 0x4948], r14w
cmp byte [rbx + 0x490d], r14b
je 0x140018c9d
cmp byte [rbx + 0x490c], r14b
je 0x140018c9d
cmp byte [rbx + 0x490e], r14b
jne 0x140018c9d
cmp byte [rbx + 0x490f], r14b
je 0x140018c9d
cmp qword [rbx + 0x48d0], r14
movzx r15d, r15b
cmovne r15d, esi
mov rcx, qword [rbx + 0x48d0]
mov byte [rbx + 0x490d], r14b
test rcx, rcx
je 0x140018cdf
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140018cd3
test dword [rax + 0x14], 0x14000000
jne 0x140018cd3
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140018cb3
jmp 0x140018cdf
cmp rax, rcx
je 0x140018cdf
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x140018d04
cmp qword [rax + 0x398], r14
je 0x140018d04
cmp dword [rbx + 0x4908], r14d
jne 0x140018d04
mov qword [rax + 0x398], r14
call fcn.14001adf0
test r13b, r13b
jne 0x140018d17
test r12b, r12b
je 0x140018e2c
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x140018e2c
test dword [rax + 0x14], 0x40000
jne 0x140018e2c
mov byte [rbx + 0xd7], sil
cmp dword [rbx + 0x48d8], r14d
je 0x140018e33
cmp byte [rbx + 0x490e], r14b
jne 0x140018e33
movzx eax, sil
mov byte [rbx + 0xd8], al
call fcn.14001a320
mov qword [rbx + 0x48e4], r14
mov dword [rbx + 0x48e0], r14d
mov dword [rbx + 0x48ec], r14d
cmp dword [rbx + 0x48d8], r14d
je 0x140018f4d
cmp byte [rbx + 0x490e], r14b
jne 0x140018f4d
cmp qword [rbx + 0x4a58], r14
jne 0x140018f4d
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x140018f4d
test dword [rax + 0x14], 0x40000
jne 0x140018f4d
mov rdi, qword [0x1410d2c60]
test r13b, r13b
je 0x140018ddb
cmp byte [rdi + 0x2ee4], r14b
je 0x140018ddb
cmp byte [rdi + 0x4018], r14b
je 0x140018df2
test r12b, r12b
je 0x140018e47
cmp byte [rdi + 0x3504], r14b
je 0x140018e47
cmp byte [rdi + 0x44b0], r14b
jne 0x140018e47
movzx r14d, sil
test r13b, r13b
je 0x140018e0e
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140013830
test al, al
jne 0x140018e26
test r12b, r12b
je 0x140018e47
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140013830
test al, al
je 0x140018e47
movzx ebp, sil
jmp 0x140018e4a
mov byte [rbx + 0xd7], r14b
cmp qword [rbx + 0x4a58], r14
jne 0x140018d55
xor al, al
jmp 0x140018d59
xor bpl, bpl
test r13b, r13b
je 0x140018e61
cmp byte [rdi + 0x2ef4], 0
je 0x140018e61
cmp byte [rdi + 0x4024], 0
je 0x140018e78
test r12b, r12b
je 0x140018eb2
cmp byte [rdi + 0x34f4], 0
je 0x140018eb2
cmp byte [rdi + 0x44a4], 0
jne 0x140018eb2
movzx edi, sil
test r13b, r13b
je 0x140018e94
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140013830
test al, al
jne 0x140018eac
test r12b, r12b
je 0x140018eb5
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140013830
test al, al
je 0x140018eb5
movzx edx, sil
jmp 0x140018eb7
xor dil, dil
xor dl, dl
mov ecx, dword [rbx + 0x3f38]
test ecx, ecx
jne 0x140018ede
test bpl, bpl
je 0x140018ee6
mov eax, dword [rbx + 0x48d8]
mov dword [rbx + 0x48e0], eax
mov dword [rbx + 0x48ec], 2
jmp 0x140018ee6
cmp ecx, dword [rbx + 0x48d8]
jne 0x140018f1e
test dl, dl
je 0x140018efc
mov eax, dword [rbx + 0x48d8]
mov dword [rbx + 0x48e0], eax
mov dword [rbx + 0x48ec], esi
test ecx, ecx
je 0x140018f08
cmp ecx, dword [rbx + 0x48d8]
jne 0x140018f1e
test r14b, r14b
jne 0x140018f12
test dil, dil
je 0x140018f1e
mov eax, dword [rbx + 0x48d8]
mov dword [rbx + 0x48e4], eax
mov eax, dword [rbx + 0x3f38]
test eax, eax
je 0x140018f30
cmp eax, dword [rbx + 0x48d8]
jne 0x140018f45
test bpl, bpl
jne 0x140018f39
test dl, dl
je 0x140018f45
mov eax, dword [rbx + 0x48d8]
mov dword [rbx + 0x48e8], eax
mov ebp, 3
xor r14d, r14d
mov rax, qword [rbx + 0x48d0]
test rax, rax
je 0x140018f69
test dword [rax + 0x14], 0x40000
je 0x140018f69
mov byte [rbx + 0x490e], sil
mov eax, dword [rbx + 0x48fc]
test eax, eax
je 0x140018f91
mov dword [rbx + 0x48e8], eax
mov dword [rbx + 0x48e4], eax
mov dword [rbx + 0x48e0], eax
mov eax, dword [rbx + 0x4900]
mov dword [rbx + 0x48ec], eax
mov dword [rbx + 0x48fc], r14d
call fcn.1400193b0
cmp dword [rbx + 0x4958], 0xffffffff
xorps xmm5, xmm5
mov r11, qword [0x1410d2c60]
jne 0x1400190f7
mov rdi, qword [r11 + 0x48d0]
test rdi, rdi
je 0x1400190f7
cmp qword [r11 + 0x4a58], 0
jne 0x1400190f7
test dword [rdi + 0x14], 0x40000
jne 0x1400190f7
cmp byte [r11 + 0x2e24], 0
je 0x1400190f7
movss xmm0, dword [r11 + 0x2e28]
comiss xmm5, xmm0
ja 0x1400190f7
ucomiss xmm0, xmm5
mov r10, r11
jp 0x140019009
je 0x140019030
movss xmm1, dword [r11 + 0x70]
comiss xmm0, xmm1
jbe 0x1400190f7
movss xmm2, dword [r11 + 0x74]
mov ecx, 0x200
call fcn.140013250
test eax, eax
jle 0x1400190f7
cmp byte [r10 + 0x474c], 0
je 0x140019048
cmp dword [r10 + 0x3f38], 0xffffffff
jne 0x1400190f7
cmp dword [r10 + 0x3f80], 0xffffffff
jne 0x1400190f7
cmp byte [r11 + 0xe1c], 0
jne 0x1400190f7
cmp byte [r11 + 0xe1e], 0
jne 0x1400190f7
movzx eax, byte [r11 + 0xe1d]
test byte [r11 + 8], sil
je 0x1400190a3
test al, al
je 0x14001908b
mov esi, 0xffffffff
jmp 0x1400190bd
cmp byte [r11 + 0x490e], sil
jne 0x1400190bd
cmp dword [r11 + 0x3f38], 0
jne 0x1400190bd
mov esi, r14d
jmp 0x1400190bd
test al, al
je 0x1400190ae
mov esi, 0xffffffff
jmp 0x1400190bd
cmp dword [r11 + 0x3f38], 0
mov esi, r14d
setne sil
mov dword [r11 + 0x4988], esi
mov eax, 0x21
cmp byte [rdi + 0xbc], 0
mov ecx, 0xffffffff
mov r8d, 0x1400
cmovne ebp, eax
sar esi, 0x1f
mov r9d, ebp
lea edx, [rsi + 3]
call fcn.1400181a0
mov dword [r11 + 0x498c], 0xffffffff
cmp byte [r11 + 0x4949], 0
jne 0x14001910f
cmp byte [r11 + 0x4911], 0
jne 0x14001910f
xor al, al
jmp 0x140019111
mov al, 1
mov byte [r11 + 0x4910], al
mov rcx, qword [rbx + 0x48d0]
mov byte [rbx + 0x490c], 0
test rcx, rcx
je 0x140019323
test dword [rcx + 0x14], 0x40000
jne 0x140019323
cmp qword [rbx + 0x4a58], 0
jne 0x140019323
mov rax, qword [rcx]
movss xmm0, dword [rax + 0x3c14]
mov rax, qword [rcx + 0x368]
mulss xmm0, dword [rcx + 0x290]
test rax, rax
je 0x140019171
mulss xmm0, dword [rax + 0x290]
cmp word [rcx + 0x15c], 0
mulss xmm0, dword [0x140d49ee4]
mov edx, dword [rbx + 0x4958]
movss xmm2, dword [0x140d49d7c]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x140d49d48]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x140019243
cmp byte [rcx + 0x162], 0
je 0x140019243
cmp edx, 0xffffffff
je 0x140019243
movss xmm1, dword [0x140d49f5c]
test edx, edx
je 0x1400191d9
cmp edx, 1
jne 0x140019209
movaps xmm0, xmm2
jmp 0x1400191dc
movaps xmm0, xmm1
mulss xmm0, xmm3
mov dword [rcx + 0x9c], r14d
mov dword [rcx + 0xa4], r14d
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
cmp edx, 2
je 0x140019216
cmp edx, 3
jne 0x140019243
movaps xmm1, xmm2
mulss xmm1, xmm3
mov dword [rcx + 0xa0], r14d
mov dword [rcx + 0xa8], r14d
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test r12b, r12b
je 0x140019323
cmp byte [r11 + 0x3554], 0
movss xmm1, dword [r11 + 0x35f0]
movss xmm0, dword [r11 + 0x35d0]
subss xmm1, dword [r11 + 0x35e0]
subss xmm0, dword [r11 + 0x35c0]
je 0x14001928e
cmp byte [r11 + 0x44ec], 0
jne 0x14001928e
movss xmm2, dword [0x140d49d0c]
jmp 0x1400192aa
cmp byte [r11 + 0x3564], 0
je 0x1400192aa
cmp byte [r11 + 0x44f8], 0
jne 0x1400192aa
movss xmm2, dword [0x140d49e84]
ucomiss xmm0, xmm5
jp 0x1400192b1
je 0x1400192eb
cmp byte [rcx + 0xb4], 0
je 0x1400192eb
mulss xmm0, xmm3
mov dword [rcx + 0x9c], r14d
mov dword [rcx + 0xa4], r14d
mulss xmm0, xmm2
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
ucomiss xmm1, xmm5
jp 0x1400192f2
je 0x140019323
mulss xmm1, xmm3
mov dword [rcx + 0xa0], r14d
mov dword [rcx + 0xa8], r14d
mulss xmm1, xmm2
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test r13b, r13b
jne 0x140019338
test r12b, r12b
jne 0x140019338
mov word [rbx + 0x490e], 1
jmp 0x140019386
test r15b, r15b
je 0x140019386
test byte [rbx + 8], 4
je 0x140019386
test byte [rbx + 0xc], 4
je 0x140019386
lea rcx, [rsp + 0x90]
call fcn.1400186a0
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x36e8], xmm0
movss dword [rbx + 0x36ec], xmm1
movss dword [rbx + 0xe00], xmm0
movss dword [rbx + 0xe04], xmm1
mov byte [rbx + 0xd5], 1
lea r11, [rsp + 0x60]
mov dword [rbx + 0x4984], r14d
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret