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

Disassembly:
mov dword [rsp + 0x20], r9d
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x218
mov rax, qword [0x140217990]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x37e0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x220]
movsx eax, word [rax + 0xa2]
test eax, eax
je 0x1400a23d7
mov r8d, 0x18bf
lea rdx, [0x140179260]
lea rcx, str.window__BeginCount__0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
mov rax, qword [rsp + 0x220]
mov byte [rax + 0x9b], 0
mov rax, qword [rsp + 0x220]
movss xmm0, dword [rax + 0x50]
movss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x220]
movss xmm0, dword [rax + 0x54]
movss dword [rsp + 0x34], xmm0
mov rax, qword [rsp + 0x220]
movzx eax, byte [rax + 0x99]
test eax, eax
je 0x1400a24db
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x48]
movss dword [rsp + 0x7c], 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 0x1400a2476
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x48c2]
test eax, eax
jne 0x1400a2476
mov dword [rsp + 0x58], 0xb
jmp 0x1400a247e
mov dword [rsp + 0x58], 0xc
movss xmm1, dword [0x1401558e0]
mov ecx, dword [rsp + 0x58]
call fcn.1400930d0
mov dword [rsp + 0x78], eax
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov r8d, dword [rsp + 0x78]
mov rax, qword [rsp + 0x228]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x228]
mov rcx, qword [rax]
call fcn.1400a1020
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x7c]
movss dword [rax + 0x3828], xmm0
jmp 0x1400a2ce3
mov eax, dword [rsp + 0x40]
and eax, 0x80
test eax, eax
jne 0x1400a2677
mov rcx, qword [rsp + 0x220]
call fcn.140094960
movss xmm1, dword [0x1401558e0]
mov ecx, eax
call fcn.1400930d0
mov dword [rsp + 0x44], eax
mov byte [rsp + 0x30], 0
movss xmm0, dword [0x1401558e0]
movss dword [rsp + 0x5c], xmm0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x4778]
and eax, 0x40
test eax, eax
je 0x1400a2549
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x47d8]
movss dword [rsp + 0x5c], xmm0
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400a2593
mov eax, dword [rsp + 0x44]
and eax, 0xffffff
mov dword [rsp + 0x80], eax
movss xmm0, dword [rsp + 0x5c]
call fcn.140095aa0
mulss xmm0, dword [0x14018b0b8]
addss xmm0, dword [0x1401558d4]
cvttss2si eax, xmm0
shl eax, 0x18
mov ecx, dword [rsp + 0x80]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x278]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x1400a25bf
mov dword [rsp + 0x60], 0
jmp 0x1400a25c7
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.140084870
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x220]
call fcn.1400a6b10
movaps xmm2, xmm0
xorps xmm1, xmm1
lea rcx, [rsp + 0x168]
call fcn.14000adf0
mov rcx, qword [rsp + 0x220]
add rcx, 0x18
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x170]
call fcn.140084870
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
movss xmm0, dword [rsp + 0x38]
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.1400b3200
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
jne 0x1400a2716
movzx eax, byte [rsp + 0x230]
test eax, eax
je 0x1400a269c
mov dword [rsp + 0x64], 0xb
jmp 0x1400a26a4
mov dword [rsp + 0x64], 0xa
movss xmm1, dword [0x1401558e0]
mov ecx, dword [rsp + 0x64]
call fcn.1400930d0
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x278]
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 + 0x38]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x84]
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0xd8]
call fcn.1400b3200
mov eax, dword [rsp + 0x40]
and eax, 0x400
test eax, eax
je 0x1400a294e
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x220]
call fcn.1400991c0
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x220]
call fcn.1400a0630
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.14008d880
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x278]
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x1400a2791
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x68], xmm0
jmp 0x1400a279a
xorps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
movss xmm1, dword [0x1401558e0]
mov ecx, 0xd
call fcn.1400930d0
mov dword [rsp + 0x88], eax
xorps xmm2, xmm2
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x178]
call fcn.14000adf0
mov r8, rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x180]
call fcn.140084820
mov qword [rsp + 0xe0], rax
xorps xmm2, xmm2
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x188]
call fcn.14000adf0
mov r8, rax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x190]
call fcn.140084870
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x28], 0x30
movss xmm0, dword [rsp + 0x68]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x88]
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
call fcn.1400b3200
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x48]
comiss xmm0, dword [0x1401558cc]
jbe 0x1400a294e
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 0x1400a294e
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x278]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x48]
movss dword [rsp + 0x8c], xmm0
movss xmm1, dword [0x1401558e0]
mov ecx, 5
call fcn.1400930d0
mov dword [rsp + 0x90], eax
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0xa8]
call fcn.140092df0
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0xa8]
call fcn.140092db0
mov qword [rsp + 0x100], rax
movss xmm0, dword [rsp + 0x8c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x90]
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call fcn.1400b0d60
mov rax, qword [rsp + 0x220]
movzx eax, byte [rax + 0x94]
test eax, eax
je 0x1400a2968
xor ecx, ecx
call fcn.1400e9e00
mov rax, qword [rsp + 0x220]
movzx eax, byte [rax + 0x95]
test eax, eax
je 0x1400a2985
mov ecx, 1
call fcn.1400e9e00
mov eax, dword [rsp + 0x40]
and eax, 2
test eax, eax
jne 0x1400a2cd6
mov dword [rsp + 0x3c], 0
jmp 0x1400a29a8
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x238]
cmp dword [rsp + 0x3c], eax
jge 0x1400a2cd6
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x18
lea rcx, [0x140178f40]
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.140084870
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 + 0x70]
call fcn.140095890
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x278]
mov qword [rsp + 0x128], rax
mov eax, dword [rsp + 0x3c]
and eax, 1
test eax, eax
je 0x1400a2a78
movss xmm2, dword [rsp + 0x248]
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x1b0]
call fcn.14000adf0
mov qword [rsp + 0xb8], rax
jmp 0x1400a2a9c
movss xmm2, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x248]
lea rcx, [rsp + 0x1b8]
call fcn.14000adf0
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.140084780
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1c8]
call fcn.140084870
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
call fcn.14009f990
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x278]
mov qword [rsp + 0x140], rax
mov eax, dword [rsp + 0x3c]
and eax, 1
test eax, eax
je 0x1400a2b47
movss xmm2, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x248]
lea rcx, [rsp + 0x1d0]
call fcn.14000adf0
mov qword [rsp + 0xc0], rax
jmp 0x1400a2b6b
movss xmm2, dword [rsp + 0x248]
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x1d8]
call fcn.14000adf0
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.140084780
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x1e8]
call fcn.140084870
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
call fcn.14009f990
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x278]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x98], eax
movss xmm0, dword [rsp + 0x38]
addss xmm0, dword [rsp + 0x34]
mov rax, qword [rsp + 0x48]
movss xmm1, dword [rax + 0xc]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x74]
addss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x38]
addss xmm1, dword [rsp + 0x34]
mov rax, qword [rsp + 0x48]
movss xmm2, dword [rax + 8]
mulss xmm2, xmm1
movaps xmm1, xmm2
movss xmm2, dword [rsp + 0x70]
addss xmm2, xmm1
movaps xmm1, xmm2
movaps xmm2, xmm0
lea rcx, [rsp + 0x1f0]
call fcn.14000adf0
mov qword [rsp + 0x148], rax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x98]
movss xmm2, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x150]
call fcn.1400b9450
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x278]
mov qword [rsp + 0x158], rax
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x240]
mov edx, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x158]
call fcn.14009f940
jmp 0x1400a299e
mov rcx, qword [rsp + 0x220]
call fcn.1400a2cf0
add rsp, 0x218
ret