Function at 0x180032ad0
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
mov rdi, rdx
mov r15, rcx
mov rsi, qword [rdx + 0x18]
mov rbp, qword [rdx + 0x20]
test rsi, rsi
je 0x180032afc
mov rax, qword [rbp + 0x30]
jmp 0x180032aff
mov eax, dword [rbp + 0x34]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x50]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0xd8]
mov r8d, 0x3000
mov r9d, 4
call fcn.1800335c0
cmp eax, 0xb
je 0x180032b62
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0xd8]
mov r8d, 0x3000
mov r9d, 4
call fcn.1800335c0
cmp eax, 0xb
jne 0x1800333bb
mov qword [rsp + 0xb8], rsi
mov r12, qword [rdi + 0x28]
mov r13, qword [rdi + 0x30]
test r13, r13
je 0x180032bb5
mov rsi, qword [rdi + 0x48]
lea rax, [r13*8]
lea rdi, [rax + rax*4]
xor ebx, ebx
nop dword [rax]
mov edx, dword [r12 + rbx + 0x14]
add rdx, rsi
mov ecx, dword [r12 + rbx + 0xc]
mov r8d, dword [r12 + rbx + 0x10]
add rcx, qword [rsp + 0x28]
call fcn.18008b440
add rbx, 0x28
cmp rdi, rbx
jne 0x180032b90
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0xb8]
test rsi, rsi
je 0x180032bdf
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp + 0x30]
mov rax, rdi
sub rax, rcx
jne 0x180032bf2
jmp 0x180032cc2
lea rdx, [rbp + 0x78]
mov ecx, dword [rbp + 0x34]
mov rax, rdi
sub rax, rcx
je 0x180032cc2
mov ecx, dword [rdx + 0x28]
test rcx, rcx
je 0x180032cc2
cmp dword [rdx + 0x2c], 0
je 0x180032cc2
add rcx, rdi
mov edx, 1
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x180032c33
jmp 0x180032cb4
xor r8d, r8d
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
je 0x180032cb4
cmp r8d, 0xa
jb 0x180032ca4
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 0x180032c68
inc r9
cmp r8, r9
je 0x180032ca0
movzx r10d, word [rcx + r9*2 + 8]
mov r11d, r10d
and r11d, 0xf000
cmp r11d, 0xa000
jne 0x180032c60
mov r11d, dword [rcx]
and r10d, 0xfff
add r10, r11
add qword [rdi + r10], rax
jmp 0x180032c60
mov r8d, dword [rcx + 4]
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x180032c33
cmp dword [rcx], 0
jne 0x180032c20
mov rdi, qword [rsp + 0x28]
mov rax, rsi
shl rax, 4
lea rcx, [rax + 0x78]
cmp dword [rbp + rax + 0x84], 0
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x98], r13
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0xf0], rcx
je 0x1800330a3
mov eax, dword [rbp + rcx + 8]
test rax, rax
je 0x1800330a3
mov qword [rsp + 0xa8], r15
add rax, rdi
lea rcx, [rdi + 2]
mov qword [rsp + 0xc8], rcx
mov rcx, rax
mov rax, rcx
mov esi, dword [rcx + 0xc]
test rsi, rsi
jne 0x180032d50
cmp dword [rax + 0x10], 0
jne 0x180032d50
cmp dword [rax], 0
jne 0x180032d50
cmp dword [rax + 4], 0
jne 0x180032d50
cmp dword [rax + 8], 0
je 0x180033089
nop word cs:[rax + rax]
mov qword [rsp + 0xc0], rax
add rsi, rdi
mov rcx, rsi
call fcn.180080400
lea r8, [rax + 1]
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1800790b0
cmp qword [rsp + 0x30], 0
jne 0x18003304e
mov rsi, qword [rsp + 0x40]
test rsi, rsi
js 0x180033468
mov rbp, qword [rsp + 0x38]
je 0x180032dc0
movzx eax, byte [0x1800b1b10]
mov r14d, 1
mov edx, 1
mov rcx, rsi
call fcn.1800326e0
test rax, rax
je 0x18003347b
mov r13, rax
jmp 0x180032dc6
mov r13d, 1
mov rcx, r13
mov rdx, rbp
mov r8, rsi
call fcn.18008b440
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0xe0], rax
lea rax, [0x180003ef0]
mov qword [rsp + 0xe8], rax
lea rax, [0x180093c00]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x30]
call fcn.18006e540
mov r14, qword [rsp + 0x88]
mov rcx, r14
call sub.kernel32.dll_LoadLibraryA
mov rsi, rax
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x180032e73
mov r8d, 1
mov rcx, r14
call fcn.1800326f0
test rsi, rsi
mov r14, rsi
cmove r14, r15
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x180032e97
mov rcx, qword [rsp + 0x68]
mov r8d, 1
call fcn.1800326f0
test rsi, rsi
je 0x18003306a
mov qword [rsp + 0xb0], r13
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rcx]
mov edx, dword [rcx + 0x10]
mov rcx, qword [rsp + 0x78]
add rdx, rcx
add rcx, rax
test rax, rax
mov qword [rsp + 0x100], rdx
cmove rcx, rdx
mov qword [rsp + 0xf8], rcx
mov rsi, qword [rcx]
test rsi, rsi
je 0x180033010
xor ebp, ebp
mov r15, qword [rsp + 0xc8]
jmp 0x180032f30
movzx edx, si
mov rcx, r14
call sub.kernel32.dll_GetProcAddress
mov rcx, rax
test rax, rax
je 0x180033060
mov rdx, qword [rsp + 0x100]
mov qword [rdx + rbp], rcx
mov rcx, qword [rsp + 0xf8]
mov rsi, qword [rcx + rbp + 8]
add rbp, 8
mov rbx, rax
test rsi, rsi
je 0x180033013
test rsi, rsi
js 0x180032ef0
cmp byte [r15 + rsi], 0
je 0x180033010
add rsi, r15
mov rcx, rsi
call fcn.180080400
lea r8, [rax + 1]
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1800790b0
cmp qword [rsp + 0x30], 0
jne 0x18003304e
mov rsi, qword [rsp + 0x40]
test rsi, rsi
js 0x18003343d
mov rdi, qword [rsp + 0x38]
je 0x180032fb0
movzx eax, byte [0x1800b1b10]
mov r15d, 1
mov edx, 1
mov rcx, rsi
call fcn.1800326e0
test rax, rax
je 0x180033450
mov r13, rax
mov r15, qword [rsp + 0xc8]
jmp 0x180032fb6
mov r13d, 1
mov rcx, r13
mov rdx, rdi
mov r8, rsi
call fcn.18008b440
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], rsi
lea rcx, [rsp + 0x60]
mov rdx, r14
lea r8, [rsp + 0x80]
call fcn.1800334c0
cmp dword [rsp + 0x60], 0
jne 0x180033055
mov rcx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x180032f07
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
add rcx, 0x14
mov rbx, rax
mov r15, r14
mov rbp, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x78]
mov rax, rcx
mov esi, dword [rcx + 0xc]
test rsi, rsi
jne 0x180032d50
jmp 0x180032d2a
mov eax, 5
jmp 0x18003306f
mov eax, dword [rsp + 0x64]
mov r15d, dword [rsp + 0x68]
jmp 0x18003306f
mov eax, 2
mov r15d, ebx
jmp 0x18003306f
mov eax, 1
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 4], eax
mov dword [rcx + 8], r15d
mov dword [rcx], 1
jmp 0x180033429
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov r15, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb8]
test rsi, rsi
je 0x180033310
cmp dword [rbp + 0xa4], 0
je 0x180033310
lea rax, [0x18008bd36]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
movabs rdx, 0x4ed0eec9e72b0f9b
mov qword [rsp + 0x30], rdx
mov rdx, qword [rsp + 0x30]
call fcn.180032800
mov rbx, qword [rax]
mov esi, dword [rax + 8]
movzx eax, byte [0x1800b1b10]
mov ecx, 0xc
mov edx, 1
call fcn.1800326e0
test rax, rax
je 0x180033493
xor esi, 0x5f880b97
movabs rcx, 0xa173eb793f8c781e
xor rbx, rcx
mov qword [rax], rbx
mov dword [rax + 8], esi
mov qword [rsp + 0x60], 0xc
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0xc
lea rax, [rsp + 0x60]
mov qword [rsp + 0xe0], rax
lea rax, [0x180003ef0]
mov qword [rsp + 0xe8], rax
lea rax, [0x180093c00]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
lea rcx, [rsp + 0x80]
lea r14, [rsp + 0x30]
mov rdx, r14
call fcn.18006e540
mov rsi, qword [rsp + 0x88]
mov rcx, rsi
call sub.kernel32.dll_LoadLibraryA
mov rbx, rax
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1800331d0
mov r8d, 1
mov rcx, rsi
call fcn.1800326f0
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1800331ea
mov rcx, qword [rsp + 0x68]
mov r8d, 1
call fcn.1800326f0
test rbx, rbx
je 0x180033310
mov r13, r15
lea rax, [0x18008d002]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
movabs rax, 0x1b9e3c1f5dc4bec8
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
call fcn.180032720
mov r15, qword [rax]
mov r14, qword [rax + 8]
movzx esi, word [rax + 0x10]
movzx ebp, byte [rax + 0x12]
movzx eax, byte [0x1800b1b10]
mov ecx, 0x13
mov edx, 1
call fcn.1800326e0
test rax, rax
je 0x1800334a2
shl ebp, 0x10
or esi, ebp
mov ecx, esi
shr ecx, 0x10
xor cl, 0xc9
mov edx, esi
shr edx, 8
xor dl, 0x71
xor sil, 0x17
movabs r8, 0xa46b859bf388cfc3
xor r14, r8
movabs r8, 0xfccc059c75f21d36
xor r15, r8
mov qword [rax], r15
mov qword [rax + 8], r14
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 + 0x80]
lea r8, [rsp + 0x30]
mov rdx, rbx
call fcn.1800334c0
cmp dword [rsp + 0x80], 0
je 0x1800332d5
mov r15, r13
mov rbp, qword [rsp + 0xa0]
jmp 0x180033308
mov rbp, qword [rsp + 0xa0]
mov ecx, dword [rbp + 0xa0]
mov eax, dword [rbp + 0xa4]
mov r8, qword [rsp + 0x78]
add rcx, r8
mov edx, 0xaaaaaaab
imul rdx, rax
shr rdx, 0x23
call qword [rsp + 0x88]
mov r15, r13
mov r13, qword [rsp + 0x98]
test r13, r13
je 0x1800333cc
shl r13, 3
lea rsi, [r13*4]
add rsi, r13
xor r14d, r14d
lea rdi, [rsp + 0x30]
lea rbx, [rsp + 0x80]
jmp 0x180033359
mov rcx, rdi
mov rdx, rbx
call fcn.180033910
cmp eax, 0xb
jne 0x1800333bb
add r14, 0x28
cmp rsi, r14
je 0x1800333cc
mov eax, dword [r12 + r14 + 0x10]
mov qword [rsp + 0x80], rax
test rax, rax
je 0x180033350
mov eax, dword [r12 + r14 + 0xc]
add rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov eax, dword [r12 + r14 + 0x24]
test eax, 0x20000000
jne 0x1800333a0
mov r8d, 1
test eax, 0x40000000
je 0x180033340
shr eax, 0x1f
lea r8d, [rax*2 + 2]
jmp 0x180033340
mov r8d, 0x10
test eax, 0x40000000
je 0x180033340
shr eax, 0x1a
and eax, 0xffffffe0
add eax, 0x20
mov r8d, eax
jmp 0x180033340
mov dword [r15 + 4], eax
mov dword [r15 + 8], edx
mov dword [r15], 1
jmp 0x180033429
mov rdi, qword [rsp + 0x28]
mov rax, qword [rsp + 0xf0]
cmp dword [rbp + rax + 0x4c], 0
je 0x18003341e
mov eax, dword [rbp + rax + 0x48]
test rax, rax
je 0x18003341e
mov rsi, qword [rdi + rax + 0x18]
mov rax, qword [rsi]
test rax, rax
je 0x18003341e
add rsi, 8
nop word [rax + rax]
mov rcx, rdi
mov edx, 2
xor r8d, r8d
call rax
mov rax, qword [rsi]
add rsi, 8
test rax, rax
jne 0x180033400
mov rdi, qword [rsp + 0x28]
mov qword [r15 + 8], rdi
mov dword [r15], 0
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r15d, r15d
mov rcx, r15
mov rdx, qword [rsp + 0xd0]
call fcn.18003e2b0
mov qword [rsp + 0xd0], rsi
mov rcx, r15
mov rdx, qword [rsp + 0xd0]
call fcn.18003e2b0
xor r14d, r14d
mov rcx, r14
mov rdx, qword [rsp + 0xb0]
call fcn.18003e2b0
mov qword [rsp + 0xb0], rsi
mov rcx, r14
mov rdx, qword [rsp + 0xb0]
call fcn.18003e2b0
mov ecx, 1
mov edx, 0xc
call fcn.18003e2b0
mov ecx, 1
mov edx, 0x13
call fcn.18003e2b0
int3