Function at 0x1801ab950
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov rdi, rdx
mov r13, rcx
mov r15, qword [rdx + 0x18]
mov r12, qword [rdx + 0x20]
test r15, r15
je 0x1801ab97d
mov rax, qword [r12 + 0x30]
jmp 0x1801ab982
mov eax, dword [r12 + 0x34]
mov qword [rsp + 0x28], rax
mov eax, dword [r12 + 0x50]
mov qword [rsp + 0xc0], rax
lea rsi, [rsp + 0x28]
lea rdx, [rsp + 0xc0]
mov rcx, rsi
mov r8d, 0x3000
mov r9d, 4
call fcn.1801ac4f0
cmp eax, 0xb
je 0x1801ab9e1
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0xc0]
mov r8d, 0x3000
mov r9d, 4
call fcn.1801ac4f0
mov qword [rsp + 0x60], rsi
lea rax, [0x1801aadb0]
mov qword [rsp + 0x68], rax
lea rax, str.base_addr:__n
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
lea rcx, [rsp + 0x30]
call fcn.1801bcb60
mov r14, qword [rdi + 0x28]
mov rbp, qword [rdi + 0x30]
test rbp, rbp
je 0x1801aba75
mov rsi, qword [rdi + 0x48]
lea rax, [rbp*8]
lea rdi, [rax + rax*4]
xor ebx, ebx
nop dword [rax]
mov edx, dword [r14 + rbx + 0x14]
add rdx, rsi
mov ecx, dword [r14 + rbx + 0xc]
mov r8d, dword [r14 + rbx + 0x10]
add rcx, qword [rsp + 0x28]
call fcn.1801f0cd0
add rbx, 0x28
cmp rdi, rbx
jne 0x1801aba50
mov rdi, qword [rsp + 0x28]
test r15, r15
je 0x1801aba99
lea rdx, [r12 + 0x88]
mov rcx, qword [r12 + 0x30]
mov rax, rdi
sub rax, rcx
jne 0x1801abaaf
jmp 0x1801abb82
lea rdx, [r12 + 0x78]
mov ecx, dword [r12 + 0x34]
mov rax, rdi
sub rax, rcx
je 0x1801abb82
mov ecx, dword [rdx + 0x28]
test rcx, rcx
je 0x1801abb82
cmp dword [rdx + 0x2c], 0
je 0x1801abb82
add rcx, rdi
mov edx, 1
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x1801abaf3
jmp 0x1801abb74
xor r8d, r8d
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
je 0x1801abb74
cmp r8d, 0xa
jb 0x1801abb64
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 0x1801abb28
inc r9
cmp r8, r9
je 0x1801abb60
movzx r10d, word [rcx + r9*2 + 8]
mov r11d, r10d
and r11d, 0xf000
cmp r11d, 0xa000
jne 0x1801abb20
mov r11d, dword [rcx]
and r10d, 0xfff
add r10, r11
add qword [rdi + r10], rax
jmp 0x1801abb20
mov r8d, dword [rcx + 4]
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x1801abaf3
cmp dword [rcx], 0
jne 0x1801abae0
mov rdi, qword [rsp + 0x28]
shl r15, 4
lea rax, [r15 + 0x78]
cmp dword [r12 + r15 + 0x84], 0
mov qword [rsp + 0x90], rax
je 0x1801abed4
mov ebx, dword [r12 + rax + 8]
test rbx, rbx
je 0x1801abed4
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x98], r13
add rbx, rdi
lea r15, [rdi + 2]
lea r13, [rsp + 0x30]
mov qword [rsp + 0xb0], r14
mov esi, dword [rbx + 0xc]
test rsi, rsi
jne 0x1801abc10
cmp dword [rbx + 0x10], 0
jne 0x1801abc10
cmp dword [rbx], 0
jne 0x1801abc10
cmp dword [rbx + 4], 0
jne 0x1801abc10
cmp dword [rbx + 8], 0
je 0x1801abeaa
nop word cs:[rax + rax]
add rsi, rdi
mov rcx, rsi
call fcn.1801e5cf0
lea r8, [rax + 1]
mov rcx, r13
mov rdx, rsi
call fcn.1801df3a0
cmp qword [rsp + 0x30], 0
jne 0x1801abe63
mov qword [rsp + 0xa8], rbx
mov rsi, qword [rsp + 0x40]
test rsi, rsi
js 0x1801ac2b6
mov rbx, qword [rsp + 0x38]
je 0x1801abc90
mov r14, r12
movzx eax, byte [0x180281288]
mov r12d, 1
mov edx, 1
mov rcx, rsi
call fcn.180057670
test rax, rax
je 0x1801ac2c9
mov r12, r14
mov r14, qword [rsp + 0xb0]
jmp 0x1801abc95
mov eax, 1
mov rcx, rax
mov rdx, rbx
mov r8, rsi
mov rbx, rax
call fcn.1801f0cd0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x60]
mov rdx, r13
call fcn.1801ac300
cmp dword [rsp + 0x60], 0
jne 0x1801abe8c
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx]
mov ecx, dword [rcx + 0x10]
add rcx, rdi
lea rdx, [rdi + rax]
test rax, rax
mov qword [rsp + 0xd0], rcx
cmove rdx, rcx
mov qword [rsp + 0xc8], rdx
mov rsi, qword [rdx]
test rsi, rsi
je 0x1801abe40
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xb8], rax
xor ebx, ebx
jmp 0x1801abd65
movzx edx, si
mov rcx, qword [rsp + 0xb8]
call sub.kernel32.dll_GetProcAddress
mov rcx, rax
test rax, rax
je 0x1801abe79
mov rdx, qword [rsp + 0xd0]
mov qword [rdx + rbx], rcx
mov rcx, qword [rsp + 0xc8]
mov rsi, qword [rcx + rbx + 8]
add rbx, 8
mov r12, rax
test rsi, rsi
je 0x1801abe43
test rsi, rsi
js 0x1801abd20
cmp byte [r15 + rsi], 0
je 0x1801abe40
add rsi, r15
mov rcx, rsi
call fcn.1801e5cf0
lea r8, [rax + 1]
mov rcx, r13
mov rdx, rsi
call fcn.1801df3a0
cmp qword [rsp + 0x30], 0
jne 0x1801abe63
mov rsi, qword [rsp + 0x40]
test rsi, rsi
js 0x1801ac29e
mov r14, qword [rsp + 0x38]
je 0x1801abde0
movzx eax, byte [0x180281288]
mov ebp, 1
mov edx, 1
mov rcx, rsi
call fcn.180057670
test rax, rax
je 0x1801ac2ab
mov rcx, rax
mov rbp, rax
jmp 0x1801abde5
mov ebp, 1
mov rcx, rbp
mov rdx, r14
mov r8, rsi
call fcn.1801f0cd0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0xd8]
mov rdx, qword [rsp + 0xb8]
lea r8, [rsp + 0x60]
call fcn.1801ac3f0
cmp dword [rsp + 0xd8], 0
jne 0x1801abe6e
mov rcx, qword [rsp + 0xe0]
mov rax, r12
mov r14, qword [rsp + 0xb0]
jmp 0x1801abd3c
mov rax, r12
mov rbx, qword [rsp + 0xa8]
add rbx, 0x14
mov r12, rax
mov esi, dword [rbx + 0xc]
test rsi, rsi
jne 0x1801abc10
jmp 0x1801abbe8
mov eax, 5
movd xmm0, eax
jmp 0x1801abe92
movq xmm0, qword [rsp + 0xdc]
jmp 0x1801abe92
movd xmm1, r12d
movdqa xmm0, xmmword [0x180263670]
punpckldq xmm0, xmm1
jmp 0x1801abe92
movq xmm0, qword [rsp + 0x64]
mov rax, qword [rsp + 0x98]
movq qword [rax + 4], xmm0
mov dword [rax], 1
jmp 0x1801ac28a
mov rdi, qword [rsp + 0x28]
mov r13, qword [rsp + 0x98]
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x78]
mov rax, qword [rsp + 0x90]
cmp dword [r12 + rax + 0x1c], 0
je 0x1801abf81
lea rax, [0x180254227]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movabs rax, 0x7b46a3408f2cb819
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
call fcn.1801ab5d0
mov rbx, qword [rax]
mov esi, dword [rax + 8]
movzx eax, byte [0x180281288]
mov ecx, 0xc
mov edx, 1
call fcn.180057670
test rax, rax
je 0x1801ac2e1
xor esi, 0x41253fc6
movabs rcx, 0xa8f1b079771b558c
xor rbx, rcx
mov qword [rax], rbx
mov dword [rax + 8], esi
mov qword [rsp + 0x30], 0xc
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0xc
lea rcx, [rsp + 0x60]
lea rsi, [rsp + 0x30]
mov rdx, rsi
call fcn.1801ac300
cmp dword [rsp + 0x60], 0
je 0x1801ac053
test rbp, rbp
je 0x1801ac1cb
shl rbp, 3
lea rsi, [rbp*4]
add rsi, rbp
xor r15d, r15d
lea rdi, [rsp + 0x30]
lea rbx, [rsp + 0x60]
jmp 0x1801abfcd
mov rcx, rdi
mov rdx, rbx
call fcn.1801ac860
cmp eax, 0xb
jne 0x1801ac03e
add r15, 0x28
cmp rsi, r15
je 0x1801ac1cb
mov eax, dword [r14 + r15 + 0x10]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1801abfc0
mov eax, dword [r14 + r15 + 0xc]
add rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov eax, dword [r14 + r15 + 0x24]
test eax, 0x20000000
jne 0x1801ac020
mov r8d, 1
test eax, 0x40000000
je 0x1801abfb0
shr eax, 0x1f
lea r8d, [rax*2 + 2]
jmp 0x1801abfb0
mov r8d, 0x10
test eax, 0x40000000
je 0x1801abfb0
shr eax, 0x1a
and eax, 0xffffffe0
add eax, 0x20
mov r8d, eax
jmp 0x1801abfb0
mov dword [r13 + 4], eax
mov dword [r13 + 8], edx
mov dword [r13], 1
jmp 0x1801ac28a
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x80], r12
mov rbx, qword [rsp + 0x68]
lea rax, [0x18025926f]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
movabs rax, 0x480790214c463bd1
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
call fcn.1801ab600
mov r12, qword [rax]
mov r15, qword [rax + 8]
movzx esi, word [rax + 0x10]
movzx ebp, byte [rax + 0x12]
movzx eax, byte [0x180281288]
mov ecx, 0x13
mov edx, 1
call fcn.180057670
test rax, rax
je 0x1801ac2f0
shl ebp, 0x10
or esi, ebp
mov ecx, esi
shr ecx, 0x10
xor cl, 0x89
mov edx, esi
shr edx, 8
xor dl, 0x98
xor sil, 0xb9
movabs r8, 0xf0569a1346f76119
xor r15, r8
movabs r8, 0xb2ced7800b46464
xor r12, r8
mov qword [rax], r12
mov qword [rax + 8], r15
mov byte [rax + 0x10], sil
mov byte [rax + 0x11], dl
mov byte [rax + 0x12], cl
mov qword [rsp + 0x30], 0x13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0x13
lea rcx, [rsp + 0x60]
lea r8, [rsp + 0x30]
mov rdx, rbx
call fcn.1801ac3f0
cmp dword [rsp + 0x60], 0
je 0x1801ac151
mov r12, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
test rbp, rbp
jne 0x1801abf8a
jmp 0x1801ac1cb
mov r12, qword [rsp + 0x80]
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax + r12 + 0x90]
add rcx, rdi
mov rax, qword [rsp + 0x90]
mov eax, dword [r12 + rax + 0x1c]
mov edx, 0xaaaaaaab
imul rdx, rax
shr rdx, 0x23
mov r8, rdi
call qword [rsp + 0x68]
lea rax, str.seh_fix1_n
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x30]
call fcn.1801bcb60
mov rbp, qword [rsp + 0x78]
test rbp, rbp
jne 0x1801abf8a
lea rax, str.tls_fix_1_n
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x30]
call fcn.1801bcb60
mov rdi, qword [rsp + 0x28]
mov rax, qword [rsp + 0x90]
cmp dword [r12 + rax + 0x4c], 0
je 0x1801ac27e
mov eax, dword [r12 + rax + 0x48]
test rax, rax
je 0x1801ac27e
mov rsi, qword [rdi + rax + 0x18]
mov rax, qword [rsi]
test rax, rax
je 0x1801ac249
add rsi, 8
nop dword [rax + rax]
mov rcx, rdi
mov edx, 2
xor r8d, r8d
call rax
mov rax, qword [rsi]
add rsi, 8
test rax, rax
jne 0x1801ac230
lea rax, str.static_tls_fix_2_n
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x30]
call fcn.1801bcb60
mov rdi, qword [rsp + 0x28]
mov qword [r13 + 8], rdi
mov dword [r13], 0
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, rbp
xor ebp, ebp
mov rcx, rbp
call fcn.18018dc30
mov rdx, rsi
mov rcx, rbp
call fcn.18018dc30
xor r12d, r12d
mov rcx, r12
mov rdx, qword [rsp + 0xa0]
call fcn.18018dc30
mov qword [rsp + 0xa0], rsi
mov rcx, r12
mov rdx, qword [rsp + 0xa0]
call fcn.18018dc30
mov ecx, 1
mov edx, 0xc
call fcn.18018dc30
mov ecx, 1
mov edx, 0x13
call fcn.18018dc30
int3