Function at 0x52bac0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x52bd6e
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rsp + 0xb8], r8
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x90], rax
shl rsi, 1
mov rax, rsi
call fcn.0052c900
mov qword [rsp + 0x78], rax
mov rbx, qword [rax + 8]
mov qword [rsp + 0x50], rbx
mov rcx, qword [rax]
mov qword [rsp + 0x70], rcx
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x58], rdx
nop
test rbx, rbx
je 0x52bb5d
mov rdx, rbx
shl rdx, 3
mov rax, rcx
mov rbx, rdx
call fcn.0045c8e0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0xa8]
mov rdi, qword [rsi]
mov r8, rax
mov rax, rdi
mov rdi, rdx
mul rax
mov r9, qword [rsp + 0x90]
mov qword [r9 + 8], rdx
mov qword [r9], rax
mov eax, 1
jmp 0x52bc5f
mov qword [rsp + 0x60], rax
mov rdx, qword [rsi + rax*8]
mov rbx, rax
shl rax, 1
lea r8, [rbx + rbx]
lea r8, [r8 + 1]
mov r10, rax
mov rax, rdx
mov r11, rax
mul rax
mov qword [r9 + r8*8], rdx
mov rdx, rbx
shl rbx, 4
mov qword [rsp + 0x68], rbx
mov qword [r9 + rbx], rax
sub rdi, rdx
mov r12, rdx
shl rdx, 3
sub r10, r12
mov r13, rdi
neg rdi
sar rdi, 0x3f
and rdx, rdi
add rdx, rcx
mov qword [rsp], rdx
mov qword [rsp + 8], r10
mov qword [rsp + 0x10], r13
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r12
mov rdx, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], r11
call fcn.00534e40
xorps xmm15, xmm15
mov r14, qword [0x00c4bbb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov qword [rbx + rdx], rcx
mov rax, qword [rsp + 0x60]
inc rax
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x78]
mov r9, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xb0]
cmp rdx, rax
jg 0x52bb8d
lea rax, [rdx + rdx]
lea rax, [rax - 1]
mov qword [rsp + 0x68], rax
lea rbx, [rdi - 1]
lea rdx, [rdx + rdx]
lea rdx, [rdx - 2]
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and ebx, 8
add rbx, rcx
mov qword [rsp], rbx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], 1
nop
call fcn.00534ca0
xorps xmm15, xmm15
mov r14, qword [0x00c4bbb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov qword [rdx + rcx*8], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 8], rcx
mov rbx, qword [rsp + 0xa0]
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rdx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
call fcn.00534a20
xorps xmm15, xmm15
mov r14, qword [0x00c4bbb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
nop
lea rax, [0x00bc5640]
lea rbx, [0x006da120]
mov rcx, qword [rsp + 0x78]
call fcn.004675e0
sub rsp, 0xffffffffffffff80
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.0045a0c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.0052bac0