Function at 0x180009530
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2f0
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x300]
call fcn.180009210
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x300]
call fcn.180008b40
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x98], rax
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xc0]
call fcn.180007950
lea rcx, [rsp + 0xc0]
call fcn.180008bc0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x40]
add rax, 0x10
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x58], rax
mov rax, qword [rsp + 0x40]
add rax, 0x20
mov ecx, 8
imul rcx, rcx, 1
mov qword [rsp + rcx + 0x58], rax
mov rax, qword [rsp + 0x40]
add rax, 0x30
mov ecx, 8
imul rcx, rcx, 2
mov qword [rsp + rcx + 0x58], rax
mov dword [rsp + 0x24], 0
jmp 0x180009691
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 3
jge 0x18000981c
movsxd rax, dword [rsp + 0x24]
mov rax, qword [rsp + rax*8 + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
jmp 0x1800096bd
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x24]
mov rax, qword [rsp + rax*8 + 0x58]
cmp qword [rsp + 0x38], rax
je 0x180009817
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x60]
call fcn.180008fb0
test eax, eax
jne 0x18000973a
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0xc0]
call fcn.180008940
mov rcx, qword [rsp + 0x300]
call fcn.180007650
mov rax, qword [rsp + 0xa0]
jmp 0x18000984a
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x50]
lea rcx, [rsp + 0x20]
call fcn.1800080f0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x18000975f
jmp 0x1800096b0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call fcn.180008fb0
test eax, eax
jne 0x1800097aa
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xc0]
call fcn.180008940
mov rcx, qword [rsp + 0x300]
call fcn.180007650
mov rax, qword [rsp + 0xa8]
jmp 0x18000984a
mov r9d, 0x100
lea r8, [rsp + 0xf0]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x21]
call fcn.180008290
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xf0]
call fcn.180008fb0
test eax, eax
jne 0x180009812
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0xc0]
call fcn.180008940
mov rcx, qword [rsp + 0x300]
call fcn.180007650
mov rax, qword [rsp + 0xb0]
jmp 0x18000984a
jmp 0x1800096b0
jmp 0x180009687
mov qword [rsp + 0xb8], 0
lea rcx, [rsp + 0xc0]
call fcn.180008940
mov rcx, qword [rsp + 0x300]
call fcn.180007650
mov rax, qword [rsp + 0xb8]
add rsp, 0x2f0
pop rdi
ret