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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rdi
push r13
sub rsp, 0x108
movaps xmmword [rax - 0x58], xmm6
xorps xmm0, xmm0
movaps xmmword [rax - 0x68], xmm7
mov rbx, r8
movaps xmmword [rax - 0x78], xmm8
mov rdi, rcx
movaps xmmword [rax - 0x88], xmm9
movups xmmword [rcx], xmm0
movsxd r13, r9d
movaps xmmword [rsp + 0x70], xmm12
movups xmmword [rcx + 0x10], xmm0
mov dword [rsp + 0x148], 1
movaps xmmword [rsp + 0x60], xmm13
movups xmmword [rcx + 0x20], xmm0
movaps xmmword [rsp + 0x40], xmm15
mov qword [rax - 0x28], rsi
mov rsi, rdx
movups xmmword [rcx + 0x30], xmm0
mov qword [rax - 0x30], r12
movups xmmword [rcx + 0x40], xmm0
mov qword [rax - 0x38], r14
mov qword [rax - 0x40], r15
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
mov eax, dword [r8]
mov dword [rcx + 0x40], eax
movd xmm0, dword [r8]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x180216920]
call sub.api_ms_win_crt_math_l1_1_0.dll_logf
movaps xmm6, xmm0
movss xmm0, dword [0x18017cf48]
call sub.api_ms_win_crt_math_l1_1_0.dll_logf
divss xmm6, xmm0
addss xmm6, dword [0x18015dfb0]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
subss xmm0, dword [0x18015d9d4]
mov r12d, dword [rsp + 0x150]
mov eax, 1
movsd xmm15, qword [0x180171d70]
movd xmm11, r13d
cvtdq2pd xmm11, xmm11
cvttss2si ecx, xmm0
movd xmm6, r12d
cvtdq2ps xmm6, xmm6
mov dword [rdi + 0x3c], ecx
inc ecx
shl eax, cl
movaps xmm0, xmm6
movd xmm7, eax
mulss xmm0, dword [0x18017cf28]
cvtdq2pd xmm7, xmm7
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm15
divsd xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_log
movd xmm1, dword [rbx]
movsd xmm13, qword [0x180216890]
movsd xmm12, qword [0x1802168c0]
mulsd xmm0, xmm13
cvtdq2pd xmm1, xmm1
subsd xmm0, xmm12
mulsd xmm0, xmm7
subsd xmm0, xmm1
cvttsd2si ebx, xmm0
movd xmm0, r13d
cvtdq2ps xmm0, xmm0
mov dword [rdi + 0x38], ebx
addss xmm0, dword [0x18017cf28]
mulss xmm0, xmm6
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm15
divsd xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_log
mulsd xmm0, xmm13
subsd xmm0, xmm12
mulsd xmm0, xmm7
addsd xmm0, xmm15
cvttsd2si eax, xmm0
sub eax, ebx
inc eax
lea rbx, [r13*4]
mov rcx, rbx
mov dword [rdi + 0x44], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rbx
mov qword [rdi + 0x20], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rbx
mov qword [rdi + 0x28], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor ebx, ebx
mov qword [rdi + 8], rsi
mov qword [rdi + 0x30], rax
mov dword [rdi], r13d
mov dword [rdi + 0x48], r12d
mov dword [rdi + 0x4c], 0x3f800000
cmp r12d, 0x6590
jge 0x1800d6b12
mov dword [rdi + 0x4c], ebx
jmp 0x1800d6b34
cmp r12d, 0x9470
jge 0x1800d6b24
mov dword [rdi + 0x4c], 0x3f70a3d7
jmp 0x1800d6b34
cmp r12d, 0xb3b0
jle 0x1800d6b34
mov dword [rdi + 0x4c], 0x3fa33333
movsd xmm8, qword [0x180216800]
lea r15, [0x1802025e0]
movsd xmm9, qword [0x180171da0]
mov esi, ebx
movsd xmm10, qword [0x180216820]
mov r14d, 1
movsd xmm6, qword [0x180171dd0]
movd xmm7, r12d
lea r12, [0x180202484]
cvtdq2pd xmm7, xmm7
nop word [rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, r14d
mulsd xmm0, xmm8
subsd xmm0, xmm9
addsd xmm0, xmm12
mulsd xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
addsd xmm0, xmm0
mulsd xmm0, xmm11
divsd xmm0, xmm7
addsd xmm0, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
movss xmm2, dword [r12 - 4]
cvttsd2si ecx, xmm0
cmp esi, ecx
jge 0x1800d6ceb
movss xmm3, dword [r12]
mov eax, ecx
sub eax, esi
movsxd rcx, ecx
subss xmm3, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm3, xmm0
cmp rbx, rcx
jge 0x1800d6ceb
mov rax, rcx
sub rax, rbx
cmp rax, 4
jl 0x1800d6cc0
cmp rbx, r13
jge 0x1800d6ceb
mov rax, qword [rdi + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
addss xmm2, xmm3
addsd xmm0, xmm6
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4], xmm1
lea rax, [rbx + 1]
cmp rax, r13
jge 0x1800d72b7
mov rax, qword [rdi + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
addss xmm2, xmm3
addsd xmm0, xmm6
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4 + 4], xmm1
lea rax, [rbx + 2]
cmp rax, r13
jge 0x1800d72ac
mov rax, qword [rdi + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
addss xmm2, xmm3
addsd xmm0, xmm6
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4 + 8], xmm1
lea rax, [rbx + 3]
cmp rax, r13
jge 0x1800d72a1
mov rax, qword [rdi + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
add esi, 4
addss xmm2, xmm3
addsd xmm0, xmm6
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4 + 0xc], xmm1
add rbx, 4
lea rax, [rcx - 3]
cmp rbx, rax
jl 0x1800d6c00
cmp rbx, rcx
jge 0x1800d6ceb
nop dword [rax]
cmp rbx, r13
jge 0x1800d6ceb
mov rax, qword [rdi + 0x20]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
inc esi
addss xmm2, xmm3
addsd xmm0, xmm6
cvtpd2ps xmm1, xmm0
movss dword [rax + rbx*4], xmm1
inc rbx
cmp rbx, rcx
jl 0x1800d6cc0
inc r14d
add r12, 4
cmp r12, r15
jl 0x1800d6b80
mov r14d, dword [rsp + 0x148]
mov r15d, 0xffffff9d
movsxd rdx, esi
cmp rdx, r13
jge 0x1800d6d73
mov rax, r13
sub rax, rdx
cmp rax, 4
jl 0x1800d6d60
lea r8, [r13 - 3]
mov rcx, qword [rdi + 0x20]
mov eax, dword [rcx + rdx*4 - 4]
mov dword [rcx + rdx*4], eax
mov rcx, qword [rdi + 0x20]
mov eax, dword [rcx + rdx*4]
mov dword [rcx + rdx*4 + 4], eax
mov rcx, qword [rdi + 0x20]
mov eax, dword [rcx + rdx*4 + 4]
mov dword [rcx + rdx*4 + 8], eax
mov rcx, qword [rdi + 0x20]
mov eax, dword [rcx + rdx*4 + 8]
mov dword [rcx + rdx*4 + 0xc], eax
add rdx, 4
cmp rdx, r8
jl 0x1800d6d21
cmp rdx, r13
jge 0x1800d6d73
nop dword [rax]
mov rcx, qword [rdi + 0x20]
mov eax, dword [rcx + rdx*4 - 4]
mov dword [rcx + rdx*4], eax
inc rdx
cmp rdx, r13
jl 0x1800d6d60
xor ebp, ebp
mov r12d, ebp
test r13d, r13d
jle 0x1800d704d
mov eax, dword [rsp + 0x150]
lea ecx, [r13*2]
movss xmm10, dword [0x180216700]
cdq
movss xmm11, dword [0x1802168b8]
mov esi, ebp
movss xmm12, dword [0x18021670c]
movss xmm13, dword [0x180216924]
idiv ecx
mov ecx, ebp
movaps xmmword [rsp + 0x50], xmm14
movss xmm14, dword [0x180216708]
mov ebx, eax
imul eax, eax
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x148], ecx
mov dword [rsp + 0x30], eax
nop
imul ecx, r12d
mov eax, ebx
imul eax, r12d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movd xmm6, eax
mulss xmm0, xmm10
cvtdq2ps xmm6, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
movaps xmm8, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm12
mulss xmm8, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
mov rcx, qword [rsp + 0x138]
mulss xmm0, xmm13
mulss xmm6, xmm14
mov eax, dword [rcx + 0x78]
addss xmm8, xmm0
mov dword [rsp + 0x140], eax
add eax, r15d
addss xmm8, xmm6
cmp eax, r12d
jge 0x1800d6ee4
mov edi, dword [rsp + 0x140]
mov ebp, ebx
imul ebp, ebx
movaps xmm9, xmm8
subss xmm9, dword [rcx + 0x70]
mov esi, ebp
imul esi, r15d
nop word [rax + rax]
xorps xmm0, xmm0
mov eax, ebx
imul eax, r15d
xorps xmm7, xmm7
cvtsi2ss xmm7, eax
mov eax, esi
imul eax, r15d
cvtsi2ss xmm0, eax
mulss xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
movaps xmm6, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm12
mulss xmm6, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
mulss xmm0, xmm13
mulss xmm7, xmm14
addss xmm6, xmm0
addss xmm6, xmm7
comiss xmm9, xmm6
jbe 0x1800d6ecf
inc r15d
add esi, ebp
lea eax, [rdi + r15]
cmp eax, r12d
jl 0x1800d6e70
mov rdi, qword [rsp + 0x130]
mov rsi, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x138]
cmp r14d, r13d
jg 0x1800d6f76
mov ebp, dword [rcx + 0x7c]
mov esi, ebx
add ebp, r12d
imul esi, r14d
nop dword [rax]
cmp r14d, ebp
jl 0x1800d6f67
xorps xmm0, xmm0
mov eax, ebx
imul eax, ebx
xorps xmm7, xmm7
cvtsi2ss xmm7, esi
imul eax, r14d
imul eax, r14d
cvtsi2ss xmm0, eax
mulss xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
movaps xmm6, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm12
mulss xmm6, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
mov rcx, qword [rsp + 0x138]
movaps xmm1, xmm8
mulss xmm0, xmm13
mulss xmm7, xmm14
addss xmm1, dword [rcx + 0x74]
addss xmm6, xmm0
addss xmm6, xmm7
comiss xmm1, xmm6
jbe 0x1800d6f71
inc r14d
add esi, ebx
cmp r14d, r13d
jle 0x1800d6f00
mov rsi, qword [rsp + 0x38]
mov rax, qword [rdi + 0x30]
mov ecx, r15d
shl ecx, 0x10
inc r12d
add ecx, 0xfffeffff
add ecx, r14d
mov dword [rsi + rax], ecx
add rsi, 4
mov ecx, dword [rsp + 0x148]
add ecx, dword [rsp + 0x30]
mov dword [rsp + 0x148], ecx
mov qword [rsp + 0x38], rsi
cmp r12d, r13d
jl 0x1800d6de0
movd xmm7, dword [rsp + 0x150]
xor ebp, ebp
movaps xmm14, xmmword [rsp + 0x50]
mov ebx, ebp
movsd xmm12, qword [0x1802168c0]
mov esi, ebp
movsd xmm13, qword [0x180216890]
movss xmm8, dword [0x18017cf28]
movd xmm6, r13d
cvtdq2pd xmm6, xmm6
cvtdq2pd xmm7, xmm7
xorps xmm0, xmm0
cvtsi2ss xmm0, ebx
addss xmm0, xmm8
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm15
mulsd xmm0, xmm7
divsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_log
mov ecx, dword [rdi + 0x3c]
mov eax, 1
inc ecx
mulsd xmm0, xmm13
shl eax, cl
inc ebx
xorps xmm1, xmm1
cvtsi2sd xmm1, eax
mov rax, qword [rdi + 0x28]
subsd xmm0, xmm12
mulsd xmm0, xmm1
addsd xmm0, xmm15
cvttsd2si ecx, xmm0
mov dword [rsi + rax], ecx
add rsi, 4
cmp ebx, r13d
jl 0x1800d6ff0
mov rax, qword [rsp + 0x138]
mov r8d, r13d
movd xmm7, dword [rsp + 0x150]
cvtdq2pd xmm7, xmm7
lea rcx, [rax + 0x24]
movss xmm3, dword [rax + 0x18]
movaps xmm1, xmm7
movd xmm0, r13d
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm15
divsd xmm1, xmm0
movss xmm0, dword [rax + 0x1c]
cvtpd2ps xmm1, xmm1
movss dword [rsp + 0x20], xmm0
call fcn.180100740
mov ecx, 0x18
mov qword [rdi + 0x10], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, r13
mov qword [rdi + 0x18], rax
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rdi + 0x18]
mov qword [rcx], rax
mov rcx, r13
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rdi + 0x18]
mov qword [rcx + 8], rax
mov rcx, r13
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rdi + 0x18]
movaps xmm11, xmmword [rsp + 0x80]
movaps xmm10, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xe8]
mov r14, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0x100]
mov qword [rcx + 0x10], rax
test r13d, r13d
jle 0x1800d726a
movss xmm8, dword [0x180216928]
mov rbx, rbp
movsd xmm9, qword [0x180171d88]
movd xmm6, r13d
cvtdq2pd xmm6, xmm6
addsd xmm6, xmm6
nop word [rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, ebp
addsd xmm0, xmm15
mulsd xmm0, xmm7
divsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_log
mulsd xmm0, xmm13
xorps xmm1, xmm1
inc ebp
movaps xmm4, xmm8
movaps xmm3, xmm9
subsd xmm0, xmm12
addsd xmm0, xmm0
cvtsd2ss xmm0, xmm0
maxss xmm1, xmm0
xorps xmm0, xmm0
minss xmm4, xmm1
xorps xmm1, xmm1
cvttss2si eax, xmm4
movsxd rdx, eax
cvtsi2ss xmm0, eax
mov rax, qword [rdi + 8]
movss xmm2, dword [rax + rdx*4 + 0x84]
subss xmm4, xmm0
xorps xmm0, xmm0
cvtps2pd xmm2, xmm2
cvtss2sd xmm0, xmm4
subsd xmm3, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [rax + rdx*4 + 0x88]
mov rax, qword [rdi + 0x18]
cvtss2sd xmm1, xmm0
mov rcx, qword [rax]
mulsd xmm2, xmm3
addsd xmm2, xmm1
xorps xmm1, xmm1
cvtpd2ps xmm0, xmm2
movss dword [rbx + rcx], xmm0
movaps xmm0, xmm4
mov rax, qword [rdi + 8]
mulss xmm0, dword [rax + rdx*4 + 0xcc]
movss xmm2, dword [rax + rdx*4 + 0xc8]
mov rax, qword [rdi + 0x18]
cvtss2sd xmm1, xmm0
mov rcx, qword [rax + 8]
cvtps2pd xmm2, xmm2
mulsd xmm2, xmm3
addsd xmm2, xmm1
cvtpd2ps xmm0, xmm2
movss dword [rbx + rcx], xmm0
xorps xmm0, xmm0
mov rax, qword [rdi + 8]
movss xmm1, dword [rax + rdx*4 + 0x10c]
mulss xmm4, dword [rax + rdx*4 + 0x110]
mov rax, qword [rdi + 0x18]
cvtps2pd xmm1, xmm1
mov rcx, qword [rax + 0x10]
cvtss2sd xmm0, xmm4
mulsd xmm1, xmm3
addsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movss dword [rbx + rcx], xmm1
add rbx, 4
cmp ebp, r13d
jl 0x1800d7150
movaps xmm12, xmmword [rsp + 0x70]
lea r11, [rsp + 0x108]
movaps xmm6, xmmword [r11 - 0x38]
movaps xmm7, xmmword [r11 - 0x48]
movaps xmm8, xmmword [r11 - 0x58]
movaps xmm9, xmmword [r11 - 0x68]
movaps xmm13, xmmword [rsp + 0x60]
movaps xmm15, xmmword [rsp + 0x40]
mov rsp, r11
pop r13
pop rdi
pop rbp
pop rbx
ret
mov rbx, rax
add esi, 3
jmp 0x1800d6ceb
mov rbx, rax
add esi, 2
jmp 0x1800d6ceb
mov rbx, rax
inc esi
jmp 0x1800d6ceb