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

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x218
mov rax, qword [0x14012a2b8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x37e0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x220]
movsx eax, word [rax + 0xba]
test eax, eax
je 0x14001a9b5
mov r8d, 0x16a3
lea rdx, [0x1400e4d00]
lea rcx, str.window__BeginCount__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rax, qword [rsp + 0x220]
mov byte [rax + 0xb3], 0
mov rax, qword [rsp + 0x220]
movss xmm0, dword [rax + 0x50]
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x220]
movss xmm0, dword [rax + 0x54]
movss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x220]
movzx eax, byte [rax + 0xb1]
test eax, eax
je 0x14001aac2
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 0x48]
movss dword [rsp + 0x84], xmm0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x220]
movss xmm0, dword [rcx + 0x54]
movss dword [rax + 0x3828], xmm0
movzx eax, byte [rsp + 0x230]
test eax, eax
je 0x14001aa54
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x48f2]
test eax, eax
jne 0x14001aa54
mov dword [rsp + 0x58], 0xb
jmp 0x14001aa5c
mov dword [rsp + 0x58], 0xc
movss xmm1, dword [0x14011fdd0]
mov ecx, dword [rsp + 0x58]
call fcn.1400101c0
mov dword [rsp + 0x80], eax
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov r8d, dword [rsp + 0x80]
mov rax, qword [rsp + 0x228]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x228]
mov rcx, qword [rax]
call fcn.1400110c0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x84]
movss dword [rax + 0x3828], xmm0
jmp 0x14001b33d
mov eax, dword [rsp + 0x34]
and eax, 0x80
test eax, eax
jne 0x14001ac5e
mov rcx, qword [rsp + 0x220]
call fcn.140019090
movss xmm1, dword [0x14011fdd0]
mov ecx, eax
call fcn.1400101c0
mov dword [rsp + 0x44], eax
mov byte [rsp + 0x30], 0
movss xmm0, dword [0x14011fdd0]
movss dword [rsp + 0x5c], xmm0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x47a8]
and eax, 0x40
test eax, eax
je 0x14001ab30
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x4808]
movss dword [rsp + 0x5c], xmm0
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14001ab7a
mov eax, dword [rsp + 0x44]
and eax, 0xffffff
mov dword [rsp + 0x88], eax
movss xmm0, dword [rsp + 0x5c]
call fcn.140008950
mulss xmm0, dword [0x140120094]
addss xmm0, dword [0x14011fd5c]
cvttss2si eax, xmm0
shl eax, 0x18
mov ecx, dword [rsp + 0x88]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x290]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x14001aba6
mov dword [rsp + 0x60], 0
jmp 0x14001abae
mov dword [rsp + 0x60], 0xc0
mov rax, qword [rsp + 0x220]
add rax, 0x20
mov rcx, qword [rsp + 0x220]
add rcx, 0x18
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x1f8]
call fcn.1400083f0
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x220]
call fcn.14000b640
movaps xmm2, xmm0
xorps xmm1, xmm1
lea rcx, [rsp + 0x168]
call fcn.140004920
mov rcx, qword [rsp + 0x220]
add rcx, 0x18
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x170]
call fcn.1400083f0
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x44]
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call fcn.14004ae50
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 0xc8]
comiss xmm0, dword [0x14011fc90]
jbe 0x14001acbb
mov eax, dword [rsp + 0x34]
and eax, 0x1000000
test eax, eax
je 0x14001ac8e
mov eax, dword [rsp + 0x34]
and eax, 0x4000000
test eax, eax
je 0x14001acbb
mov eax, 0x10
imul rax, rax, 0x35
mov rcx, qword [rsp + 0x70]
movss xmm0, dword [rcx + rax + 0xe0]
comiss xmm0, dword [0x14011fc90]
jbe 0x14001acbb
mov rcx, qword [rsp + 0x220]
call fcn.14001b350
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
jne 0x14001ad5a
movzx eax, byte [rsp + 0x230]
test eax, eax
je 0x14001ace0
mov dword [rsp + 0x64], 0xb
jmp 0x14001ace8
mov dword [rsp + 0x64], 0xa
movss xmm1, dword [0x14011fdd0]
mov ecx, dword [rsp + 0x64]
call fcn.1400101c0
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x290]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x228]
add rax, 8
mov rcx, qword [rsp + 0x228]
mov dword [rsp + 0x28], 0x30
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x8c]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0xd8]
call fcn.14004ae50
mov eax, dword [rsp + 0x34]
and eax, 0x400
test eax, eax
je 0x14001af8c
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x220]
call fcn.14000b7c0
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x220]
call fcn.14000b560
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.1400092c0
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x290]
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x14001add5
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x68], xmm0
jmp 0x14001adde
xorps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
movss xmm1, dword [0x14011fdd0]
mov ecx, 0xd
call fcn.1400101c0
mov dword [rsp + 0x90], eax
xorps xmm2, xmm2
movss xmm1, dword [rsp + 0x38]
lea rcx, [rsp + 0x178]
call fcn.140004920
mov r8, rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x180]
call fcn.140008440
mov qword [rsp + 0xe0], rax
xorps xmm2, xmm2
movss xmm1, dword [rsp + 0x38]
lea rcx, [rsp + 0x188]
call fcn.140004920
mov r8, rax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x190]
call fcn.1400083f0
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x28], 0x30
movss xmm0, dword [rsp + 0x68]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x90]
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
call fcn.14004ae50
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 0x48]
comiss xmm0, dword [0x14011fc90]
jbe 0x14001af8c
mov rax, qword [rsp + 0x220]
mov rcx, qword [rsp + 0x220]
movss xmm0, dword [rax + 0x1c]
addss xmm0, dword [rcx + 0x24]
comiss xmm0, dword [rsp + 0xb4]
jbe 0x14001af8c
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x290]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 0x48]
movss dword [rsp + 0x94], xmm0
movss xmm1, dword [0x14011fdd0]
mov ecx, 5
call fcn.1400101c0
mov dword [rsp + 0x98], eax
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0xa8]
call fcn.140008e60
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0xa8]
call fcn.140008e20
mov qword [rsp + 0x100], rax
movss xmm0, dword [rsp + 0x94]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x98]
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call fcn.14004abe0
mov rax, qword [rsp + 0x220]
movzx eax, byte [rax + 0xac]
test eax, eax
je 0x14001afa6
xor ecx, ecx
call fcn.14005ef50
mov rax, qword [rsp + 0x220]
movzx eax, byte [rax + 0xad]
test eax, eax
je 0x14001afc3
mov ecx, 1
call fcn.14005ef50
movzx eax, byte [rsp + 0x238]
test eax, eax
je 0x14001b324
mov eax, dword [rsp + 0x34]
and eax, 2
test eax, eax
jne 0x14001b324
mov dword [rsp + 0x40], 0
jmp 0x14001aff6
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x240]
cmp dword [rsp + 0x40], eax
jge 0x14001b324
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
lea rcx, [0x1400f1240]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x220]
add rcx, 0x20
mov rdx, qword [rsp + 0x220]
add rdx, 0x18
mov r8, rcx
lea rcx, [rsp + 0x1a8]
call fcn.1400083f0
mov rcx, qword [rsp + 0x220]
add rcx, 0x18
mov rdx, qword [rsp + 0x110]
mov r9, rdx
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x78]
call fcn.1400088c0
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x290]
mov qword [rsp + 0x128], rax
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x14001b0c6
movss xmm2, dword [rsp + 0x250]
movss xmm1, dword [rsp + 0x38]
lea rcx, [rsp + 0x1b0]
call fcn.140004920
mov qword [rsp + 0xb8], rax
jmp 0x14001b0ea
movss xmm2, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x250]
lea rcx, [rsp + 0x1b8]
call fcn.140004920
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x48]
add rax, 8
mov r8, qword [rsp + 0x118]
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.140008490
mov r8, rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x1c8]
call fcn.1400083f0
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
call fcn.1400078a0
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x290]
mov qword [rsp + 0x140], rax
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x14001b195
movss xmm2, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x250]
lea rcx, [rsp + 0x1d0]
call fcn.140004920
mov qword [rsp + 0xc0], rax
jmp 0x14001b1b9
movss xmm2, dword [rsp + 0x250]
movss xmm1, dword [rsp + 0x38]
lea rcx, [rsp + 0x1d8]
call fcn.140004920
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x48]
add rax, 8
mov r8, qword [rsp + 0x130]
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.140008490
mov r8, rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x1e8]
call fcn.1400083f0
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
call fcn.1400078a0
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x290]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0xa0], eax
movss xmm0, dword [rsp + 0x3c]
addss xmm0, dword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
movss xmm1, dword [rax + 0xc]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x7c]
addss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x3c]
addss xmm1, dword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
movss xmm2, dword [rax + 8]
mulss xmm2, xmm1
movaps xmm1, xmm2
movss xmm2, dword [rsp + 0x78]
addss xmm2, xmm1
movaps xmm1, xmm2
movaps xmm2, xmm0
lea rcx, [rsp + 0x1f0]
call fcn.140004920
mov qword [rsp + 0x148], rax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xa0]
movss xmm2, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x150]
call fcn.14004a120
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x290]
mov qword [rsp + 0x158], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x248]
mov edx, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x158]
call fcn.1400078d0
jmp 0x14001afec
movzx eax, byte [rsp + 0x238]
test eax, eax
je 0x14001b33d
mov rcx, qword [rsp + 0x220]
call fcn.14001a3b0
add rsp, 0x218
ret