Function at 0x4e8960
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x28]
cmp r12, qword [r14 + 0x10]
jbe 0x4e8ea6
sub rsp, 0xa8
mov qword [rsp + 0xa0], rbp
lea rbp, [rsp + 0xa0]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0x108], r9
mov rbx, qword [rsp + 0xd0]
cmp rsi, rbx
jne 0x4e8e92
cmp r10, rbx
jne 0x4e8e92
mov r10, qword [rsp + 0xb8]
cmp r10, rbx
jne 0x4e8e92
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x100], r8
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0x108], r9
mov r11, rbx
shl rbx, 1
cmp rcx, rbx
jl 0x4e8a00
jae 0x4e8ab4
jmp 0x4e8e87
cmp rbx, 1
jne 0x4e8a56
lea rax, [0x006bf300]
mov ebx, 1
mov rcx, rbx
call fcn.00443fe0
mov rsi, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x100]
mov r9, qword [rsp + 0x108]
mov r10, qword [rsp + 0xb8]
mov r11, qword [rsp + 0xd0]
mov ebx, 1
mov ecx, 1
jmp 0x4e8ab4
mov qword [rsp + 0x88], rbx
lea rcx, [r11 + r11]
lea rcx, [rcx + 4]
mov qword [rsp + 0x50], rcx
lea rax, [0x006bf300]
call fcn.00443fe0
mov rsi, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x100]
mov r9, qword [rsp + 0x108]
mov r10, qword [rsp + 0xb8]
mov r11, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x90], rax
nop
test rbx, rbx
je 0x4e8b17
shl rbx, 3
call fcn.0045a9e0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x100]
mov r9, qword [rsp + 0x108]
mov r10, qword [rsp + 0xb8]
mov r11, qword [rsp + 0xd0]
xor edx, edx
xor r12d, r12d
jmp 0x4e8b6f
mov rdx, qword [rsp + 0x60]
inc rdx
mov r13, qword [rsp + 0x100]
mov r9, qword [rsp + 0x108]
mov r11, qword [rsp + 0xd0]
mov r15, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x78]
mov rbx, rsi
mov rsi, r15
mov r8, r13
mov r10, qword [rsp + 0xb8]
mov r12, rax
mov rax, qword [rsp + 0x90]
cmp r11, rdx
jle 0x4e8d05
mov r13, qword [r9 + rdx*8]
lea r15, [rdx + r11]
cmp rcx, r15
jb 0x4e8e7c
cmp rdx, r15
ja 0x4e8e71
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x68], r12
mov rbx, rdx
shl rdx, 3
sub rcx, rbx
mov qword [rsp + 0x80], rcx
mov r10, rcx
neg rcx
sar rcx, 0x3f
and rdx, rcx
lea rcx, [rax + rdx]
mov qword [rsp + 0x98], rcx
mov qword [rsp], rcx
mov qword [rsp + 8], r11
mov qword [rsp + 0x10], r10
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r13
call fcn.004f3760
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
cmp rcx, rdx
jae 0x4e8e66
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + rcx*8]
mov rbx, qword [rsp + 0x98]
mov qword [rsp], rbx
mov rbx, qword [rsp + 0xd0]
mov qword [rsp + 8], rbx
mov rsi, qword [rsp + 0x80]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0xb0]
mov qword [rsp + 0x18], rsi
mov rdi, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rdi
mov r8, qword [rsp + 0xc0]
mov qword [rsp + 0x28], r8
mov r9, qword [rsp + 0xc8]
imul rdx, r9
mov qword [rsp + 0x30], rdx
call fcn.004f3760
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
add rdx, rcx
lea rbx, [rdx + rax]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x88]
cmp rsi, rdi
jbe 0x4e8e5b
mov r8, qword [rsp + 0x90]
mov qword [r8 + rdi*8], rbx
cmp rcx, rdx
ja 0x4e8cf3
cmp rax, rbx
jbe 0x4e8cfd
mov eax, 1
jmp 0x4e8b1e
xor eax, eax
nop
jmp 0x4e8b1e
test r12, r12
je 0x4e8db2
cmp r11, rcx
ja 0x4e8e50
nop word [rax + rax]
cmp r11, rbx
ja 0x4e8e45
mov qword [rsp], rax
mov qword [rsp + 8], r11
mov qword [rsp + 0x10], rcx
sub rcx, r11
mov rsi, rcx
neg rcx
mov rdi, r11
shl r11, 3
sar rcx, 0x3f
and rcx, r11
add rcx, rax
mov qword [rsp + 0x18], rcx
sub rbx, rdi
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rsi
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], r10
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rcx
call fcn.004f33e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0xd0]
jmp 0x4e8e07
cmp r11, rcx
ja 0x4e8e35
cmp r11, rbx
ja 0x4e8e2a
sub rbx, r11
cmp r11, rbx
mov rsi, r11
cmovg r11, rbx
mov rbx, rsi
sub rsi, rcx
mov rdi, rbx
shl rbx, 3
sar rsi, 0x3f
and rsi, rbx
lea rbx, [rax + rsi]
test rsi, rsi
je 0x4e8e07
shl r11, 3
mov rcx, r11
call fcn.0045ace0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0xd0]
cmp rdi, rcx
ja 0x4e8e1f
mov rbx, rdi
mov rbp, qword [rsp + 0xa0]
add rsp, 0xa8
ret
mov rdx, rcx
mov rcx, rdi
call fcn.0045a3a0
mov rax, r11
mov rcx, rbx
call fcn.0045a3e0
mov rdx, rcx
mov rcx, r11
nop dword [rax + rax]
call fcn.0045a3a0
mov rax, r11
mov rcx, rbx
call fcn.0045a3e0
mov rdx, rcx
mov rcx, r11
call fcn.0045a3a0
mov rax, rdi
mov rcx, rsi
call fcn.0045a320
mov rax, rcx
mov rcx, rdx
call fcn.0045a320
mov rax, rdx
mov rcx, r15
call fcn.0045a3e0
mov rdx, rcx
mov rcx, r15
call fcn.0045a3a0
mov rdx, rcx
mov rcx, rbx
call fcn.0045a3a0
lea rax, [0x006c1340]
lea rbx, [0x0079ea20]
call fcn.004321c0
nop
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x68], r10
mov qword [rsp + 0x70], r11
call fcn.00457c40
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
jmp fcn.004e8960