Function at 0x4a1e80
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x4a2101
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], r8
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], rcx
shl rsi, 1
mov rax, rsi
call fcn.004a2b40
mov qword [rsp + 0x70], rax
mov rcx, qword [rax]
mov qword [rsp + 0x78], rcx
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x58], rdx
mov rbx, qword [rax + 8]
mov qword [rsp + 0x50], rbx
mov rax, rcx
mov rcx, rdx
call fcn.0049fbc0
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mul rax
mov rbx, qword [rsp + 0x90]
mov qword [rbx + 8], rdx
mov qword [rbx], rax
mov eax, 1
nop
jmp 0x4a1fef
mov qword [rsp + 0x60], rax
mov rdx, qword [rcx + rax*8]
mov rsi, rax
shl rax, 1
lea rdi, [rsi + rsi]
lea rdi, [rdi + 1]
mov r8, rax
mov rax, rdx
mov r9, rax
mul rax
mov qword [rbx + rdi*8], rdx
mov rdx, rsi
shl rsi, 4
mov qword [rsp + 0x68], rsi
mov qword [rbx + rsi], rax
mov rdi, qword [rsp + 0x58]
sub rdi, rdx
mov r11, rdx
shl rdx, 3
sub r8, r11
mov r12, rdi
neg rdi
sar rdi, 0x3f
and rdx, rdi
mov rdi, qword [rsp + 0x78]
add rdx, rdi
mov qword [rsp], rdx
mov qword [rsp + 8], r8
mov qword [rsp + 0x10], r12
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], r11
mov rdx, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], r9
call fcn.004a8ee0
xorps xmm15, xmm15
mov r14, qword [0x0060a418]
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, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xb0]
nop word [rax + rax]
cmp rdx, rax
jg 0x4a1f25
lea rax, [rdx + rdx]
lea rax, [rax - 1]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x58]
lea rbx, [rcx - 1]
lea rdx, [rdx + rdx]
lea rdx, [rdx - 2]
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and ebx, 8
mov rdi, qword [rsp + 0x78]
add rbx, rdi
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
call fcn.004a8d40
xorps xmm15, xmm15
mov r14, qword [0x0060a418]
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.004a8ac0
xorps xmm15, xmm15
mov r14, qword [0x0060a418]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x70]
call fcn.004a2c20
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
call fcn.00463e80
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.004a1e80