Function at 0x14018c590
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, 0x218
movzx eax, byte [0x14030d553]
test eax, eax
je 0x14018c5bd
jmp 0x14018c965
mov rax, qword [rsp + 0x230]
movzx eax, word [rax + 4]
and eax, 2
test eax, eax
je 0x14018c5d5
jmp 0x14018c965
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 + 0x110]
call fcn.1402434f0
nop
lea rax, [rsp + 0x50]
mov rdi, rax
mov rsi, qword [rsp + 0x240]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [0x140303a68]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0x128]
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 + 0x240]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x70]
mov rdi, rax
mov rsi, qword [rsp + 0x248]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [0x140303a68]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0x138]
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 + 0x248]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x238]
mov edx, dword [rax + 0x18]
lea rcx, [rsp + 0x148]
call fcn.140030d90
lea rcx, [rsp + 0x90]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x90]
mov rax, qword [rsp + 0x230]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x158]
call fcn.140174510
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0xa0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x238]
movsxd rax, dword [rax + 0x20]
mov r9, rax
mov r8, qword [str.0H0_]
mov rax, qword [rsp + 0x230]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x168]
call fcn.140150ad0
lea rcx, [rsp + 0xb0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0xb0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x238]
movsxd rax, dword [rax + 0x24]
mov r9, rax
mov r8, qword [str.0H0_]
mov rax, qword [rsp + 0x230]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x178]
call fcn.140150ad0
lea rcx, [rsp + 0xc0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0xc0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x188]
call fcn.140024ef0
lea rcx, [rsp + 0xd0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8d, 5
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x1e0]
call fcn.14018c980
lea rcx, [rsp + 0x1b8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x1b8]
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 + 0xe0]
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 + 0xf0]
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 + 0x100]
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 + 0x240]
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 + 0x248]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x20]
lea r8, str.bounds_check_error
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0x198]
call fcn.140172210
lea rcx, [rsp + 0x1a8]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x110]
call fcn.140243630
nop
add rsp, 0x218
pop rdi
pop rsi
ret