Function at 0x4e0ce0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 8]
cmp r12, qword [r14 + 0x10]
jbe 0x4e0f7a
sub rsp, 0x88
mov qword [rsp + 0x80], rbp
lea rbp, [rsp + 0x80]
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
nop dword [rax]
call fcn.004e1a00
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.004de920
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
jmp 0x4e0e65
mov qword [rsp + 0x60], rax
mov rdx, qword [rcx + rax*8]
mov rsi, rax
mov rax, rdx
mov rdi, rax
mul rax
lea r8, [rsi + rsi]
lea r8, [r8 + 1]
mov qword [rbx + r8*8], rdx
mov rdx, rsi
shl rsi, 4
mov qword [rsp + 0x68], rsi
mov qword [rbx + rsi], rax
mov r8, qword [rsp + 0x58]
sub r8, rdx
mov r10, r8
neg r8
mov r11, rdx
shl rdx, 3
sar r8, 0x3f
and rdx, r8
mov r8, qword [rsp + 0x78]
add rdx, r8
mov qword [rsp], rdx
mov rdx, r11
shl r11, 1
sub r11, rdx
mov qword [rsp + 8], r11
mov qword [rsp + 0x10], r10
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdx
mov r10, qword [rsp + 0xb8]
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x30], rdi
nop
call fcn.004e7da0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
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 rcx, qword [rsp + 0x60]
lea rax, [rcx + 1]
mov rcx, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xb0]
cmp rdx, rax
jg 0x4e0d96
mov rax, qword [rsp + 0x58]
lea rcx, [rax - 1]
mov rbx, rcx
neg rcx
sar rcx, 0x3f
and ecx, 8
mov rsi, qword [rsp + 0x78]
add rcx, rsi
mov qword [rsp], rcx
lea rdi, [rdx + rdx]
lea rdi, [rdi - 2]
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 1
call fcn.004e7c00
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0xb0]
lea rax, [rax + rax]
lea rax, [rax - 1]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x78]
mov qword [rdx + rax*8], rcx
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.004e7980
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x70]
call fcn.004e1ac0
mov rbp, qword [rsp + 0x80]
add rsp, 0x88
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.0045f280
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]
nop dword [rax + rax]
jmp fcn.004e0ce0