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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x140
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rax - 0x98], xmm14
movaps xmmword [rax - 0xa8], xmm15
mov rax, qword [0x14012e0c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword [0x14012fa10]
movzx ebp, r8b
movss xmm8, dword [0x14011b0f4]
lea r8, str.Background
movaps xmm14, xmm0
xor edx, edx
movss dword [rsp + 0x34], xmm14
movzx r14d, r9b
movss xmm15, dword [rax + 0x10]
movaps xmm12, xmm1
movss xmm6, dword [rax + 0x14]
mov rax, qword [rax + 0x40a0]
mulss xmm6, xmm8
mulss xmm15, xmm8
mov rcx, qword [rax]
movss dword [rsp + 0x30], xmm6
call fcn.140009fc0
xor edi, edi
xorps xmm7, xmm7
comiss xmm12, xmm7
mov rsi, rax
jbe 0x14005adb6
movsd xmm1, qword [0x14011b1a0]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm12
mov qword [rsp + 0x150], rbx
movaps xmmword [rsp + 0x100], xmm9
movss xmm9, dword [0x14011b128]
divsd xmm1, xmm0
movaps xmmword [rsp + 0xf0], xmm10
xorps xmm10, xmm10
cvtps2pd xmm0, xmm15
movaps xmmword [rsp + 0xe0], xmm11
movss xmm11, dword [0x14011b2e0]
movsd qword [rsp + 0x68], xmm0
cvtps2pd xmm0, xmm6
movsd qword [rsp + 0x60], xmm1
movsd qword [rsp + 0x70], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm14
movaps xmmword [rsp + 0xc0], xmm13
movsd qword [rsp + 0x58], xmm0
nop word [rax + rax]
divss xmm10, xmm12
movaps xmm0, xmm10
addss xmm0, xmm10
cvtps2pd xmm1, xmm0
mulsd xmm1, qword [0x14011b170]
cvtpd2ps xmm6, xmm1
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm13, xmm0
movaps xmm0, xmm6
mulss xmm13, xmm14
addss xmm13, xmm15
movss dword [rsp + 0x40], xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
cvtps2pd xmm6, xmm6
movaps xmm14, xmm0
mulss xmm14, dword [rsp + 0x34]
addsd xmm6, qword [rsp + 0x60]
addss xmm14, dword [rsp + 0x30]
movaps xmm0, xmm6
movss dword [rsp + 0x44], xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
mulsd xmm0, qword [rsp + 0x58]
addsd xmm0, qword [rsp + 0x68]
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x38], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm0, qword [rsp + 0x58]
xorps xmm6, xmm6
addsd xmm0, qword [rsp + 0x70]
cvtsd2ss xmm6, xmm0
movss dword [rsp + 0x3c], xmm6
test r14b, r14b
je 0x14005abff
mov rax, qword [0x14012fa10]
movsd xmm1, qword [0x14011b198]
movsd xmm0, qword [rax + 0x3e18]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
divsd xmm0, qword [0x14011b198]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4c]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
cvtps2pd xmm1, xmm10
movaps xmm2, xmm9
subsd xmm0, xmm1
movaps xmm1, xmm8
addsd xmm0, qword [0x14011b158]
cvtsd2ss xmm0, xmm0
call fcn.1400072e0
movss xmm1, dword [rsp + 0x48]
comiss xmm7, xmm1
jbe 0x14005ab7a
movaps xmm0, xmm7
jmp 0x14005ab82
movaps xmm0, xmm9
minss xmm0, xmm1
movss xmm1, dword [rsp + 0x4c]
comiss xmm7, xmm1
mulss xmm0, xmm11
addss xmm0, xmm8
cvttss2si ecx, xmm0
jbe 0x14005aba0
movaps xmm0, xmm7
jmp 0x14005aba8
movaps xmm0, xmm9
minss xmm0, xmm1
movss xmm1, dword [rsp + 0x50]
mulss xmm0, xmm11
addss xmm0, xmm8
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm7, xmm1
jbe 0x14005abcb
movaps xmm0, xmm7
jmp 0x14005abd3
movaps xmm0, xmm9
minss xmm0, xmm1
mulss xmm0, xmm11
addss xmm0, xmm8
cvttss2si eax, xmm0
movaps xmm0, xmm9
shl eax, 0x10
mulss xmm0, xmm11
or eax, ecx
addss xmm0, xmm8
cvttss2si ebx, xmm0
shl ebx, 0x18
or ebx, eax
jmp 0x14005ac04
mov ebx, 0xffffffff
test bpl, bpl
je 0x14005ad18
movss xmm0, dword [0x14011b0ac]
mov eax, ebx
shr eax, 8
xorps xmm2, xmm2
movzx eax, al
xorps xmm3, xmm3
xorps xmm1, xmm1
cvtsi2ss xmm2, rax
mov eax, ebx
shr eax, 0x10
movzx eax, al
cvtsi2ss xmm3, rax
movzx eax, bl
cvtsi2ss xmm1, rax
mulss xmm2, xmm0
mulss xmm1, xmm0
mulss xmm3, xmm0
comiss xmm7, xmm1
jbe 0x14005ac56
movaps xmm0, xmm7
jmp 0x14005ac5e
movaps xmm0, xmm9
minss xmm0, xmm1
comiss xmm7, xmm2
mulss xmm0, xmm11
addss xmm0, xmm8
cvttss2si r9d, xmm0
jbe 0x14005ac77
movaps xmm0, xmm7
jmp 0x14005ac7f
movaps xmm0, xmm9
minss xmm0, xmm2
mulss xmm0, xmm11
addss xmm0, xmm8
cvttss2si eax, xmm0
shl eax, 8
or r9d, eax
comiss xmm7, xmm3
jbe 0x14005ac9d
movaps xmm0, xmm7
jmp 0x14005aca5
movaps xmm0, xmm9
minss xmm0, xmm3
mulss xmm0, xmm11
lea rdx, [rsp + 0x78]
mov r8d, 3
mov rcx, rsi
movss dword [rsp + 0x88], xmm15
addss xmm0, xmm8
cvttss2si eax, xmm0
movaps xmm0, xmm13
unpcklps xmm0, xmm14
movsd qword [rsp + 0x40], xmm0
movsd qword [rsp + 0x78], xmm0
movss xmm0, dword [rsp + 0x38]
unpcklps xmm0, xmm6
shl eax, 0x10
or r9d, eax
movsd qword [rsp + 0x38], xmm0
movsd qword [rsp + 0x80], xmm0
or r9d, 0x33000000
movss xmm0, dword [rsp + 0x30]
movss dword [rsp + 0x8c], xmm0
call fcn.140025f10
mov rax, qword [0x14012fc30]
cmp byte [rax + 0x41], 0
je 0x14005ad4b
movss xmm0, dword [0x14011b218]
lea r8, [rsp + 0x38]
mov r9d, 0xff000000
movss dword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400271f0
movss xmm0, dword [0x14011b160]
lea r8, [rsp + 0x38]
mov r9d, ebx
movss dword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400271f0
movss xmm14, dword [rsp + 0x34]
inc edi
movd xmm10, edi
cvtdq2ps xmm10, xmm10
comiss xmm12, xmm10
ja 0x14005aa60
movaps xmm13, xmmword [rsp + 0xc0]
movaps xmm11, xmmword [rsp + 0xe0]
movaps xmm10, xmmword [rsp + 0xf0]
movaps xmm9, xmmword [rsp + 0x100]
mov rbx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400ddf50
lea r11, [rsp + 0x140]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r14
ret