Function at 0x180034e20
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 0x180034e4c
mov rax, qword [rbp + 0x30]
jmp 0x180034e4f
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.180035910
cmp eax, 0xb
je 0x180034eb2
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0xd8]
mov r8d, 0x3000
mov r9d, 4
call fcn.180035910
cmp eax, 0xb
jne 0x18003570b
mov qword [rsp + 0xb8], rsi
mov r12, qword [rdi + 0x28]
mov r13, qword [rdi + 0x30]
test r13, r13
je 0x180034f05
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.18008d9a0
add rbx, 0x28
cmp rdi, rbx
jne 0x180034ee0
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0xb8]
test rsi, rsi
je 0x180034f2f
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp + 0x30]
mov rax, rdi
sub rax, rcx
jne 0x180034f42
jmp 0x180035012
lea rdx, [rbp + 0x78]
mov ecx, dword [rbp + 0x34]
mov rax, rdi
sub rax, rcx
je 0x180035012
mov ecx, dword [rdx + 0x28]
test rcx, rcx
je 0x180035012
cmp dword [rdx + 0x2c], 0
je 0x180035012
add rcx, rdi
mov edx, 1
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x180034f83
jmp 0x180035004
xor r8d, r8d
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
je 0x180035004
cmp r8d, 0xa
jb 0x180034ff4
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 0x180034fb8
inc r9
cmp r8, r9
je 0x180034ff0
movzx r10d, word [rcx + r9*2 + 8]
mov r11d, r10d
and r11d, 0xf000
cmp r11d, 0xa000
jne 0x180034fb0
mov r11d, dword [rcx]
and r10d, 0xfff
add r10, r11
add qword [rdi + r10], rax
jmp 0x180034fb0
mov r8d, dword [rcx + 4]
add rcx, r8
mov r8d, dword [rcx + 4]
test r8, r8
jne 0x180034f83
cmp dword [rcx], 0
jne 0x180034f70
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 0x1800353f3
mov eax, dword [rbp + rcx + 8]
test rax, rax
je 0x1800353f3
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 0x1800350a0
cmp dword [rax + 0x10], 0
jne 0x1800350a0
cmp dword [rax], 0
jne 0x1800350a0
cmp dword [rax + 4], 0
jne 0x1800350a0
cmp dword [rax + 8], 0
je 0x1800353d9
nop word cs:[rax + rax]
mov qword [rsp + 0xc0], rax
add rsi, rdi
mov rcx, rsi
call fcn.180082960
lea r8, [rax + 1]
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.18007b610
cmp qword [rsp + 0x30], 0
jne 0x18003539e
mov rsi, qword [rsp + 0x40]
test rsi, rsi
js 0x1800357b8
mov rbp, qword [rsp + 0x38]
je 0x180035110
movzx eax, byte [0x1800b4b10]
mov r14d, 1
mov edx, 1
mov rcx, rsi
call fcn.180034a30
test rax, rax
je 0x1800357cb
mov r13, rax
jmp 0x180035116
mov r13d, 1
mov rcx, r13
mov rdx, rbp
mov r8, rsi
call fcn.18008d9a0
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, [0x1800040a0]
mov qword [rsp + 0xe8], rax
lea rax, [0x180096c00]
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.180070aa0
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 0x1800351c3
mov r8d, 1
mov rcx, r14
call fcn.180034a40
test rsi, rsi
mov r14, rsi
cmove r14, r15
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1800351e7
mov rcx, qword [rsp + 0x68]
mov r8d, 1
call fcn.180034a40
test rsi, rsi
je 0x1800353ba
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 0x180035360
xor ebp, ebp
mov r15, qword [rsp + 0xc8]
jmp 0x180035280
movzx edx, si
mov rcx, r14
call sub.kernel32.dll_GetProcAddress
mov rcx, rax
test rax, rax
je 0x1800353b0
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 0x180035363
test rsi, rsi
js 0x180035240
cmp byte [r15 + rsi], 0
je 0x180035360
add rsi, r15
mov rcx, rsi
call fcn.180082960
lea r8, [rax + 1]
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.18007b610
cmp qword [rsp + 0x30], 0
jne 0x18003539e
mov rsi, qword [rsp + 0x40]
test rsi, rsi
js 0x18003578d
mov rdi, qword [rsp + 0x38]
je 0x180035300
movzx eax, byte [0x1800b4b10]
mov r15d, 1
mov edx, 1
mov rcx, rsi
call fcn.180034a30
test rax, rax
je 0x1800357a0
mov r13, rax
mov r15, qword [rsp + 0xc8]
jmp 0x180035306
mov r13d, 1
mov rcx, r13
mov rdx, rdi
mov r8, rsi
call fcn.18008d9a0
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.180035810
cmp dword [rsp + 0x60], 0
jne 0x1800353a5
mov rcx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x180035257
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 0x1800350a0
jmp 0x18003507a
mov eax, 5
jmp 0x1800353bf
mov eax, dword [rsp + 0x64]
mov r15d, dword [rsp + 0x68]
jmp 0x1800353bf
mov eax, 2
mov r15d, ebx
jmp 0x1800353bf
mov eax, 1
mov rcx, qword [rsp + 0xa8]
mov dword [rcx + 4], eax
mov dword [rcx + 8], r15d
mov dword [rcx], 1
jmp 0x180035779
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov r15, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb8]
test rsi, rsi
je 0x180035660
cmp dword [rbp + 0xa4], 0
je 0x180035660
lea rax, [0x18008ed36]
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.180034b50
mov rbx, qword [rax]
mov esi, dword [rax + 8]
movzx eax, byte [0x1800b4b10]
mov ecx, 0xc
mov edx, 1
call fcn.180034a30
test rax, rax
je 0x1800357e3
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, [0x1800040a0]
mov qword [rsp + 0xe8], rax
lea rax, [0x180096c00]
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.180070aa0
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 0x180035520
mov r8d, 1
mov rcx, rsi
call fcn.180034a40
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x18003553a
mov rcx, qword [rsp + 0x68]
mov r8d, 1
call fcn.180034a40
test rbx, rbx
je 0x180035660
mov r13, r15
lea rax, [0x180090002]
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.180034a70
mov r15, qword [rax]
mov r14, qword [rax + 8]
movzx esi, word [rax + 0x10]
movzx ebp, byte [rax + 0x12]
movzx eax, byte [0x1800b4b10]
mov ecx, 0x13
mov edx, 1
call fcn.180034a30
test rax, rax
je 0x1800357f2
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.180035810
cmp dword [rsp + 0x80], 0
je 0x180035625
mov r15, r13
mov rbp, qword [rsp + 0xa0]
jmp 0x180035658
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 0x18003571c
shl r13, 3
lea rsi, [r13*4]
add rsi, r13
xor r14d, r14d
lea rdi, [rsp + 0x30]
lea rbx, [rsp + 0x80]
jmp 0x1800356a9
mov rcx, rdi
mov rdx, rbx
call fcn.180035c60
cmp eax, 0xb
jne 0x18003570b
add r14, 0x28
cmp rsi, r14
je 0x18003571c
mov eax, dword [r12 + r14 + 0x10]
mov qword [rsp + 0x80], rax
test rax, rax
je 0x1800356a0
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 0x1800356f0
mov r8d, 1
test eax, 0x40000000
je 0x180035690
shr eax, 0x1f
lea r8d, [rax*2 + 2]
jmp 0x180035690
mov r8d, 0x10
test eax, 0x40000000
je 0x180035690
shr eax, 0x1a
and eax, 0xffffffe0
add eax, 0x20
mov r8d, eax
jmp 0x180035690
mov dword [r15 + 4], eax
mov dword [r15 + 8], edx
mov dword [r15], 1
jmp 0x180035779
mov rdi, qword [rsp + 0x28]
mov rax, qword [rsp + 0xf0]
cmp dword [rbp + rax + 0x4c], 0
je 0x18003576e
mov eax, dword [rbp + rax + 0x48]
test rax, rax
je 0x18003576e
mov rsi, qword [rdi + rax + 0x18]
mov rax, qword [rsi]
test rax, rax
je 0x18003576e
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 0x180035750
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.180040620
mov qword [rsp + 0xd0], rsi
mov rcx, r15
mov rdx, qword [rsp + 0xd0]
call fcn.180040620
xor r14d, r14d
mov rcx, r14
mov rdx, qword [rsp + 0xb0]
call fcn.180040620
mov qword [rsp + 0xb0], rsi
mov rcx, r14
mov rdx, qword [rsp + 0xb0]
call fcn.180040620
mov ecx, 1
mov edx, 0xc
call fcn.180040620
mov ecx, 1
mov edx, 0x13
call fcn.180040620
int3