Function at 0x1800037c4
Capabilities:
Access peb ldr_data

Disassembly:
test dl, dl
je 0x180003cb7
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x28]
sub rsp, 0x110
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rax - 0x88], xmm12
movaps xmmword [rax - 0x98], xmm13
movaps xmmword [rax - 0xa8], xmm14
movaps xmmword [rsp + 0x70], xmm15
mov rax, qword [0x180078040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov edx, dword [0x180078b74]
mov rax, qword gs:[0x58]
mov r14d, 4
mov rdi, qword [rax + rdx*8]
mov eax, dword [rdi + r14]
cmp dword [0x180078cb0], eax
jle 0x18000388a
lea rcx, [0x180078cb0]
call fcn.18004938c
cmp dword [0x180078cb0], 0xffffffff
jne 0x18000388a
mov rax, qword [0x180078c28]
add rax, 8
mov qword [0x180078cc8], rax
lea rcx, [0x180078cb0]
call fcn.180049320
mov rax, qword [0x180078cc8]
movss xmm11, dword [rax + 8]
movss xmm12, dword [rax + 0xc]
movaps xmm1, xmm11
movss xmm13, dword [0x180072794]
mulss xmm1, xmm13
subss xmm1, dword [rbx]
movaps xmm0, xmm12
mulss xmm0, xmm13
subss xmm0, dword [rbx + 4]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_atan2f]
movaps xmm10, xmm0
addss xmm10, dword [0x180072820]
movss xmm1, dword [rbx + 8]
xorps xmm9, xmm9
comiss xmm1, xmm9
jbe 0x1800038ed
movss xmm0, dword [0x18007281c]
jmp 0x1800038f0
xorps xmm0, xmm0
addss xmm10, xmm0
movaps xmm0, xmm10
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_cosf]
mulss xmm0, dword [0x180078098]
mov rax, qword [0x180078cc8]
movss xmm14, dword [rax + 8]
mulss xmm14, xmm13
addss xmm14, xmm0
movaps xmm0, xmm10
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_sinf]
mulss xmm0, dword [0x180078098]
mov rax, qword [0x180078cc8]
movss xmm15, dword [rax + 0xc]
mulss xmm15, xmm13
addss xmm15, xmm0
movdqa xmm0, xmmword [0x180072910]
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x180072960]
movups xmmword [rsp + 0x50], xmm1
lea rsi, [rsp + 0x40]
movss xmm7, dword [rsi]
mulss xmm7, dword [0x1800727a4]
movss xmm8, dword [rsi + 4]
mulss xmm8, dword [0x1800727a4]
movaps xmm0, xmm10
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_cosf]
movaps xmm6, xmm0
mulss xmm6, xmm7
addss xmm6, xmm14
movaps xmm0, xmm10
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_sinf]
mulss xmm0, xmm8
subss xmm6, xmm0
movss dword [rsi], xmm6
movaps xmm0, xmm10
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_sinf]
movaps xmm6, xmm0
mulss xmm6, xmm7
addss xmm6, xmm15
movaps xmm0, xmm10
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_cosf]
mulss xmm0, xmm8
addss xmm0, xmm6
movss dword [rsi + 4], xmm0
add rsi, 8
lea rax, [rsp + 0x60]
cmp rsi, rax
jne 0x180003966
mov eax, dword [rdi + r14]
cmp dword [0x180078cd0], eax
jle 0x180003a41
lea rcx, [0x180078cd0]
call fcn.18004938c
cmp dword [0x180078cd0], 0xffffffff
jne 0x180003a41
mov rax, qword [0x180078c28]
mov rdx, qword [rax + 0x4b60]
mov rcx, qword [rdx]
lea r8, str.Background
xor edx, edx
call fcn.180013224
mov qword [0x180078ce0], rax
lea rcx, [0x180078cd0]
call fcn.180049320
movss xmm8, dword [0x1800727d8]
movaps xmm6, xmm8
movss xmm0, dword [rbx + 8]
comiss xmm0, xmm9
jbe 0x180003b07
movss xmm6, dword [rbx]
comiss xmm9, xmm6
jbe 0x180003a79
cvtps2pd xmm0, xmm6
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fabs]
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
jmp 0x180003a8a
comiss xmm6, xmm11
jbe 0x180003a86
subss xmm6, xmm11
jmp 0x180003a8a
movaps xmm6, xmm9
movss xmm7, dword [rbx + 4]
comiss xmm9, xmm7
jbe 0x180003aa7
cvtps2pd xmm0, xmm7
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fabs]
xorps xmm7, xmm7
cvtsd2ss xmm7, xmm0
jmp 0x180003ab8
comiss xmm7, xmm12
jbe 0x180003ab4
subss xmm7, xmm12
jmp 0x180003ab8
movaps xmm7, xmm9
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
movsd xmm1, qword [0x180072808]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_pow]
movaps xmm10, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm7
movsd xmm1, qword [0x180072808]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_pow]
comiss xmm9, dword [rbx + 8]
jbe 0x180003af3
movaps xmm6, xmm8
jmp 0x180003b07
addsd xmm0, xmm10
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
divss xmm6, dword [0x1800728a4]
movss xmm0, dword [0x180078bd8]
movss xmm3, dword [0x180072878]
mulss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm2, dword [0x180072748]
mulss xmm1, xmm2
movss dword [rsp + 0x30], xmm1
movss xmm0, dword [0x180078bdc]
mulss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
movss dword [rsp + 0x34], xmm1
movss xmm0, dword [0x180078be0]
mulss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
movss dword [rsp + 0x38], xmm1
minss xmm8, xmm6
movss dword [rsp + 0x3c], xmm8
lea rcx, [rsp + 0x30]
call fcn.180010860
mov ebx, eax
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, qword [0x180078ce0]
call fcn.18002eac4
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov rcx, qword [0x180078ce0]
call fcn.18002eac4
and dword [rsp + 0x30], 0
and dword [rsp + 0x34], 0
and dword [rsp + 0x38], 0
movss dword [rsp + 0x3c], xmm6
lea rcx, [rsp + 0x30]
call fcn.180010860
mov esi, eax
mov rdi, qword [0x180078ce0]
test eax, 0xff000000
je 0x180003c5d
lea rbx, [rdi + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.180025b20
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.180025b20
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180025b20
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.180025b20
movss dword [rsp + 0x28], xmm13
mov dword [rsp + 0x20], 1
mov r9d, esi
mov r8d, dword [rdi + 0x50]
mov rdx, qword [rdi + 0x58]
mov rcx, rdi
call fcn.18002ca70
and dword [rdi + 0x50], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180049300
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [rsp + 0x70]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret