Function at 0x140029770
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
movaps xmm6, xmm2
mov r14, rdx
mov rdi, rcx
mov rsi, qword [rax + 0x28]
mov rdx, qword [rsi + 8]
sub rdx, qword [rsi]
sar rdx, 5
mov qword [rcx + 0x60], rdx
add rcx, 0x78
call fcn.14002a860
mov rdx, qword [rdi + 0x60]
lea rcx, [rdi + 0x90]
call fcn.14002a860
movss dword [rdi + 0x68], xmm6
movabs rax, 0x3ff0000000000000
mov qword [rdi + 0x70], rax
mov byte [rdi + 0xa8], 1
movsd xmm11, qword [0x140069038]
movaps xmm15, xmm11
xorps xmm12, xmm12
xorps xmm7, xmm7
movaps xmm6, xmm11
xorps xmm8, xmm8
lea rcx, [rsp + 0x50]
call fcn.140031a30
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x1a0]
call qword [rax + 0x40]
test eax, eax
jne 0x140029a29
movsd xmm15, qword [0x140069018]
movss xmm9, dword [rdi + 0x4c]
subss xmm9, dword [rdi + 0x50]
movaps xmm0, xmm9
movss xmm13, dword [rsp + 0x1a0]
subss xmm0, xmm13
xorps xmm10, xmm10
comiss xmm0, xmm10
jbe 0x1400298be
cvtps2pd xmm7, xmm0
mulsd xmm7, qword [0x140069020]
divsd xmm7, qword [0x140069008]
movss xmm0, dword [rdi + 0x54]
cvtps2pd xmm0, xmm0
mulsd xmm7, xmm0
movaps xmm8, xmm7
xorps xmm8, xmmword [0x140069120]
jmp 0x1400298fe
comiss xmm10, xmm0
jbe 0x1400298f4
cvtps2pd xmm6, xmm0
movaps xmm0, xmm6
divsd xmm0, qword [0x140069098]
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
movaps xmm7, xmm0
mulsd xmm6, qword [0x140069020]
mulsd xmm7, xmm6
movss xmm0, dword [rdi + 0x54]
cvtps2pd xmm0, xmm0
mulsd xmm7, xmm0
jmp 0x1400298fe
movsd xmm8, qword [rsp + 0x198]
movsd xmm0, qword [0x140069040]
call sub.api_ms_win_crt_math_l1_1_0.dll_log
movaps xmm1, xmm8
divsd xmm1, qword [0x140069048]
mulsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
movsd qword [rdi + 0x70], xmm0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm8
addss xmm1, xmm13
movsd xmm6, qword [0x140069030]
movsd qword [rsp + 0x198], xmm6
subss xmm9, xmm1
comiss xmm9, xmm10
jbe 0x14002998e
movaps xmm0, xmm9
xorps xmm0, xmmword [0x140069130]
cvtss2sd xmm0, xmm0
divsd xmm0, qword [0x1400690a0]
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
movaps xmm8, xmm0
cvtps2pd xmm0, xmm9
mulsd xmm0, qword [0x140068ff8]
mulsd xmm8, xmm0
movss xmm1, dword [rdi + 0x54]
cvtps2pd xmm1, xmm1
mulsd xmm8, xmm1
jmp 0x1400299d5
comiss xmm10, xmm9
jbe 0x1400299d1
cvtps2pd xmm6, xmm9
movaps xmm0, xmm6
divsd xmm0, qword [0x140069090]
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
movaps xmm8, xmm0
mulsd xmm6, qword [0x140068fe8]
mulsd xmm8, xmm6
movss xmm0, dword [rdi + 0x54]
cvtps2pd xmm0, xmm0
mulsd xmm8, xmm0
movsd xmm6, qword [rsp + 0x198]
jmp 0x1400299d5
xorps xmm8, xmm8
movaps xmm2, xmm8
andps xmm2, xmmword [0x140069110]
movsd qword [rsp + 0x198], xmm2
movaps xmm1, xmm7
andps xmm1, xmmword [0x140069110]
movsd qword [rsp + 0x1b0], xmm1
lea rax, [rsp + 0x198]
lea rcx, [rsp + 0x1b0]
comisd xmm2, xmm1
cmovbe rax, rcx
movsd xmm0, qword [0x140068ff0]
comisd xmm0, xmmword [rax]
seta al
mov byte [rdi + 0xa8], al
xor r13d, r13d
mov r12d, r13d
cmp qword [rdi + 0x60], r12
jbe 0x140029d56
movsd xmm10, qword [0x140069078]
divsd xmm7, xmm10
movaps xmm1, xmm7
movsd xmm7, qword [0x140069058]
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm9, xmm0
addsd xmm15, xmm15
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x140029a77
xorps xmm14, xmm14
sqrtsd xmm14, xmm0
jmp 0x140029a80
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm14, xmm0
addsd xmm14, xmm14
movaps xmm1, xmm9
addsd xmm1, xmm11
movsd qword [rsp + 0x190], xmm1
movaps xmm3, xmm9
subsd xmm3, xmm11
movsd qword [rsp + 0x1b0], xmm3
movaps xmm0, xmm9
addsd xmm0, xmm9
movsd qword [rsp + 0x30], xmm0
mov rbx, r13
divsd xmm8, xmm10
movaps xmm1, xmm8
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm10, xmm0
addsd xmm6, xmm6
movsd qword [rsp + 0x198], xmm6
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x140029af1
xorps xmm13, xmm13
sqrtsd xmm13, xmm0
jmp 0x140029afa
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm13, xmm0
addsd xmm13, xmm13
movaps xmm0, xmm10
subsd xmm0, xmm11
movsd qword [rsp + 0x38], xmm0
movaps xmm1, xmm10
addsd xmm1, xmm11
movsd qword [rsp + 0x40], xmm1
movaps xmm0, xmm10
mulsd xmm0, qword [0x1400690e0]
movsd qword [rsp + 0x48], xmm0
movsd xmm11, qword [rsp + 0x198]
nop dword [rax]
movss xmm1, dword [rdi + 0x68]
cvtps2pd xmm1, xmm1
movsd xmm6, qword [0x1400690a8]
divsd xmm6, xmm1
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movaps xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
divsd xmm7, xmm15
movaps xmm4, xmm14
mulsd xmm4, xmm7
movsd xmm2, qword [rsp + 0x1b0]
mulsd xmm2, xmm0
movsd xmm3, qword [rsp + 0x190]
movaps xmm7, xmm3
subsd xmm7, xmm2
movaps xmm8, xmm7
addsd xmm8, xmm4
mulsd xmm8, xmm9
movaps xmm1, xmm3
mulsd xmm1, xmm0
movsd xmm6, qword [rsp + 0x1b0]
subsd xmm6, xmm1
mulsd xmm6, qword [rsp + 0x30]
subsd xmm7, xmm4
mulsd xmm7, xmm9
movaps xmm5, xmm3
addsd xmm5, xmm2
movaps xmm0, xmm5
addsd xmm0, xmm4
movsd xmm3, qword [rsp + 0x1b0]
addsd xmm3, xmm1
mulsd xmm3, qword [0x1400690e0]
subsd xmm5, xmm4
divsd xmm8, xmm0
divsd xmm6, xmm0
divsd xmm7, xmm0
divsd xmm3, xmm0
divsd xmm5, xmm0
xorps xmm2, xmm2
lea rbx, [rbx + rbx*4]
add rbx, rbx
mov rax, qword [rdi + 0x78]
movaps xmm0, xmm6
unpcklpd xmm0, xmm7
movaps xmmword [rax + rbx*8], xmm0
movaps xmm1, xmm3
unpcklpd xmm1, xmm5
movaps xmmword [rax + rbx*8 + 0x10], xmm1
movaps xmm0, xmm8
unpcklpd xmm0, xmm12
movaps xmmword [rax + rbx*8 + 0x20], xmm0
movaps xmmword [rax + rbx*8 + 0x30], xmm2
movaps xmm0, xmmword [rsp + 0xa0]
movsd xmm0, xmm12
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rax + rbx*8 + 0x40], xmm0
movss xmm1, dword [rdi + 0x68]
cvtps2pd xmm1, xmm1
movsd xmm6, qword [0x1400690c0]
divsd xmm6, xmm1
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movaps xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm2, xmm0
divsd xmm7, xmm11
movaps xmm3, xmm13
mulsd xmm3, xmm7
movaps xmm1, xmm0
movsd xmm8, qword [rsp + 0x38]
mulsd xmm1, xmm8
movaps xmm6, xmm1
movsd xmm0, qword [rsp + 0x40]
addsd xmm6, xmm0
movaps xmm7, xmm6
addsd xmm7, xmm3
mulsd xmm7, xmm10
mulsd xmm2, xmm0
movaps xmm5, xmm2
addsd xmm5, xmm8
mulsd xmm5, qword [rsp + 0x48]
subsd xmm6, xmm3
mulsd xmm6, xmm10
movaps xmm4, xmm0
subsd xmm4, xmm1
movaps xmm0, xmm4
addsd xmm0, xmm3
movaps xmm1, xmm8
subsd xmm1, xmm2
addsd xmm1, xmm1
subsd xmm4, xmm3
divsd xmm7, xmm0
divsd xmm5, xmm0
divsd xmm6, xmm0
divsd xmm1, xmm0
divsd xmm4, xmm0
xorps xmm2, xmm2
mov rax, qword [rdi + 0x90]
movaps xmm0, xmm5
unpcklpd xmm0, xmm6
movaps xmmword [rax + rbx*8], xmm0
unpcklpd xmm1, xmm4
movaps xmmword [rax + rbx*8 + 0x10], xmm1
movaps xmm0, xmm7
unpcklpd xmm0, xmm12
movaps xmmword [rax + rbx*8 + 0x20], xmm0
movaps xmmword [rax + rbx*8 + 0x30], xmm2
movaps xmm0, xmmword [rsp + 0xa0]
movsd xmm0, xmm12
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rax + rbx*8 + 0x40], xmm0
inc r12d
mov ebx, r12d
cmp rbx, qword [rdi + 0x60]
jb 0x140029b40
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x10], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x18], rax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
mov r9, rdi
lea r8, [0x140029e30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 8], rax
mov r8, qword [rsi + 0x10]
mov qword [rsi + 0x10], r13
mov rdx, qword [rsi + 8]
mov qword [rsi + 8], r13
mov rax, qword [rsi]
mov qword [rsi], r13
mov qword [r14], rax
mov qword [r14 + 8], rdx
mov qword [r14 + 0x10], r8
mov rcx, rsi
call fcn.140003b60
mov rax, r14
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x58]
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 [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret