Function at 0x1401639d0
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 [0x1402c1d36]
test eax, eax
je 0x1401639fd
jmp 0x140163da4
mov rax, qword [rsp + 0x230]
movzx eax, word [rax + 4]
and eax, 2
test eax, eax
je 0x140163a15
jmp 0x140163da4
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x1402ca580]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.14021bc90
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 [0x1402bb9b0]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0x128]
call fcn.14013fa90
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 [0x1402bb9b0]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0x138]
call fcn.14013fa90
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.140022730
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.14014be70
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 [0x1402bb930]
mov rax, qword [rsp + 0x230]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x168]
call fcn.14012b270
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 [0x1402bb930]
mov rax, qword [rsp + 0x230]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x178]
call fcn.14012b270
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.1400174d0
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.140163dc0
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.14021c1a0
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.14021c1a0
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.14021c1a0
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.14021c1a0
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.14021c1a0
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.140149ce0
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.14021bdc0
add rsp, 0x218
pop rdi
pop rsi
ret