Function at 0x140010860
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx + 0x18]
mov rbx, qword [rdx + 0x20]
test r14, r14
je 0x14001089c
mov rax, qword [rbx + 0x30]
jmp 0x14001089f
mov eax, dword [rbx + 0x34]
mov qword [rbp + 0x10], rax
mov eax, dword [rbx + 0x50]
mov qword [rbp - 0x38], rax
lea rcx, [rbp + 0x10]
lea rdx, [rbp - 0x38]
mov r8d, 0x3000
mov r9d, 4
call fcn.1400103c0
cmp eax, 0xb
je 0x1400108f2
mov qword [rbp + 0x10], 0
lea rcx, [rbp + 0x10]
lea rdx, [rbp - 0x38]
mov r8d, 0x3000
mov r9d, 4
call fcn.1400103c0
cmp eax, 0xb
jne 0x140010a4a
mov qword [rbp + 0x18], rsi
mov r15, qword [rdi + 0x28]
mov r13, qword [rdi + 0x30]
test r13, r13
je 0x140010944
mov rsi, qword [rdi + 0x48]
lea rax, [r13*8]
lea rdi, [rax + rax*4]
xor r12d, r12d
nop word cs:[rax + rax]
mov edx, dword [r15 + r12 + 0x14]
add rdx, rsi
mov ecx, dword [r15 + r12 + 0xc]
mov r8d, dword [r15 + r12 + 0x10]
add rcx, qword [rbp + 0x10]
call sub.VCRUNTIME140.dll_memcpy
add r12, 0x28
cmp rdi, r12
jne 0x140010920
mov rax, r14
shl rax, 4
mov rsi, qword [rbp + 0x10]
test r14, r14
je 0x14001095a
mov rcx, qword [rbx + 0x30]
jmp 0x14001095d
mov ecx, dword [rbx + 0x34]
lea r12, [rax + rbx]
add r12, 0x78
mov rax, rsi
sub rax, rcx
mov qword [rbp - 0x48], r13
je 0x140010a5f
mov ecx, dword [r12 + 0x28]
test rcx, rcx
je 0x140010a5f
cmp dword [r12 + 0x2c], 0
je 0x140010a5f
add rcx, rsi
mov edx, 1
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x1400109c0
jmp 0x140010a30
mov r8d, dword [rcx + 4]
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
je 0x140010a30
cmp r8d, 0xa
jb 0x1400109b4
lea r9, [r8 - 8]
shr r9, 0x3f
add r8, r9
add r8, 0xfffffffffffffff8
sar r8, 1
cmp r8, 2
cmovl r8, rdx
xor r9d, r9d
jmp 0x1400109f5
cmp r8, r9
je 0x1400109b0
movzx r10d, word [rcx + r9*2 + 8]
inc r9
mov r11d, r10d
and r11d, 0xf000
cmp r11d, 0xa000
jne 0x1400109f0
mov r11d, dword [rcx]
and r10d, 0xfff
add r10, r11
add qword [rsi + r10], rax
jmp 0x1400109f0
cmp dword [rcx], 0
je 0x140010a5b
xor r8d, r8d
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x1400109c0
jmp 0x140010a30
mov dword [rsi + 4], eax
mov dword [rsi + 8], edx
mov dword [rsi], 1
jmp 0x140010e4c
mov rsi, qword [rbp + 0x10]
cmp dword [r12 + 0xc], 0
je 0x140010cb1
mov ecx, dword [r12 + 8]
test rcx, rcx
je 0x140010cb1
add rcx, rsi
lea r14, [rbp - 0x28]
mov qword [rbp - 0x40], r12
mov ebx, dword [rcx + 0xc]
test rbx, rbx
jne 0x140010ab0
cmp dword [rcx + 0x10], 0
jne 0x140010ab0
cmp dword [rcx], 0
jne 0x140010ab0
cmp dword [rcx + 4], 0
jne 0x140010ab0
cmp dword [rcx + 8], 0
je 0x140010cb1
nop word [rax + rax]
mov qword [rbp - 0x30], rcx
add rbx, rsi
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea r8, [rax + 1]
mov rcx, r14
mov rdx, rbx
call fcn.140024190
cmp qword [rbp - 0x28], 0
mov ecx, 5
jne 0x140010e14
mov rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x18]
mov rcx, r14
call fcn.140023e10
mov rcx, qword [rbp - 0x28]
test rcx, rcx
jne 0x140010e1a
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x18]
mov qword [rbp - 8], rax
mov qword [rbp], rcx
call sub.KERNEL32.dll_LoadLibraryA
mov r14, rax
test rax, rax
mov rbx, rax
cmove rbx, qword [rbp + 8]
mov rcx, qword [rbp]
mov byte [rcx], 0
mov rdx, qword [rbp - 8]
test rdx, rdx
je 0x140010b39
mov r8d, 1
call fcn.14000f550
test r14, r14
je 0x140010e32
mov rcx, qword [rbp - 0x30]
mov eax, dword [rcx]
mov ecx, dword [rcx + 0x10]
add rcx, rsi
lea rdx, [rsi + rax]
test rax, rax
mov qword [rbp - 0x58], rcx
cmove rdx, rcx
mov qword [rbp - 0x50], rdx
mov rcx, qword [rdx]
test rcx, rcx
je 0x140010c80
xor r12d, r12d
jmp 0x140010bbe
movzx edx, cx
mov rcx, rbx
call sub.KERNEL32.dll_GetProcAddress
mov r14, r13
mov rcx, rax
test rax, rax
je 0x140010e0a
mov rdx, qword [rbp - 0x58]
mov qword [rdx + r12], rcx
mov rcx, qword [rbp - 0x50]
mov rcx, qword [rcx + r12 + 8]
add r12, 8
mov rdi, rax
mov r13, r14
test rcx, rcx
je 0x140010c86
test rcx, rcx
js 0x140010b80
cmp byte [rsi + rcx + 2], 0
je 0x140010c80
mov qword [rbp - 8], r13
mov r13, rbx
lea r14, [rsi + rcx]
add r14, 2
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea r8, [rax + 1]
lea rbx, [rbp - 0x28]
mov rcx, rbx
mov rdx, r14
call fcn.140024190
cmp qword [rbp - 0x28], 0
jne 0x140010dd4
mov rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x18]
mov rcx, rbx
call fcn.140023e10
mov rcx, qword [rbp - 0x28]
test rcx, rcx
jne 0x140010ddf
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x18]
mov qword [rbp], rax
mov rbx, r13
mov rcx, r13
mov qword [rbp + 8], rdx
call sub.KERNEL32.dll_GetProcAddress
mov r14, rax
mov rcx, qword [rbp + 8]
mov byte [rcx], 0
mov rdx, qword [rbp]
test rdx, rdx
mov r13, qword [rbp - 8]
je 0x140010c5d
mov r8d, 1
call fcn.14000f550
mov rax, rdi
mov rcx, r14
test r14, r14
jne 0x140010b9a
jmp 0x140010dff
mov rax, rdi
mov r14, r13
mov rcx, qword [rbp - 0x30]
add rcx, 0x14
mov rdi, rax
mov r13, r14
mov qword [rbp + 8], rbx
mov r12, qword [rbp - 0x40]
lea r14, [rbp - 0x28]
mov ebx, dword [rcx + 0xc]
test rbx, rbx
jne 0x140010ab0
jmp 0x140010a8c
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140010d5b
shl rax, 3
lea rsi, [rax + rax*4]
xor r14d, r14d
lea rdi, [rbp - 0x28]
lea rbx, [rbp - 0x60]
jmp 0x140010cfd
mov rcx, rdi
mov rdx, rbx
call fcn.140010580
cmp eax, 0xb
jne 0x140010dc2
add r14, 0x28
cmp rsi, r14
je 0x140010d5b
mov eax, dword [r15 + r14 + 0x10]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140010cf4
mov eax, dword [r15 + r14 + 0xc]
add rax, qword [rbp + 0x10]
mov qword [rbp - 0x28], rax
mov eax, dword [r15 + r14 + 0x24]
test eax, 0x20000000
jne 0x140010d40
mov r8d, 1
test eax, 0x40000000
je 0x140010ce0
shr eax, 0x1f
lea r8d, [rax + rax]
add r8d, 2
jmp 0x140010ce0
mov r8d, 0x10
test eax, 0x40000000
je 0x140010ce0
shr eax, 0x1a
and eax, 0xffffffe0
add eax, 0x20
mov r8d, eax
jmp 0x140010ce0
mov rdi, qword [rbp + 0x10]
cmp dword [r12 + 0x4c], 0
je 0x140010daf
mov eax, dword [r12 + 0x48]
test rax, rax
mov rbx, qword [rbp + 0x18]
je 0x140010db3
mov rsi, qword [rdi + rax + 0x18]
mov rax, qword [rsi]
test rax, rax
je 0x140010db3
add rsi, 8
nop word cs:[rax + rax]
mov rcx, rdi
mov edx, 2
xor r8d, r8d
call rax
mov rax, qword [rsi]
add rsi, 8
test rax, rax
jne 0x140010d90
mov rdi, qword [rbp + 0x10]
jmp 0x140010db3
mov rbx, qword [rbp + 0x18]
mov qword [rbx + 8], rdi
mov dword [rbx], 0
jmp 0x140010e4c
mov rcx, qword [rbp + 0x18]
mov dword [rcx + 4], eax
mov dword [rcx + 8], edx
mov dword [rcx], 1
jmp 0x140010e4c
mov rax, qword [rbp + 0x18]
mov ecx, 5
jmp 0x140010e3f
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x140010df3
mov r8d, 1
call fcn.14000f550
xor ecx, ecx
mov rax, qword [rbp + 0x18]
mov r13, qword [rbp - 8]
jmp 0x140010e3f
mov ecx, 2
mov rax, qword [rbp + 0x18]
jmp 0x140010e3f
mov ecx, 2
mov r13d, edi
jmp 0x140010e14
mov rax, qword [rbp + 0x18]
jmp 0x140010e3f
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x140010e2e
mov r8d, 1
call fcn.14000f550
xor ecx, ecx
jmp 0x140010e37
mov ecx, 1
mov rax, qword [rbp + 0x18]
mov r13, qword [rbp + 8]
mov dword [rax + 4], ecx
mov dword [rax + 8], r13d
mov dword [rax], 1
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret