Function at 0x1802ce8d0
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 0x1802ce8fd
mov rax, qword [r12 + 0x30]
jmp 0x1802ce902
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.1802cf470
cmp eax, 0xb
je 0x1802ce961
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0xc0]
mov r8d, 0x3000
mov r9d, 4
call fcn.1802cf470
mov qword [rsp + 0x60], rsi
lea rax, [0x1802ce480]
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.1804313e0
mov r14, qword [rdi + 0x28]
mov rbp, qword [rdi + 0x30]
test rbp, rbp
je 0x1802ce9f5
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.180468b10
add rbx, 0x28
cmp rdi, rbx
jne 0x1802ce9d0
mov rdi, qword [rsp + 0x28]
test r15, r15
je 0x1802cea19
lea rdx, [r12 + 0x88]
mov rcx, qword [r12 + 0x30]
mov rax, rdi
sub rax, rcx
jne 0x1802cea2f
jmp 0x1802ceb02
lea rdx, [r12 + 0x78]
mov ecx, dword [r12 + 0x34]
mov rax, rdi
sub rax, rcx
je 0x1802ceb02
mov ecx, dword [rdx + 0x28]
test rcx, rcx
je 0x1802ceb02
cmp dword [rdx + 0x2c], 0
je 0x1802ceb02
add rcx, rdi
mov edx, 1
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x1802cea73
jmp 0x1802ceaf4
xor r8d, r8d
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
je 0x1802ceaf4
cmp r8d, 0xa
jb 0x1802ceae4
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 0x1802ceaa8
inc r9
cmp r8, r9
je 0x1802ceae0
movzx r10d, word [rcx + r9*2 + 8]
mov r11d, r10d
and r11d, 0xf000
cmp r11d, 0xa000
jne 0x1802ceaa0
mov r11d, dword [rcx]
and r10d, 0xfff
add r10, r11
add qword [rdi + r10], rax
jmp 0x1802ceaa0
mov r8d, dword [rcx + 4]
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x1802cea73
cmp dword [rcx], 0
jne 0x1802cea60
mov rdi, qword [rsp + 0x28]
shl r15, 4
lea rax, [r15 + 0x78]
cmp dword [r12 + r15 + 0x84], 0
mov qword [rsp + 0x90], rax
je 0x1802cee54
mov ebx, dword [r12 + rax + 8]
test rbx, rbx
je 0x1802cee54
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 0x1802ceb90
cmp dword [rbx + 0x10], 0
jne 0x1802ceb90
cmp dword [rbx], 0
jne 0x1802ceb90
cmp dword [rbx + 4], 0
jne 0x1802ceb90
cmp dword [rbx + 8], 0
je 0x1802cee2a
nop word cs:[rax + rax]
add rsi, rdi
mov rcx, rsi
call fcn.18045da00
lea r8, [rax + 1]
mov rcx, r13
mov rdx, rsi
call fcn.180454280
cmp qword [rsp + 0x30], 0
jne 0x1802cede3
mov qword [rsp + 0xa8], rbx
mov rsi, qword [rsp + 0x40]
test rsi, rsi
js 0x1802cf236
mov rbx, qword [rsp + 0x38]
je 0x1802cec10
mov r14, r12
movzx eax, byte [0x1805297c8]
mov r12d, 1
mov edx, 1
mov rcx, rsi
call fcn.1802cbf10
test rax, rax
je 0x1802cf249
mov r12, r14
mov r14, qword [rsp + 0xb0]
jmp 0x1802cec15
mov eax, 1
mov rcx, rax
mov rdx, rbx
mov r8, rsi
mov rbx, rax
call fcn.180468b10
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.1802cf280
cmp dword [rsp + 0x60], 0
jne 0x1802cee0c
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 0x1802cedc0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xb8], rax
xor ebx, ebx
jmp 0x1802cece5
movzx edx, si
mov rcx, qword [rsp + 0xb8]
call sub.kernel32.dll_GetProcAddress
mov rcx, rax
test rax, rax
je 0x1802cedf9
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 0x1802cedc3
test rsi, rsi
js 0x1802ceca0
cmp byte [r15 + rsi], 0
je 0x1802cedc0
add rsi, r15
mov rcx, rsi
call fcn.18045da00
lea r8, [rax + 1]
mov rcx, r13
mov rdx, rsi
call fcn.180454280
cmp qword [rsp + 0x30], 0
jne 0x1802cede3
mov rsi, qword [rsp + 0x40]
test rsi, rsi
js 0x1802cf21e
mov r14, qword [rsp + 0x38]
je 0x1802ced60
movzx eax, byte [0x1805297c8]
mov ebp, 1
mov edx, 1
mov rcx, rsi
call fcn.1802cbf10
test rax, rax
je 0x1802cf22b
mov rcx, rax
mov rbp, rax
jmp 0x1802ced65
mov ebp, 1
mov rcx, rbp
mov rdx, r14
mov r8, rsi
call fcn.180468b10
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.1802cf370
cmp dword [rsp + 0xd8], 0
jne 0x1802cedee
mov rcx, qword [rsp + 0xe0]
mov rax, r12
mov r14, qword [rsp + 0xb0]
jmp 0x1802cecbc
mov rax, r12
mov rbx, qword [rsp + 0xa8]
add rbx, 0x14
mov r12, rax
mov esi, dword [rbx + 0xc]
test rsi, rsi
jne 0x1802ceb90
jmp 0x1802ceb68
mov eax, 5
movd xmm0, eax
jmp 0x1802cee12
movq xmm0, qword [rsp + 0xdc]
jmp 0x1802cee12
movd xmm1, r12d
movdqa xmm0, xmmword [0x18048b430]
punpckldq xmm0, xmm1
jmp 0x1802cee12
movq xmm0, qword [rsp + 0x64]
mov rax, qword [rsp + 0x98]
movq qword [rax + 4], xmm0
mov dword [rax], 1
jmp 0x1802cf20a
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 0x1802cef01
lea rax, [0x18047bfe7]
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.1802ce550
mov rbx, qword [rax]
mov esi, dword [rax + 8]
movzx eax, byte [0x1805297c8]
mov ecx, 0xc
mov edx, 1
call fcn.1802cbf10
test rax, rax
je 0x1802cf261
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.1802cf280
cmp dword [rsp + 0x60], 0
je 0x1802cefd3
test rbp, rbp
je 0x1802cf14b
shl rbp, 3
lea rsi, [rbp*4]
add rsi, rbp
xor r15d, r15d
lea rdi, [rsp + 0x30]
lea rbx, [rsp + 0x60]
jmp 0x1802cef4d
mov rcx, rdi
mov rdx, rbx
call fcn.1802cf7e0
cmp eax, 0xb
jne 0x1802cefbe
add r15, 0x28
cmp rsi, r15
je 0x1802cf14b
mov eax, dword [r14 + r15 + 0x10]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1802cef40
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 0x1802cefa0
mov r8d, 1
test eax, 0x40000000
je 0x1802cef30
shr eax, 0x1f
lea r8d, [rax*2 + 2]
jmp 0x1802cef30
mov r8d, 0x10
test eax, 0x40000000
je 0x1802cef30
shr eax, 0x1a
and eax, 0xffffffe0
add eax, 0x20
mov r8d, eax
jmp 0x1802cef30
mov dword [r13 + 4], eax
mov dword [r13 + 8], edx
mov dword [r13], 1
jmp 0x1802cf20a
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x80], r12
mov rbx, qword [rsp + 0x68]
lea rax, [0x18048102f]
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.1802ce580
mov r12, qword [rax]
mov r15, qword [rax + 8]
movzx esi, word [rax + 0x10]
movzx ebp, byte [rax + 0x12]
movzx eax, byte [0x1805297c8]
mov ecx, 0x13
mov edx, 1
call fcn.1802cbf10
test rax, rax
je 0x1802cf270
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.1802cf370
cmp dword [rsp + 0x60], 0
je 0x1802cf0d1
mov r12, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
test rbp, rbp
jne 0x1802cef0a
jmp 0x1802cf14b
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.1804313e0
mov rbp, qword [rsp + 0x78]
test rbp, rbp
jne 0x1802cef0a
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.1804313e0
mov rdi, qword [rsp + 0x28]
mov rax, qword [rsp + 0x90]
cmp dword [r12 + rax + 0x4c], 0
je 0x1802cf1fe
mov eax, dword [r12 + rax + 0x48]
test rax, rax
je 0x1802cf1fe
mov rsi, qword [rdi + rax + 0x18]
mov rax, qword [rsi]
test rax, rax
je 0x1802cf1c9
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 0x1802cf1b0
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.1804313e0
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.180407090
mov rdx, rsi
mov rcx, rbp
call fcn.180407090
xor r12d, r12d
mov rcx, r12
mov rdx, qword [rsp + 0xa0]
call fcn.180407090
mov qword [rsp + 0xa0], rsi
mov rcx, r12
mov rdx, qword [rsp + 0xa0]
call fcn.180407090
mov ecx, 1
mov edx, 0xc
call fcn.180407090
mov ecx, 1
mov edx, 0x13
call fcn.180407090
int3