Function at 0x1800129c0
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.1800126a0
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.180011fd0
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.180010de0
lea rcx, [rsp + 0xc0]
call fcn.180012050
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 0x180012b21
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 3
jge 0x180012cac
movsxd rax, dword [rsp + 0x24]
mov rax, qword [rsp + rax*8 + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
jmp 0x180012b4d
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 0x180012ca7
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.180012440
test eax, eax
jne 0x180012bca
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0xc0]
call fcn.180011dd0
mov rcx, qword [rsp + 0x300]
call fcn.180010ae0
mov rax, qword [rsp + 0xa0]
jmp 0x180012cda
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180011580
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x180012bef
jmp 0x180012b40
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call fcn.180012440
test eax, eax
jne 0x180012c3a
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xc0]
call fcn.180011dd0
mov rcx, qword [rsp + 0x300]
call fcn.180010ae0
mov rax, qword [rsp + 0xa8]
jmp 0x180012cda
mov r9d, 0x100
lea r8, [rsp + 0xf0]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x21]
call fcn.180011720
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xf0]
call fcn.180012440
test eax, eax
jne 0x180012ca2
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0xc0]
call fcn.180011dd0
mov rcx, qword [rsp + 0x300]
call fcn.180010ae0
mov rax, qword [rsp + 0xb0]
jmp 0x180012cda
jmp 0x180012b40
jmp 0x180012b17
mov qword [rsp + 0xb8], 0
lea rcx, [rsp + 0xc0]
call fcn.180011dd0
mov rcx, qword [rsp + 0x300]
call fcn.180010ae0
mov rax, qword [rsp + 0xb8]
add rsp, 0x2f0
pop rdi
ret