Function at 0x4e8980
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4e8cf3
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0xd0], rdi
nop
test r9, r9
jne 0x4e8ad5
cmp rsi, rbx
jne 0x4e89e8
test rbx, rbx
jle 0x4e89e8
cmp rdi, rax
jne 0x4e89e8
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
test rcx, rcx
jle 0x4e8a0b
test r8, r8
jle 0x4e8a0b
lea r10, [rax + rcx*8]
lea r10, [r10 - 8]
lea r11, [rdi + r8*8]
lea r11, [r11 - 8]
cmp r11, r10
je 0x4e8ad5
cmp rsi, rcx
jg 0x4e8a15
mov rdx, rsi
jmp 0x4e8a7d
cmp rsi, 1
jne 0x4e8a4b
lea rax, [0x0065ff80]
mov ebx, 1
mov rcx, rbx
call fcn.00449100
mov rdx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xd0]
mov esi, 1
mov ecx, 1
jmp 0x4e8a7d
lea rcx, [rsi + 4]
mov qword [rsp + 0x50], rcx
lea rax, [0x0065ff80]
mov rbx, rsi
nop
call fcn.00449100
mov rdx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xd0]
mov rsi, rdx
mov rcx, qword [rsp + 0x50]
cmp rdx, rsi
mov rbx, rsi
cmovl rsi, rdx
cmp rdi, rax
je 0x4e8ac5
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0xa0], rax
shl rsi, 3
mov rbx, rdi
mov rcx, rsi
call fcn.00463d00
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
test rsi, rsi
je 0x4e8c7a
mov r10, r9
shr r9, 6
mov qword [rsp + 0x80], r9
lea r11, [r9 + rsi]
mov qword [rsp + 0x60], r11
lea rbx, [r9 + rsi]
lea rbx, [rbx + 1]
nop
cmp rcx, rbx
jl 0x4e8b10
jae 0x4e8bb6
jmp 0x4e8ce7
mov qword [rsp + 0x78], r10
mov qword [rsp + 0x70], r8
test r11, r11
jne 0x4e8b66
lea rax, [0x0065ff80]
mov ebx, 1
mov rcx, rbx
call fcn.00449100
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x80]
mov r10, qword [rsp + 0x78]
mov r11, qword [rsp + 0x60]
mov ecx, 1
mov ebx, 1
jmp 0x4e8bb6
mov qword [rsp + 0x68], rbx
lea rcx, [r9 + rsi]
lea rcx, [rcx + 5]
mov qword [rsp + 0x48], rcx
lea rax, [0x0065ff80]
nop
call fcn.00449100
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x80]
mov r10, qword [rsp + 0x78]
mov r11, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x68]
cmp rcx, r11
jb 0x4e8cdc
nop
cmp r9, r11
ja 0x4e8cd1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x98], rax
sub rcx, r9
mov rbx, rcx
neg rcx
shl r9, 3
sar rcx, 0x3f
and r9, rcx
lea rcx, [rax + r9]
mov qword [rsp], rcx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
and r10, 0x3f
mov qword [rsp + 0x30], r10
call fcn.004eff80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
cmp rcx, rdx
jbe 0x4e8cc9
mov rsi, qword [rsp + 0x98]
mov qword [rsi + rdx*8], rax
mov rax, rsi
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call fcn.004e4d00
mov rax, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x40]
jmp 0x4e8c8f
xor ebx, ebx
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
dec rdx
test rdx, rdx
jle 0x4e8c9e
mov rsi, qword [rax + rdx*8 - 8]
test rsi, rsi
je 0x4e8c8c
mov rcx, qword [rsp + 0x48]
cmp rdx, rcx
ja 0x4e8cbb
mov rbx, rdx
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rax, rcx
mov rcx, rdx
mov rdx, rax
call fcn.00463420
mov rax, rdx
call fcn.004633a0
mov rax, r9
mov rcx, r11
call fcn.00463460
mov rdx, rcx
mov rcx, r11
call fcn.00463420
mov rdx, rcx
mov rcx, rbx
call fcn.00463420
nop
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
mov qword [rsp + 0x38], r9
call fcn.00460c80
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]
mov r9, qword [rsp + 0x38]
nop
jmp fcn.004e8980