Function at 0x14018ca40
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x278
movzx eax, byte [0x14030d553]
test eax, eax
je 0x14018ca6d
jmp 0x14018cf31
mov rax, qword [rsp + 0x290]
movzx eax, word [rax + 4]
and eax, 2
test eax, eax
je 0x14018ca85
jmp 0x14018cf31
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x140316490]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1402434f0
nop
lea rax, [rsp + 0x50]
mov rdi, rax
mov rsi, qword [rsp + 0x2a0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [0x140303a68]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x168]
call fcn.140167320
lea rcx, [rsp + 0x60]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x60]
mov rdi, qword [rsp + 0x2a0]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x70]
mov rdi, rax
mov rsi, qword [rsp + 0x2a8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [0x140303a68]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x178]
call fcn.140167320
lea rcx, [rsp + 0x80]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x80]
mov rdi, qword [rsp + 0x2a8]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x90]
mov rdi, rax
mov rsi, qword [rsp + 0x2b0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [0x140303a68]
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x188]
call fcn.140167320
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
mov rdi, qword [rsp + 0x2b0]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
mov rdi, rax
mov rsi, qword [rsp + 0x2b8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [0x140303a68]
lea r8, [rsp + 0xb0]
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x198]
call fcn.140167320
lea rcx, [rsp + 0xc0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc0]
mov rdi, qword [rsp + 0x2b8]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x298]
mov edx, dword [rax + 0x18]
lea rcx, [rsp + 0x1a8]
call fcn.140030d90
lea rcx, [rsp + 0xd0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xd0]
mov rax, qword [rsp + 0x290]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x1b8]
call fcn.140174510
lea rcx, [rsp + 0xe0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x120]
lea rcx, [rsp + 0xe0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x298]
movsxd rax, dword [rax + 0x20]
mov r9, rax
mov r8, qword [str.0H0_]
mov rax, qword [rsp + 0x290]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x1c8]
call fcn.140150ad0
lea rcx, [rsp + 0xf0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x130]
lea rcx, [rsp + 0xf0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x298]
movsxd rax, dword [rax + 0x24]
mov r9, rax
mov r8, qword [str.0H0_]
mov rax, qword [rsp + 0x290]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x1d8]
call fcn.140150ad0
lea rcx, [rsp + 0x100]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, [rsp + 0x100]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x1e8]
call fcn.140024ef0
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8d, 7
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x240]
call fcn.14018c980
lea rcx, [rsp + 0x218]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x218]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140243a30
lea rcx, [rsp + 0x120]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140243a30
lea rcx, [rsp + 0x130]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov edx, 2
lea rcx, [rsp + 0x20]
call fcn.140243a30
lea rcx, [rsp + 0x140]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov edx, 3
lea rcx, [rsp + 0x20]
call fcn.140243a30
mov rdi, rax
mov rsi, qword [rsp + 0x2a0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov edx, 4
lea rcx, [rsp + 0x20]
call fcn.140243a30
mov rdi, rax
mov rsi, qword [rsp + 0x2a8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov edx, 5
lea rcx, [rsp + 0x20]
call fcn.140243a30
mov rdi, rax
mov rsi, qword [rsp + 0x2b0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov edx, 6
lea rcx, [rsp + 0x20]
call fcn.140243a30
mov rdi, rax
mov rsi, qword [rsp + 0x2b8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x20]
lea r8, str.matrix_bounds_check_error
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x1f8]
call fcn.140172210
lea rcx, [rsp + 0x208]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x150]
call fcn.140243630
nop
add rsp, 0x278
pop rdi
pop rsi
ret