Function at 0x4fb040
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x10]
cmp r12, qword [r14 + 0x10]
jbe 0x4fb336
sub rsp, 0x90
mov qword [rsp + 0x88], rbp
lea rbp, [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xb0], rdi
nop
test r9, r9
jne 0x4fb18f
cmp rsi, rbx
jne 0x4fb0a8
test rbx, rbx
je 0x4fb0a8
cmp rdi, rax
jne 0x4fb0a8
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
test rcx, rcx
je 0x4fb0cb
test r8, r8
je 0x4fb0cb
lea rdx, [rax + rcx*8]
lea rdx, [rdx - 8]
lea r10, [rdi + r8*8]
lea r10, [r10 - 8]
cmp r10, rdx
je 0x4fb18f
cmp rsi, rcx
jg 0x4fb0d5
mov rdx, rsi
jmp 0x4fb13d
cmp rsi, 1
jne 0x4fb10b
lea rax, [0x005cf140]
mov ebx, 1
mov rcx, rbx
call fcn.00449160
mov rdx, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
mov esi, 1
mov ecx, 1
jmp 0x4fb13d
lea rcx, [rsi + 4]
mov qword [rsp + 0x48], rcx
lea rax, [0x005cf140]
mov rbx, rsi
nop
call fcn.00449160
mov rdx, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
mov rsi, rdx
mov rcx, qword [rsp + 0x48]
cmp rdx, rsi
mov rbx, rsi
cmovl rsi, rdx
cmp rdi, rax
je 0x4fb17f
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rax
shl rsi, 3
mov rbx, rdi
mov rcx, rsi
call fcn.004635c0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov rdx, r9
shr r9, 6
mov rbx, rsi
sub rbx, r9
nop dword [rax]
test rbx, rbx
jle 0x4fb2df
cmp rcx, rbx
jl 0x4fb1b6
mov r9, rbx
jmp 0x4fb252
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0xc0], r8
cmp rbx, 1
jne 0x4fb213
lea rax, [0x005cf140]
mov ebx, 1
mov rcx, rbx
nop dword [rax]
call fcn.00449160
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xc0]
mov r9, qword [rsp + 0x58]
mov ecx, 1
mov ebx, 1
jmp 0x4fb252
lea rcx, [rbx + 4]
mov qword [rsp + 0x40], rcx
lea rax, [0x005cf140]
call fcn.00449160
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xc0]
mov r9, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
mov rbx, r9
mov r10, rsi
sub rsi, r9
nop dword [rax + rax]
cmp r10, rsi
jb 0x4fb32a
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x78], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
sub r8, rsi
mov r9, r8
neg r8
mov r11, rsi
shl rsi, 3
sar r8, 0x3f
and rsi, r8
add rsi, rdi
mov qword [rsp + 0x18], rsi
sub r10, r11
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x28], r9
and edx, 0x3f
mov qword [rsp + 0x30], rdx
call fcn.00504b60
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
jmp 0x4fb2f4
xor ebx, ebx
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
dec rcx
test rcx, rcx
jle 0x4fb305
mov rsi, qword [rax + rcx*8 - 8]
nop
test rsi, rsi
je 0x4fb2f1
mov rdx, qword [rsp + 0x40]
cmp rcx, rdx
ja 0x4fb325
mov rbx, rcx
mov rcx, rdx
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
call fcn.00462ce0
mov rax, rsi
mov rcx, r10
call fcn.00462d20
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.00460580
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]
jmp fcn.004fb040