Function at 0x566cc0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x567111
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xc0], rsi
cmp al, 1
je 0x5670a7
mov byte [rsp + 0xa0], al
mov qword [rsp + 0xc8], r8
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xd0], r9
cmp byte [r10 + 0x22], 0
je 0x566f85
nop word [rax + rax]
nop dword [rax]
cmp rcx, 0x80
jl 0x566e60
movzx edx, al
shl rdx, 4
lea r10, [0x00807d40]
lea r11, [r10 + rdx]
mov qword [rsp], r11
mov qword [rsp + 8], 0x10
mov qword [rsp + 0x10], 0x10
lea r11, [0x00808d40]
add rdx, r11
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0x10
mov qword [rsp + 0x28], 0x10
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
call fcn.005fd320
xorps xmm15, xmm15
mov r14, qword [0x008b94a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0xb0]
mov rcx, rax
and rcx, 0xffffffffffffffc0
mov rdx, qword [rsp + 0xb8]
sub rdx, rcx
mov rbx, rdx
neg rdx
sar rdx, 0x3f
and rdx, rax
and rdx, 0xffffffffffffffc0
mov rsi, qword [rsp + 0xa8]
add rdx, rsi
mov rsi, rax
sub rax, rcx
mov rdi, qword [rsp + 0xc8]
cmp rdi, rcx
jb 0x567105
mov r9, qword [rsp + 0xd0]
sub r9, rcx
mov r10, r9
neg r10
sar r10, 0x3f
and rsi, r10
and rsi, 0xffffffffffffffc0
sub rdi, rcx
mov r10, qword [rsp + 0xc0]
add rsi, r10
mov rcx, rax
mov r8, rdi
movzx eax, byte [rsp + 0xa0]
mov rdi, rbx
mov rbx, rdx
nop word [rax + rax]
nop
cmp rcx, 0x20
jle 0x56708d
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x80], rbx
movzx edx, al
shl rdx, 4
lea r10, [0x00807d40]
add r10, rdx
mov qword [rsp], r10
mov qword [rsp + 8], 0x10
mov qword [rsp + 0x10], 0x10
lea r10, [0x00808d40]
add rdx, r10
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0x10
mov qword [rsp + 0x28], 0x10
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
call fcn.005fd1e0
xorps xmm15, xmm15
mov r14, qword [0x008b94a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x68]
mov rcx, rax
and rcx, 0xffffffffffffffe0
mov rdx, qword [rsp + 0x60]
mov rbx, rcx
sub rcx, rdx
sar rcx, 0x3f
and rcx, rax
and rcx, 0xffffffffffffffe0
mov rdx, qword [rsp + 0x80]
add rcx, rdx
mov rdx, rax
sub rax, rbx
mov rsi, qword [rsp + 0x70]
cmp rsi, rbx
jb 0x5670f7
mov r9, qword [rsp + 0x78]
sub r9, rbx
mov rdi, r9
neg rdi
sar rdi, 0x3f
and rdx, rdi
and rdx, 0xffffffffffffffe0
mov rdi, qword [rsp + 0x88]
lea rsi, [rdi + rdx]
mov rbx, rcx
mov rcx, rax
movzx eax, byte [rsp + 0xa0]
nop
jmp 0x56708d
cmp byte [r10 + 0x23], 0
je 0x56708d
movzx edx, al
shl rdx, 4
lea r10, [0x00807d40]
add r10, rdx
mov qword [rsp], r10
mov qword [rsp + 8], 0x10
mov qword [rsp + 0x10], 0x10
lea r10, [0x00808d40]
add rdx, r10
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0x10
mov qword [rsp + 0x28], 0x10
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
call fcn.005fd060
xorps xmm15, xmm15
mov r14, qword [0x008b94a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0xb0]
mov rcx, rax
and rcx, 0xfffffffffffffff0
mov rdx, qword [rsp + 0xb8]
mov rbx, rcx
sub rcx, rdx
sar rcx, 0x3f
and rcx, rax
and rcx, 0xfffffffffffffff0
mov rdx, qword [rsp + 0xa8]
add rcx, rdx
mov rdx, rax
sub rax, rbx
mov rsi, qword [rsp + 0xc8]
cmp rsi, rbx
jb 0x5670ec
mov r9, qword [rsp + 0xd0]
sub r9, rbx
mov rdi, r9
neg rdi
sar rdi, 0x3f
and rdx, rdi
and rdx, 0xfffffffffffffff0
mov rdi, qword [rsp + 0xc0]
lea rsi, [rdi + rdx]
mov rbx, rcx
mov rcx, rax
movzx eax, byte [rsp + 0xa0]
cmp r9, rcx
jb 0x5670e4
movzx eax, al
shl rax, 8
lea rdx, [0x0080e260]
add rax, rdx
xor edx, edx
jmp 0x5670d6
cmp rcx, r8
cmovl r8, rcx
cmp rbx, rsi
je 0x5670be
mov rax, rsi
mov rcx, r8
call fcn.0046c4a0
add rsp, 0x90
pop rbp
ret
movzx edi, byte [rbx + rdx]
movzx edi, byte [rax + rdi]
mov byte [rsi + rdx], dil
inc rdx
cmp rdx, rcx
jl 0x5670c7
add rsp, 0x90
pop rbp
ret
mov rdx, r9
call fcn.0046bb40
mov rax, rbx
mov rcx, rsi
call fcn.0046bb80
mov rax, rbx
mov rcx, rsi
nop dword [rax]
call fcn.0046bb80
mov rax, rcx
mov rcx, rdi
call fcn.0046bb80
nop
mov byte [rsp + 8], al
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
mov qword [rsp + 0x40], r10
call fcn.004697e0
movzx eax, byte [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]
mov r10, qword [rsp + 0x40]
jmp fcn.00566cc0