Function at 0x4f5c80
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4f5ff3
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 0x4f5dd5
cmp rsi, rbx
jne 0x4f5ce8
test rbx, rbx
jle 0x4f5ce8
cmp rdi, rax
jne 0x4f5ce8
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
test rcx, rcx
jle 0x4f5d0b
test r8, r8
jle 0x4f5d0b
lea r10, [rax + rcx*8]
lea r10, [r10 - 8]
lea r11, [rdi + r8*8]
lea r11, [r11 - 8]
cmp r11, r10
je 0x4f5dd5
cmp rsi, rcx
jg 0x4f5d15
mov rdx, rsi
jmp 0x4f5d7d
cmp rsi, 1
jne 0x4f5d4b
lea rax, [0x0062f260]
mov ebx, 1
mov rcx, rbx
call fcn.004493e0
mov rdx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xd0]
mov esi, 1
mov ecx, 1
jmp 0x4f5d7d
lea rcx, [rsi + 4]
mov qword [rsp + 0x50], rcx
lea rax, [0x0062f260]
mov rbx, rsi
nop
call fcn.004493e0
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 0x4f5dc5
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.004641a0
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 0x4f5f7a
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 0x4f5e10
jae 0x4f5eb6
jmp 0x4f5fe7
mov qword [rsp + 0x78], r10
mov qword [rsp + 0x70], r8
test r11, r11
jne 0x4f5e66
lea rax, [0x0062f260]
mov ebx, 1
mov rcx, rbx
call fcn.004493e0
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 0x4f5eb6
mov qword [rsp + 0x68], rbx
lea rcx, [r9 + rsi]
lea rcx, [rcx + 5]
mov qword [rsp + 0x48], rcx
lea rax, [0x0062f260]
nop
call fcn.004493e0
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 0x4f5fdc
nop
cmp r9, r11
ja 0x4f5fd1
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.004fd5e0
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 0x4f5fc9
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.004f2000
mov rax, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x40]
jmp 0x4f5f8f
xor ebx, ebx
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
dec rdx
test rdx, rdx
jle 0x4f5f9e
mov rsi, qword [rax + rdx*8 - 8]
test rsi, rsi
je 0x4f5f8c
mov rcx, qword [rsp + 0x48]
cmp rdx, rcx
ja 0x4f5fbb
mov rbx, rdx
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rax, rcx
mov rcx, rdx
mov rdx, rax
call fcn.004638c0
mov rax, rdx
call fcn.00463840
mov rax, r9
mov rcx, r11
call fcn.00463900
mov rdx, rcx
mov rcx, r11
call fcn.004638c0
mov rdx, rcx
mov rcx, rbx
call fcn.004638c0
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.00461140
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.004f5c80