Function at 0x4c6360
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x4c65ff
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.004c7080
mov qword [rsp + 0x70], rax
mov rbx, qword [rax + 8]
mov qword [rsp + 0x50], rbx
mov rcx, qword [rax]
mov qword [rsp + 0x78], rcx
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x58], rdx
test rbx, rbx
je 0x4c63fc
mov rdx, rbx
shl rdx, 3
mov rax, rcx
mov rbx, rdx
call fcn.00470f40
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
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 0x4c64fe
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.004cd180
xorps xmm15, xmm15
mov r14, qword [0x0075c420]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x78]
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 + 0x70]
mov r9, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xb0]
cmp rdx, rax
jg 0x4c642c
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.004ccfe0
xorps xmm15, xmm15
mov r14, qword [0x0075c420]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
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.004ccd60
xorps xmm15, xmm15
mov r14, qword [0x0075c420]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x70]
call fcn.004c7140
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
nop dword [rax]
call fcn.0046e820
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.004c6360