Function at 0x1800010c0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r12, r8
mov r13, rdx
mov qword [r8], 0
mov r15, rcx
mov r9, qword [rax + 0x68]
mov eax, dword [r9]
cmp eax, 6
jne 0x1800011c5
mov rax, qword gs:[0x60]
xor ebp, ebp
mov r14, qword [rax + 0x68]
cmp dword [r14 + 0xc], ebp
jbe 0x1800011aa
nop
lea rcx, [rbp*2]
mov rdx, r13
add rcx, rbp
mov r8d, dword [r14 + rcx*8 + 0x28]
lea rbx, [r14 + rcx*8]
mov ecx, dword [r14 + rcx*8 + 0x20]
add rcx, r14
shr r8, 1
call fcn.1800077fc
test eax, eax
jne 0x18000119e
mov ecx, dword [rbx + 0x2c]
mov eax, dword [rbx + 0x30]
add rcx, r14
sub eax, 1
movsxd rdi, eax
js 0x18000119e
lea rbx, [rdi*4 + 2]
add rbx, rdi
lea rbx, [rcx + rbx*4]
nop dword [rax + rax]
mov esi, dword [rbx + 4]
mov eax, dword [rbx]
add rsi, r14
test eax, eax
je 0x1800011b3
mov ecx, dword [rbx - 4]
mov r8d, eax
add rcx, r14
shr r8, 1
mov rdx, r15
call fcn.1800077fc
test eax, eax
je 0x1800011b3
sub rbx, 0x14
sub rdi, 1
jns 0x180001170
inc ebp
cmp ebp, dword [r14 + 0xc]
jb 0x180001120
xor esi, esi
mov eax, esi
jmp 0x180001352
mov eax, dword [rbx + 8]
shr rax, 1
mov qword [r12], rax
mov rax, rsi
jmp 0x180001352
cmp eax, 4
jne 0x18000128b
mov rax, qword gs:[0x60]
xor ebp, ebp
mov r14, qword [rax + 0x68]
cmp dword [r14 + 0xc], ebp
jbe 0x1800011aa
nop dword [rax]
nop word [rax + rax]
lea rcx, [rbp*2]
add rcx, rbp
lea rdx, [r13 + 8]
mov r8d, dword [r14 + rcx*8 + 0x18]
lea rbx, [r14 + rcx*8]
mov ecx, dword [r14 + rcx*8 + 0x14]
add rcx, r14
shr r8, 1
call fcn.1800077fc
test eax, eax
jne 0x180001276
mov ecx, dword [rbx + 0x24]
add rcx, r14
mov eax, dword [rcx + 4]
sub eax, 1
movsxd rdi, eax
js 0x180001276
lea rbx, [rdi + 1]
lea rbx, [rdi + rbx*4]
lea rbx, [rcx + rbx*4]
nop dword [rax]
mov esi, dword [rbx + 4]
mov eax, dword [rbx]
add rsi, r14
test eax, eax
je 0x1800011b3
mov ecx, dword [rbx - 4]
mov r8d, eax
add rcx, r14
shr r8, 1
mov rdx, r15
call fcn.1800077fc
test eax, eax
je 0x1800011b3
sub rbx, 0x14
sub rdi, 1
jns 0x180001240
inc ebp
cmp ebp, dword [r14 + 0xc]
jb 0x1800011f0
xor esi, esi
mov eax, esi
jmp 0x180001352
cmp eax, 2
jne 0x180001350
mov rax, qword gs:[0x60]
xor r14d, r14d
mov rbp, qword [rax + 0x68]
cmp dword [rbp + 4], r14d
jbe 0x1800011aa
nop
lea rcx, [r14 + r14*2]
lea rbx, [rcx*4]
mov ecx, dword [rbx + rbp + 8]
lea rdx, [r13 + 8]
mov r8d, dword [rbx + rbp + 0xc]
add rcx, rbp
shr r8, 1
call fcn.1800077fc
test eax, eax
jne 0x18000132e
mov ecx, dword [rbx + rbp + 0x10]
add rcx, rbp
mov eax, dword [rcx]
sub eax, 1
movsxd rdi, eax
js 0x18000132e
mov rbx, rdi
shl rbx, 4
add rbx, 4
add rbx, rcx
nop word [rax + rax]
mov esi, dword [rbx + 8]
mov eax, dword [rbx + 4]
add rsi, rbp
test eax, eax
je 0x180001341
mov ecx, dword [rbx]
mov r8d, eax
add rcx, rbp
shr r8, 1
mov rdx, r15
call fcn.1800077fc
test eax, eax
je 0x180001341
sub rbx, 0x10
sub rdi, 1
jns 0x180001300
inc r14d
cmp r14d, dword [rbp + 4]
jb 0x1800012b0
xor esi, esi
mov eax, esi
jmp 0x180001352
mov eax, dword [rbx + 0xc]
shr rax, 1
mov qword [r12], rax
mov rax, rsi
jmp 0x180001352
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret