Function at 0x180051620
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x180074b88]
xor rax, rsp
mov qword [rbp + 0x48], rax
call fcn.18005b9a0
mov rdi, rax
call fcn.18005b9a0
mov rbx, qword [rax + 0x198]
mov rcx, qword [rdi + 0x110]
add rcx, 0x98
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x18], xmm0
movss xmm1, dword [rcx + 0x10]
movss dword [rbp - 8], xmm1
movss xmm0, dword [rcx + 0x14]
movss dword [rbp - 4], xmm0
movups xmm1, xmmword [rcx + 0x18]
movups xmmword [rbp], xmm1
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rbp + 0x10], xmm0
movss xmm1, dword [rcx + 0x38]
movss dword [rbp + 0x20], xmm1
movss xmm0, dword [rcx + 0x3c]
movss dword [rbp + 0x24], xmm0
movss xmm1, dword [rcx + 0x40]
movss dword [rbp + 0x28], xmm1
movss xmm0, dword [rcx + 0x44]
movss dword [rbp + 0x2c], xmm0
movups xmm1, xmmword [rcx + 0x48]
movups xmmword [rbp + 0x30], xmm1
movsd xmm0, qword [rcx + 0x58]
movsd qword [rbp + 0x40], xmm0
test rbx, rbx
je 0x180051cb3
call fcn.180020790
mov r13, rax
mov qword [rsp + 0x60], rax
movss xmm6, dword [rbx + 0x14]
mulss xmm6, dword [0x180062494]
movss xmm0, dword [rbx + 0x1c]
mulss xmm0, dword [0x180060b70]
addss xmm6, xmm0
movss xmm7, dword [rbx + 0x18]
mulss xmm7, dword [0x180060b88]
movss xmm0, dword [rbx + 0x10]
mulss xmm0, dword [0x180062494]
addss xmm7, xmm0
xorps xmm12, xmm12
mov qword [rbp - 0x20], 0
mov ecx, dword [0x18007b790]
mov rax, qword gs:[0x58]
mov edx, 4
mov r12, qword [rax + rcx*8]
mov qword [rsp + 0x50], r12
mov eax, dword [r12 + rdx]
cmp dword [0x18007b3a8], eax
jg 0x180051d09
movss dword [rbp - 0x48], xmm7
movss dword [rbp - 0x44], xmm6
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x18]
call qword [0x18007b3a0]
mov rcx, qword [rdi + 0x198]
cvttss2si eax, dword [rcx + 0xc]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
mov dword [rbp - 0x48], eax
cvttss2si eax, dword [rcx + 8]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
mov dword [rbp - 0x40], eax
cvttss2si eax, dword [0x18007adac]
mov dword [rsp + 0x70], eax
cvttss2si eax, dword [0x18007ada8]
mov dword [rbp - 0x70], eax
mov ecx, 0x40
call fcn.18005bb20
mov r15, rax
mov qword [rsp + 0x40], rax
xor esi, esi
test rax, rax
je 0x180051911
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov word [rax + 8], si
mov qword [rax + 0x28], rsi
mov qword [rax + 0x30], rsi
mov qword [rax + 0x38], rsi
mov dword [rax], 0x64
mov dword [rax + 4], 0x3c
lea ecx, [rsi + 0x10]
call fcn.18005bb20
mov rbx, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x180051874
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], rsi
mov qword [rax + 8], rsi
lea ecx, [rsi + 0x30]
call fcn.18005bb20
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
jmp 0x180051877
mov rbx, rsi
mov qword [r15 + 0x10], rbx
mov ecx, 0x10
call fcn.18005bb20
mov rbx, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x1800518be
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov ecx, 0x30
call fcn.18005bb20
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
jmp 0x1800518c1
mov rbx, rsi
mov qword [r15 + 0x18], rbx
mov ecx, 0x10
call fcn.18005bb20
mov rbx, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x180051908
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov ecx, 0x28
call fcn.18005bb20
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
jmp 0x18005190b
mov rbx, rsi
mov qword [r15 + 0x20], rbx
jmp 0x180051914
mov r15, rsi
mov edi, esi
cmp dword [r15], 0
jle 0x180051a75
lea rax, [0x180074fc0]
mov qword [rsp + 0x40], rax
movabs rcx, 0x555555555555555
nop word [rax + rax]
mov ebx, esi
cmp dword [r15 + 4], 0
jle 0x180051a57
mov r13, rax
mov dword [rbp - 0x58], edi
mov dword [rbp - 0x54], ebx
mov eax, dword [r13]
mov dword [rbp - 0x80], eax
mov r12, qword [r15 + 0x10]
mov r14, qword [r12]
mov rax, qword [r14 + 8]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], esi
mov rdx, r14
cmp byte [rax + 0x19], 0
jne 0x1800519be
nop dword [rax]
mov qword [rbp - 0x38], rax
cmp dword [rax + 0x1c], edi
jl 0x1800519a7
jg 0x180051998
cmp dword [rax + 0x20], ebx
jl 0x1800519a7
jg 0x180051998
cmp dword [rax + 0x24], 0
jl 0x1800519a7
mov dword [rbp - 0x30], 1
mov rdx, rax
mov rax, qword [rax]
jmp 0x1800519ae
mov dword [rbp - 0x30], esi
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x180051980
movabs rcx, 0x555555555555555
cmp byte [rdx + 0x19], 0
jne 0x1800519d8
cmp edi, dword [rdx + 0x1c]
jl 0x1800519d8
jg 0x180051a35
cmp ebx, dword [rdx + 0x20]
jl 0x1800519d8
jg 0x180051a35
cmp dword [rdx + 0x24], 0
jle 0x180051a35
cmp qword [r12 + 8], rcx
je 0x180051d03
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], rsi
mov ecx, 0x30
call fcn.18005bb20
nop
movsd xmm0, qword [rbp - 0x58]
movsd qword [rax + 0x1c], xmm0
mov dword [rax + 0x24], esi
mov ecx, dword [rbp - 0x80]
mov dword [rax + 0x28], ecx
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov word [rax + 0x18], 0
mov qword [rbp - 0x60], rsi
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp - 0x80], xmm0
mov r8, rax
lea rdx, [rbp - 0x80]
mov rcx, r12
call fcn.180013cd0
inc ebx
add r13, 0x190
cmp ebx, dword [r15 + 4]
movabs rcx, 0x555555555555555
jl 0x180051950
mov rax, qword [rsp + 0x40]
inc edi
add rax, 4
mov qword [rsp + 0x40], rax
cmp edi, dword [r15]
jl 0x180051940
mov r12, qword [rsp + 0x50]
mov r13, qword [rsp + 0x60]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
mov eax, dword [rbp - 0x70]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], esi
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x50], eax
mov eax, dword [rbp - 0x48]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x58], esi
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x38]
mov rcx, r15
call fcn.180014b90
nop
mov rcx, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x38]
sub rcx, rbx
movabs r15, 0x2aaaaaaaaaaaaaab
mov rax, r15
imul rcx
mov r14, rdx
sar r14, 1
mov rax, r14
shr rax, 0x3f
add r14, rax
je 0x180051c5c
mov rdi, rbx
movss xmm10, dword [0x18006224c]
movss xmm11, dword [0x1800640a4]
mov r15d, 4
nop word [rax + rax]
mov edx, dword [rdi]
shl edx, 5
mov ecx, dword [rdi + 4]
shl ecx, 5
lea eax, [rdx + 0x20]
movd xmm8, eax
cvtdq2ps xmm8, xmm8
lea eax, [rcx + 0x20]
movd xmm9, eax
cvtdq2ps xmm9, xmm9
movd xmm6, edx
cvtdq2ps xmm6, xmm6
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
mov qword [rbp - 0x40], 0
mov eax, dword [r12 + r15]
cmp dword [0x18007b3a8], eax
jg 0x180051d45
movss dword [rsp + 0x40], xmm6
movss dword [rsp + 0x44], xmm7
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x18]
call qword [0x18007b3a0]
mov qword [rbp - 0x48], 0
mov eax, dword [r12 + r15]
cmp dword [0x18007b3a8], eax
jg 0x180051d81
movss dword [rsp + 0x70], xmm8
movss dword [rsp + 0x74], xmm9
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x18]
call qword [0x18007b3a0]
lea rcx, [0x18007b5d0]
call fcn.18001e6a0
movsd xmm0, qword [rbp - 0x48]
movsd qword [rsp + 0x60], xmm0
movsd xmm1, qword [rbp - 0x40]
movsd qword [rsp + 0x50], xmm1
movss dword [rsp + 0x30], xmm10
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm12
mov r9d, eax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.180030fe0
movaps xmm0, xmmword [0x180068600]
movups xmmword [rbp - 0x68], xmm0
lea rcx, [rbp - 0x68]
call fcn.18001e6a0
movsd xmm0, qword [rbp - 0x48]
movsd qword [rbp - 0x70], xmm0
movsd xmm1, qword [rbp - 0x40]
movsd qword [rbp - 0x80], xmm1
movss dword [rsp + 0x20], xmm11
mov r9d, eax
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x80]
mov rcx, r13
call fcn.18002fdd0
inc esi
add rdi, 0xc
movsxd rcx, esi
cmp rcx, r14
jb 0x180051b10
movabs r15, 0x2aaaaaaaaaaaaaab
test rbx, rbx
je 0x180051cb3
mov rcx, qword [rbp - 0x28]
sub rcx, rbx
mov rax, r15
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 2
mov rax, rbx
cmp rdx, 0x1000
jb 0x180051cab
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051cab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.18005bb5c
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.18005bc70
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180013f50
int3
lea rcx, [0x18007b3a8]
call fcn.18005c380
cmp dword [0x18007b3a8], 0xffffffff
jne 0x18005178d
mov rax, qword [0x18007aea0]
mov rax, qword [rax + 0x10]
mov qword [0x18007b3a0], rax
lea rcx, [0x18007b3a8]
call fcn.18005c320
jmp 0x18005178d
lea rcx, [0x18007b3a8]
call fcn.18005c380
cmp dword [0x18007b3a8], 0xffffffff
jne 0x180051b59
mov rax, qword [0x18007aea0]
mov rcx, qword [rax + 0x10]
mov qword [0x18007b3a0], rcx
lea rcx, [0x18007b3a8]
call fcn.18005c320
jmp 0x180051b59
lea rcx, [0x18007b3a8]
call fcn.18005c380
cmp dword [0x18007b3a8], 0xffffffff
jne 0x180051b90
mov rax, qword [0x18007aea0]
mov rcx, qword [rax + 0x10]
mov qword [0x18007b3a0], rcx
lea rcx, [0x18007b3a8]
call fcn.18005c320
jmp 0x180051b90