Function at 0x14004cba0
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, 0x1a8
mov rax, qword [0x1401ad1c0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rax, qword [0x1401b2f48]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x1560
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x1b0]
movsx eax, word [rax + 0xaa]
test eax, eax
je 0x14004cc29
mov r8d, 0x1588
lea rdx, [0x14012d9e0]
lea rcx, str.window__BeginCount__0
call fcn.1400e7270
xor eax, eax
mov rax, qword [rsp + 0x1b0]
mov byte [rax + 0xa3], 0
mov rax, qword [rsp + 0x1b0]
movss xmm0, dword [rax + 0x58]
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x1b0]
movss xmm0, dword [rax + 0x5c]
movss dword [rsp + 0x34], xmm0
mov rax, qword [rsp + 0x1b0]
movzx eax, byte [rax + 0xa1]
test eax, eax
je 0x14004cd2d
mov rax, qword [rsp + 0x88]
movss xmm0, dword [rax + 0x44]
movss dword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x1b0]
movss xmm0, dword [rcx + 0x5c]
movss dword [rax + 0x15a4], xmm0
movzx eax, byte [rsp + 0x1c0]
test eax, eax
je 0x14004ccc8
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x1e1e]
test eax, eax
jne 0x14004ccc8
mov dword [rsp + 0x58], 0xb
jmp 0x14004ccd0
mov dword [rsp + 0x58], 0xc
movss xmm1, dword [0x14019cd48]
mov ecx, dword [rsp + 0x58]
call fcn.140041a70
mov dword [rsp + 0x6c], eax
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov r8d, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x1b8]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x1b8]
mov rcx, qword [rax]
call fcn.140043000
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x70]
movss dword [rax + 0x15a4], xmm0
jmp 0x14004d43b
mov eax, dword [rsp + 0x38]
and eax, 0x80
test eax, eax
jne 0x14004cea5
mov ecx, dword [rsp + 0x38]
call fcn.14004b3f0
movss xmm1, dword [0x14019cd48]
mov ecx, eax
call fcn.140041a70
mov dword [rsp + 0x44], eax
mov byte [rsp + 0x30], 0
movss xmm0, dword [0x14019cd48]
movss dword [rsp + 0x5c], xmm0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x1cb0]
and eax, 0x40
test eax, eax
je 0x14004cd97
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x1d10]
movss dword [rsp + 0x5c], xmm0
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14004cddb
mov eax, dword [rsp + 0x44]
and eax, 0xffffff
mov dword [rsp + 0x74], eax
movss xmm0, dword [rsp + 0x5c]
call fcn.14003bcd0
mulss xmm0, dword [0x14019cf28]
addss xmm0, dword [0x14019cc18]
cvttss2si eax, xmm0
shl eax, 0x18
mov ecx, dword [rsp + 0x74]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x14004cdf0
mov dword [rsp + 0x60], 0
jmp 0x14004cdf8
mov dword [rsp + 0x60], 0xc0
mov rax, qword [rsp + 0x1b0]
add rax, 0x28
mov rcx, qword [rsp + 0x1b0]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xd8]
call fcn.14003b7d0
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x1b0]
call fcn.14003e080
movaps xmm2, xmm0
xorps xmm1, xmm1
lea rcx, [rsp + 0xe0]
call fcn.1400130e0
mov rcx, qword [rsp + 0x1b0]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xd0]
call fcn.14003b7d0
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x28], ecx
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xa8]
mov r8, rcx
mov rdx, rax
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax + 0x2c8]
call fcn.1400721a0
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
jne 0x14004cf2a
movzx eax, byte [rsp + 0x1c0]
test eax, eax
je 0x14004cec6
mov dword [rsp + 0x64], 0xb
jmp 0x14004cece
mov dword [rsp + 0x64], 0xa
movss xmm1, dword [0x14019cd48]
mov ecx, dword [rsp + 0x64]
call fcn.140041a70
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x1b8]
add rax, 8
mov rcx, qword [rsp + 0x1b8]
mov dword [rsp + 0x28], 0x30
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x78]
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax + 0x2c8]
call fcn.1400721a0
mov eax, dword [rsp + 0x38]
and eax, 0x400
test eax, eax
je 0x14004d11a
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x1b0]
call fcn.14003e1e0
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x1b0]
call fcn.14003dfa0
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.14003c450
mov eax, dword [rsp + 0x38]
and eax, 1
test eax, eax
je 0x14004cf8e
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x68], xmm0
jmp 0x14004cf97
xorps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
movss xmm1, dword [0x14019cd48]
mov ecx, 0xd
call fcn.140041a70
mov dword [rsp + 0x7c], eax
xorps xmm2, xmm2
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0xe8]
call fcn.1400130e0
mov r8, rax
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0xf0]
call fcn.14003b820
mov qword [rsp + 0xb0], rax
xorps xmm2, xmm2
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0xf8]
call fcn.1400130e0
mov r8, rax
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x100]
call fcn.14003b7d0
mov dword [rsp + 0x28], 0x30
movss xmm0, dword [rsp + 0x68]
movss dword [rsp + 0x20], xmm0
mov ecx, dword [rsp + 0x7c]
mov r9d, ecx
mov rcx, qword [rsp + 0xb0]
mov r8, rcx
mov rdx, rax
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax + 0x2c8]
call fcn.1400721a0
mov rax, qword [rsp + 0x88]
movss xmm0, dword [rax + 0x44]
comiss xmm0, dword [0x14019ca94]
jbe 0x14004d11a
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1b0]
movss xmm0, dword [rax + 0x24]
addss xmm0, dword [rcx + 0x2c]
comiss xmm0, dword [rsp + 0x18c]
jbe 0x14004d11a
movss xmm1, dword [0x14019cd48]
mov ecx, 5
call fcn.140041a70
mov dword [rsp + 0x80], eax
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x180]
call fcn.14003c070
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x180]
call fcn.14003c030
mov rcx, qword [rsp + 0x88]
movss xmm0, dword [rcx + 0x44]
movss dword [rsp + 0x20], xmm0
mov ecx, dword [rsp + 0x80]
mov r9d, ecx
mov rcx, qword [rsp + 0xa0]
mov r8, rcx
mov rdx, rax
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax + 0x2c8]
call fcn.140071f40
mov rax, qword [rsp + 0x1b0]
movzx eax, byte [rax + 0x9c]
test eax, eax
je 0x14004d134
xor ecx, ecx
call fcn.140084380
mov rax, qword [rsp + 0x1b0]
movzx eax, byte [rax + 0x9d]
test eax, eax
je 0x14004d151
mov ecx, 1
call fcn.140084380
mov eax, dword [rsp + 0x38]
and eax, 2
test eax, eax
jne 0x14004d42e
mov dword [rsp + 0x40], 0
jmp 0x14004d174
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x1c8]
cmp dword [rsp + 0x40], eax
jge 0x14004d42e
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
lea rcx, [0x1401b38a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0x1b0]
add rcx, 0x28
mov rdx, qword [rsp + 0x1b0]
add rdx, 0x20
mov r8, rcx
lea rcx, [rsp + 0x118]
call fcn.14003b7d0
mov rcx, qword [rsp + 0x1b0]
add rcx, 0x20
mov rdx, qword [rsp + 0xb8]
mov r9, rdx
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x178]
call fcn.14003bc40
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x14004d230
movss xmm2, dword [rsp + 0x1d8]
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x120]
call fcn.1400130e0
mov qword [rsp + 0x90], rax
jmp 0x14004d254
movss xmm2, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x1d8]
lea rcx, [rsp + 0x128]
call fcn.1400130e0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x48]
add rax, 8
mov r8, qword [rsp + 0xc0]
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.14003b870
mov r8, rax
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x138]
call fcn.14003b7d0
mov rdx, rax
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax + 0x2c8]
call fcn.14003b260
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x14004d2e5
movss xmm2, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x1d8]
lea rcx, [rsp + 0x140]
call fcn.1400130e0
mov qword [rsp + 0x98], rax
jmp 0x14004d309
movss xmm2, dword [rsp + 0x1d8]
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x148]
call fcn.1400130e0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x48]
add rax, 8
mov r8, qword [rsp + 0xc8]
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.14003b870
mov r8, rax
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x158]
call fcn.14003b7d0
mov rdx, rax
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax + 0x2c8]
call fcn.14003b260
movss xmm0, dword [rsp + 0x3c]
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 + 0x17c]
addss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x3c]
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 + 0x178]
addss xmm2, xmm1
movaps xmm1, xmm2
movaps xmm2, xmm0
lea rcx, [rsp + 0x160]
call fcn.1400130e0
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x14]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x48]
mov r9d, dword [rcx + 0x10]
movss xmm2, dword [rsp + 0x3c]
mov rdx, rax
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax + 0x2c8]
call fcn.140071550
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x1d0]
mov edx, dword [rcx + rax*4]
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax + 0x2c8]
call fcn.14003b290
jmp 0x14004d16a
mov rcx, qword [rsp + 0x1b0]
call fcn.14004c6c0
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400cf8b0
add rsp, 0x1a8
ret