Function at 0x4fa4a0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4fa813
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 0x4fa5f5
cmp rsi, rbx
jne 0x4fa508
test rbx, rbx
jle 0x4fa508
cmp rdi, rax
jne 0x4fa508
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
test rcx, rcx
jle 0x4fa52b
test r8, r8
jle 0x4fa52b
lea r10, [rax + rcx*8]
lea r10, [r10 - 8]
lea r11, [rdi + r8*8]
lea r11, [r11 - 8]
cmp r11, r10
je 0x4fa5f5
cmp rsi, rcx
jg 0x4fa535
mov rdx, rsi
jmp 0x4fa59d
cmp rsi, 1
jne 0x4fa56b
lea rax, [0x005540a0]
mov ebx, 1
mov rcx, rbx
call fcn.00448d60
mov rdx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xd0]
mov esi, 1
mov ecx, 1
jmp 0x4fa59d
lea rcx, [rsi + 4]
mov qword [rsp + 0x50], rcx
lea rax, [0x005540a0]
mov rbx, rsi
nop
call fcn.00448d60
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 0x4fa5e5
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.00462ec0
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 0x4fa79a
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 0x4fa630
jae 0x4fa6d6
jmp 0x4fa807
mov qword [rsp + 0x78], r10
mov qword [rsp + 0x70], r8
test r11, r11
jne 0x4fa686
lea rax, [0x005540a0]
mov ebx, 1
mov rcx, rbx
call fcn.00448d60
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 0x4fa6d6
mov qword [rsp + 0x68], rbx
lea rcx, [r9 + rsi]
lea rcx, [rcx + 5]
mov qword [rsp + 0x48], rcx
lea rax, [0x005540a0]
nop
call fcn.00448d60
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 0x4fa7fc
nop
cmp r9, r11
ja 0x4fa7f1
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.00500ea0
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 0x4fa7e9
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.004f6c20
mov rax, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x40]
jmp 0x4fa7af
xor ebx, ebx
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
dec rdx
test rdx, rdx
jle 0x4fa7be
mov rsi, qword [rax + rdx*8 - 8]
test rsi, rsi
je 0x4fa7ac
mov rcx, qword [rsp + 0x48]
cmp rdx, rcx
ja 0x4fa7db
mov rbx, rdx
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rax, rcx
mov rcx, rdx
mov rdx, rax
call fcn.004625c0
mov rax, rdx
call fcn.00462540
mov rax, r9
mov rcx, r11
call fcn.00462600
mov rdx, rcx
mov rcx, r11
call fcn.004625c0
mov rdx, rcx
mov rcx, rbx
call fcn.004625c0
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.0045fe40
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.004fa4a0