Function at 0x140170710
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 [0x1402d1046]
test eax, eax
je 0x14017073d
jmp 0x140170ae4
mov rax, qword [rsp + 0x230]
movzx eax, word [rax + 4]
and eax, 2
test eax, eax
je 0x140170755
jmp 0x140170ae4
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x1402d9d60]
mov rdx, qword gs:[0x58]
add rax, qword [rdx + rcx*8]
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.140226e40
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 [0x1402caa60]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0x128]
call fcn.14014bf30
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 [0x1402caa60]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0x138]
call fcn.14014bf30
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.140023dc0
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.140158960
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 [0x1402ca9d0]
mov rax, qword [rsp + 0x230]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x168]
call fcn.140137040
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 [0x1402ca9d0]
mov rax, qword [rsp + 0x230]
mov rdx, qword [rax + 0x40]
lea rcx, [rsp + 0x178]
call fcn.140137040
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.1400186a0
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.140170b00
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.140227360
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.140227360
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.140227360
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.140227360
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.140227360
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.140156760
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.140226f70
add rsp, 0x218
pop rdi
pop rsi
ret