Function at 0x52a220
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x52a675
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xf8], r9
mov rbx, qword [rsp + 0xc0]
nop word [rax + rax]
cmp rsi, rbx
jne 0x52a661
cmp r10, rbx
jne 0x52a661
mov rdx, qword [rsp + 0xa8]
nop word [rax + rax]
cmp rdx, rbx
jne 0x52a661
mov qword [rsp + 0xf0], r8
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xf8], r9
mov r10, rbx
shl r10, 1
cmp rcx, r10
jge 0x52a36a
cmp r10, 1
jne 0x52a30f
lea rax, [0x0067c1a0]
mov ebx, 1
mov rcx, rbx
call fcn.00444c80
mov rdx, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xf0]
mov r9, qword [rsp + 0xf8]
mov r10d, 1
mov ecx, 1
jmp 0x52a36a
mov qword [rsp + 0x78], r10
lea rcx, [rbx + rbx]
lea rcx, [rcx + 4]
mov qword [rsp + 0x58], rcx
lea rax, [0x0067c1a0]
mov rbx, r10
call fcn.00444c80
mov rdx, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xf0]
mov r9, qword [rsp + 0xf8]
mov r10, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], r10
nop
nop dword [rax]
test r10, r10
je 0x52a3d3
mov rbx, r10
shl rbx, 3
call fcn.0045c8e0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xf0]
mov r9, qword [rsp + 0xf8]
mov r10, qword [rsp + 0x50]
xor r11d, r11d
xor r12d, r12d
jmp 0x52a420
lea r11, [rdi + 1]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xa8]
mov rbx, rsi
mov rsi, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xf0]
mov r9, qword [rsp + 0xf8]
mov r10, qword [rsp + 0x50]
mov r12, rax
mov rax, qword [rsp + 0x80]
nop
cmp rbx, r11
jle 0x52a576
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x68], r12
mov rdx, qword [r9 + r11*8]
sub rcx, r11
mov qword [rsp + 0x78], rcx
mov r12, rcx
neg rcx
shl r11, 3
sar rcx, 0x3f
and r11, rcx
lea rcx, [rax + r11]
mov qword [rsp + 0x88], rcx
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], r12
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], rdx
nop
call fcn.00534e40
xorps xmm15, xmm15
mov r14, qword [0x00c4bbb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x80]
mov rbx, qword [rdx + rcx*8]
mov rsi, qword [rsp + 0x88]
mov qword [rsp], rsi
mov rsi, qword [rsp + 0xc0]
mov qword [rsp + 8], rsi
mov rdi, qword [rsp + 0x78]
mov qword [rsp + 0x10], rdi
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x18], rdi
mov r8, qword [rsp + 0xa8]
mov qword [rsp + 0x20], r8
mov r9, qword [rsp + 0xb0]
mov qword [rsp + 0x28], r9
mov r10, qword [rsp + 0xb8]
imul rbx, r10
mov qword [rsp + 0x30], rbx
call fcn.00534e40
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 + 0x70]
mov rdx, qword [rsp + 0x68]
add rdx, rcx
lea rbx, [rdx + rax]
mov rsi, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x60]
lea r8, [rdi + rsi]
mov r9, qword [rsp + 0x80]
mov qword [r9 + r8*8], rbx
cmp rcx, rdx
ja 0x52a565
nop dword [rax]
cmp rax, rbx
jbe 0x52a56f
mov eax, 1
jmp 0x52a3db
xor eax, eax
jmp 0x52a3db
test r12, r12
jne 0x52a5d2
mov rdx, rbx
sub rdx, rcx
mov rsi, rbx
shl rsi, 3
sar rdx, 0x3f
and rdx, rsi
sub r10, rbx
lea rsi, [rdx + rax]
cmp rbx, r10
mov rdi, rbx
cmovg rdi, r10
test rdx, rdx
je 0x52a657
shl rdi, 3
mov rbx, rsi
mov rcx, rdi
call fcn.0045cbe0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0xc0]
jmp 0x52a657
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
sub rcx, rbx
mov rdi, rcx
neg rcx
mov r8, rbx
shl rbx, 3
sar rcx, 0x3f
and rcx, rbx
add rcx, rax
mov qword [rsp + 0x18], rcx
sub r10, r8
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x28], rdi
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rcx
call fcn.00534ac0
xorps xmm15, xmm15
mov r14, qword [0x00c4bbb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rbp
nop
ret
lea rax, [0x0067b560]
lea rbx, [0x00765250]
call fcn.00431120
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.0045a0c0
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.0052a220