Function at 0x52ca40
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x52cd36
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xc8], rsi
test r9, r9
jne 0x52cb87
nop dword [rax + rax]
cmp rbx, rsi
jne 0x52ca98
test rbx, rbx
je 0x52ca98
cmp rax, rdi
jne 0x52ca98
add rsp, 0x98
pop rbp
ret
test rcx, rcx
je 0x52cabe
nop dword [rax]
test r8, r8
je 0x52cabe
lea rdx, [rax + rcx*8]
lea rdx, [rdx - 8]
lea r10, [rdi + r8*8]
lea r10, [r10 - 8]
cmp r10, rdx
je 0x52cb87
nop
nop
cmp rcx, rsi
jl 0x52caca
mov rdx, rsi
jmp 0x52cb32
cmp rsi, 1
jne 0x52cb02
lea rax, [0x0067c1a0]
mov ebx, 1
mov rcx, rbx
nop
call fcn.00444c80
mov rdx, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xc0]
mov esi, 1
mov ecx, 1
nop
jmp 0x52cb32
lea rcx, [rsi + 4]
mov qword [rsp + 0x50], rcx
lea rax, [0x0067c1a0]
mov rbx, rsi
call fcn.00444c80
mov rdx, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xc0]
mov rsi, rdx
mov rcx, qword [rsp + 0x50]
cmp rdx, rsi
mov rbx, rsi
cmovl rsi, rdx
nop dword [rax]
cmp rdi, rax
je 0x52cb7e
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x68], rcx
shl rsi, 3
mov rbx, rdi
mov rcx, rsi
call fcn.0045cbe0
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x80]
add rsp, 0x98
pop rbp
ret
test rsi, rsi
je 0x52cd05
mov rdx, r9
shr r9, 6
mov qword [rsp + 0x78], r9
lea rbx, [r9 + rsi]
lea rbx, [rbx + 1]
lea r10, [r9 + rsi]
mov qword [rsp + 0x60], r10
cmp rcx, rbx
jge 0x52cc54
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0xd0], r8
test r10, r10
jne 0x52cc0a
lea rax, [0x0067c1a0]
mov ebx, 1
mov rcx, rbx
call fcn.00444c80
mov rdx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xd0]
mov r9, qword [rsp + 0x78]
mov ecx, 1
mov ebx, 1
jmp 0x52cc54
mov qword [rsp + 0x58], rbx
lea rcx, [r9 + rsi]
lea rcx, [rcx + 5]
mov qword [rsp + 0x48], rcx
lea rax, [0x0067c1a0]
call fcn.00444c80
mov rdx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xd0]
mov r9, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x40], rbx
sub rcx, r9
shl r9, 3
mov qword [rsp + 0x80], r9
mov r12, rcx
neg rcx
sar rcx, 0x3f
and rcx, r9
add rcx, rax
mov qword [rsp], rcx
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], r12
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
and edx, 0x3f
mov qword [rsp + 0x30], rdx
call fcn.00534ca0
xorps xmm15, xmm15
mov r14, qword [0x00c4bbb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx*8], rax
nop
mov rax, qword [rsp + 0x78]
nop dword [rax]
test rax, rax
je 0x52ccfd
mov rax, rdx
mov rbx, qword [rsp + 0x80]
call fcn.0045c8e0
mov rdx, qword [rsp + 0x88]
nop
mov rbx, qword [rsp + 0x40]
jmp 0x52cd13
xor ebx, ebx
add rsp, 0x98
pop rbp
ret
dec rbx
test rbx, rbx
jle 0x52cd25
mov rsi, qword [rdx + rbx*8 - 8]
nop dword [rax]
test rsi, rsi
je 0x52cd10
mov rax, rdx
mov rcx, qword [rsp + 0x48]
add rsp, 0x98
pop rbp
ret
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.0045a0c0
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.0052ca40