Function at 0x140038100
Capabilities:
Inspect section memory permissions

Disassembly:
test rdx, rdx
je 0x1400387bf
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
mov r8d, dword [rdx + 4]
xor r14d, r14d
mov r9, rcx
test r8d, r8d
jns 0x140038147
mov ecx, dword [rcx + 4]
test ecx, ecx
js 0x140038147
mov eax, dword [rdx + 0xc]
bts ecx, 0x1f
mov dword [r9 + 4], ecx
mov dword [r9 + 0xc], eax
mov r8d, dword [rdx + 4]
mov r10d, 0x10000000
test r10d, r8d
je 0x14003816d
mov ecx, dword [r9 + 4]
test r10d, ecx
jne 0x14003816d
mov eax, dword [rdx + 0x10]
or ecx, r10d
mov dword [r9 + 4], ecx
mov dword [r9 + 0x10], eax
mov r8d, dword [rdx + 4]
mov r10d, 0x8000000
test r10d, r8d
je 0x140038193
mov ecx, dword [r9 + 4]
test r10d, ecx
jne 0x140038193
mov al, byte [rdx + 0x18]
or ecx, r10d
mov byte [r9 + 0x18], al
mov dword [r9 + 4], ecx
mov r8d, dword [rdx + 4]
mov r10d, 0x400000
test r10d, r8d
je 0x1400381bb
mov ecx, dword [r9 + 4]
test r10d, ecx
jne 0x1400381bb
movzx eax, word [rdx + 0x5c]
or ecx, r10d
mov word [r9 + 0x5c], ax
mov dword [r9 + 4], ecx
mov r8d, dword [rdx + 4]
mov r10d, 0x200000
test r10d, r8d
je 0x1400381e3
mov ecx, dword [r9 + 4]
test r10d, ecx
jne 0x1400381e3
movzx eax, word [rdx + 0x5e]
or ecx, r10d
mov word [r9 + 0x5e], ax
mov dword [r9 + 4], ecx
mov r8d, dword [rdx + 4]
mov r10d, 0x2000000
test r10d, r8d
je 0x140038209
mov ecx, dword [r9 + 4]
test r10d, ecx
jne 0x140038209
mov eax, dword [rdx + 0x64]
or ecx, r10d
mov dword [r9 + 4], ecx
mov dword [r9 + 0x64], eax
mov r8d, dword [rdx + 4]
mov r10d, 0x80000
test r10d, r8d
je 0x140038231
mov ecx, dword [r9 + 4]
test r10d, ecx
jne 0x140038231
movzx eax, word [rdx + 0x6c]
or ecx, r10d
mov word [r9 + 0x6c], ax
mov dword [r9 + 4], ecx
mov r8d, dword [rdx + 4]
mov r10d, 0x100000
test r10d, r8d
je 0x140038259
mov ecx, dword [r9 + 4]
test r10d, ecx
jne 0x140038259
movzx eax, word [rdx + 0x6e]
or ecx, r10d
mov word [r9 + 0x6e], ax
mov dword [r9 + 4], ecx
mov r8d, dword [rdx + 4]
mov r10d, 0x800000
test r10d, r8d
je 0x14003827f
mov ecx, dword [r9 + 4]
test r10d, ecx
jne 0x14003827f
mov al, byte [rdx + 0x70]
or ecx, r10d
mov byte [r9 + 0x70], al
mov dword [r9 + 4], ecx
mov r8d, dword [rdx + 4]
mov r10d, 0x40000
test r10d, r8d
je 0x1400382a5
mov ecx, dword [r9 + 4]
test r10d, ecx
jne 0x1400382a5
mov al, byte [rdx + 0x71]
or ecx, r10d
mov byte [r9 + 0x71], al
mov dword [r9 + 4], ecx
mov r8d, dword [rdx + 4]
mov r10d, 0x8000
test r10d, r8d
je 0x1400382cb
mov ecx, dword [r9 + 4]
test r10d, ecx
jne 0x1400382cb
mov al, byte [rdx + 0x72]
or ecx, r10d
mov byte [r9 + 0x72], al
mov dword [r9 + 4], ecx
mov r8d, dword [rdx + 4]
mov r11d, 0x20000000
test r11d, r8d
je 0x14003832e
test dword [r9 + 4], r11d
jne 0x14003832e
lea rcx, [r9 + 0x1a]
mov r10, rdx
sub r10, rcx
mov r8d, 0x20
lea rax, [r8 + 0x7fffffde]
test rax, rax
je 0x140038310
movzx eax, word [r10 + rcx + 0x1a]
test ax, ax
je 0x140038310
mov word [rcx], ax
add rcx, 2
sub r8, 1
jne 0x1400382ec
test r8, r8
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
mov al, byte [rdx + 0x19]
or dword [r9 + 4], r11d
mov byte [r9 + 0x19], al
mov r8d, dword [rdx + 4]
mov ebx, dword [r9 + 8]
mov ecx, ebx
mov esi, dword [r9 + 4]
mov eax, ebx
or eax, esi
mov r10d, esi
bt eax, 0x1a
mov edi, esi
mov r11d, ebx
jb 0x14003837c
mov ebp, 0x4000000
test dword [rdx + 8], ebp
je 0x14003835b
or ecx, ebp
or r10d, ebp
jmp 0x14003836e
test ebp, r8d
je 0x14003837c
mov eax, dword [rdx + 0x60]
or r10d, ebp
btr ecx, 0x1a
mov dword [r9 + 0x60], eax
mov r11d, ecx
mov dword [r9 + 8], ecx
mov edi, r10d
mov dword [r9 + 4], r10d
mov eax, ecx
mov r8d, r10d
or eax, r10d
mov ebx, ecx
bt eax, 0x1e
jb 0x1400383be
mov esi, 0x40000000
test dword [rdx + 8], esi
je 0x14003839d
or r8d, esi
or ebx, esi
jmp 0x1400383b0
test dword [rdx + 4], esi
je 0x1400383be
mov eax, dword [rdx + 0x14]
or r8d, esi
btr ebx, 0x1e
mov dword [r9 + 0x14], eax
mov r11d, ebx
mov dword [r9 + 8], ebx
mov edi, r8d
mov dword [r9 + 4], r8d
mov eax, dword [rdx + 4]
mov ecx, r8d
mov r10d, edi
test al, 0x40
je 0x1400383fa
test r8b, 0x40
jne 0x1400383fa
mov ecx, dword [rdx + 8]
mov eax, ebx
and eax, 0xffffffbf
mov r11d, ebx
or r11d, 0x40
and cl, 0x40
mov ecx, edi
cmove r11d, eax
or ecx, 0x40
mov dword [r9 + 4], ecx
mov r10d, ecx
mov dword [r9 + 8], r11d
mov eax, dword [rdx + 4]
mov esi, 0x80
mov ebx, ecx
mov r8d, r11d
mov edi, r10d
test sil, al
je 0x140038437
test sil, cl
jne 0x140038437
mov ecx, dword [rdx + 8]
or r8d, esi
mov eax, r11d
mov ebx, r10d
btr eax, 7
and cl, sil
cmove r8d, eax
or ebx, esi
mov dword [r9 + 4], ebx
mov edi, ebx
mov dword [r9 + 8], r8d
mov eax, dword [rdx + 4]
mov r11d, 0x100
mov ecx, ebx
mov r10d, r8d
mov esi, edi
test r11d, eax
je 0x140038474
test r11d, ebx
jne 0x140038474
mov ecx, dword [rdx + 8]
or r10d, r11d
mov eax, r8d
btr eax, 8
and ecx, r11d
mov ecx, edi
cmove r10d, eax
or ecx, r11d
mov dword [r9 + 4], ecx
mov esi, ecx
mov dword [r9 + 8], r10d
mov eax, dword [rdx + 4]
mov edi, 0x200
mov r11d, ecx
mov r8d, r10d
mov ebx, esi
test edi, eax
je 0x1400384b0
test edi, ecx
jne 0x1400384b0
mov ecx, dword [rdx + 8]
or r8d, edi
mov eax, r10d
mov r11d, esi
btr eax, 9
and ecx, edi
cmove r8d, eax
or r11d, edi
mov dword [r9 + 4], r11d
mov ebx, r11d
mov dword [r9 + 8], r8d
mov eax, dword [rdx + 4]
mov esi, COleDropTarget::XDropTarget::AddRef
mov ecx, r11d
mov r10d, r8d
mov edi, ebx
test esi, eax
je 0x1400384ea
test esi, r11d
jne 0x1400384ea
mov ecx, dword [rdx + 8]
or r10d, esi
mov eax, r8d
btr eax, 0xa
and ecx, esi
mov ecx, ebx
cmove r10d, eax
or ecx, esi
mov dword [r9 + 4], ecx
mov edi, ecx
mov dword [r9 + 8], r10d
mov eax, dword [rdx + 4]
mov esi, 0x800
mov r11d, ecx
mov r8d, r10d
mov ebx, edi
test esi, eax
je 0x140038526
test esi, ecx
jne 0x140038526
mov ecx, dword [rdx + 8]
or r8d, esi
mov eax, r10d
mov r11d, edi
btr eax, 0xb
and ecx, esi
cmove r8d, eax
or r11d, esi
mov dword [r9 + 4], r11d
mov ebx, r11d
mov dword [r9 + 8], r8d
mov eax, dword [rdx + 4]
mov esi, 0x1000
mov ecx, r11d
mov r10d, r8d
mov edi, ebx
test esi, eax
je 0x140038560
test esi, r11d
jne 0x140038560
mov ecx, dword [rdx + 8]
or r10d, esi
mov eax, r8d
btr eax, 0xc
and ecx, esi
mov ecx, ebx
cmove r10d, eax
or ecx, esi
mov dword [r9 + 4], ecx
mov edi, ecx
mov dword [r9 + 8], r10d
mov eax, dword [rdx + 4]
mov r8d, 0x2000
mov ebx, ecx
mov r11d, r10d
mov esi, edi
test r8d, eax
je 0x14003859d
test r8d, ecx
jne 0x14003859d
mov ecx, dword [rdx + 8]
or r11d, r8d
mov eax, r10d
mov ebx, edi
btr eax, 0xd
and ecx, r8d
cmove r11d, eax
or ebx, r8d
mov dword [r9 + 4], ebx
mov esi, ebx
mov dword [r9 + 8], r11d
mov eax, dword [rdx + 4]
mov r10d, 0x4000
mov ecx, ebx
mov r8d, r11d
mov edi, esi
test r10d, eax
je 0x1400385da
test r10d, ebx
jne 0x1400385da
mov ecx, dword [rdx + 8]
or r8d, r10d
mov eax, r11d
btr eax, 0xe
and ecx, r10d
mov ecx, esi
cmove r8d, eax
or ecx, r10d
mov dword [r9 + 4], ecx
mov edi, ecx
mov dword [r9 + 8], r8d
mov eax, dword [rdx + 4]
mov r11d, ecx
mov r10d, r8d
mov ebx, edi
test al, 1
je 0x140038614
test cl, 1
jne 0x140038614
mov ecx, dword [rdx + 8]
or r10d, 1
mov eax, r8d
mov r11d, edi
and eax, 0xfffffffe
and cl, 1
cmove r10d, eax
or r11d, 1
mov dword [r9 + 4], r11d
mov ebx, r11d
mov dword [r9 + 8], r10d
mov eax, dword [rdx + 4]
mov ecx, r11d
mov r8d, r10d
mov edi, ebx
test al, 2
je 0x14003864c
test r11b, 2
jne 0x14003864c
mov ecx, dword [rdx + 8]
or r8d, 2
mov eax, r10d
and eax, 0xfffffffd
and cl, 2
mov ecx, ebx
cmove r8d, eax
or ecx, 2
mov dword [r9 + 4], ecx
mov edi, ecx
mov dword [r9 + 8], r8d
mov eax, dword [rdx + 4]
mov ebx, ecx
mov r10d, r8d
mov esi, edi
test al, 4
je 0x140038682
test cl, 4
jne 0x140038682
mov ecx, dword [rdx + 8]
or r10d, 4
mov eax, r8d
mov ebx, edi
and eax, 0xfffffffb
and cl, 4
cmove r10d, eax
or ebx, 4
mov dword [r9 + 4], ebx
mov esi, ebx
mov dword [r9 + 8], r10d
mov eax, dword [rdx + 4]
mov ecx, ebx
mov r11d, r10d
mov ebp, esi
test al, 8
je 0x1400386b8
test bl, 8
jne 0x1400386b8
mov ecx, dword [rdx + 8]
or r11d, 8
mov eax, r10d
and eax, 0xfffffff7
and cl, 8
mov ecx, esi
cmove r11d, eax
or ecx, 8
mov dword [r9 + 4], ecx
mov ebp, ecx
mov dword [r9 + 8], r11d
mov eax, dword [rdx + 4]
mov r10d, ecx
mov r8d, r11d
mov edi, ebp
test al, 0x10
je 0x1400386f2
test cl, 0x10
jne 0x1400386f2
mov ecx, dword [rdx + 8]
or r8d, 0x10
mov eax, r11d
mov r10d, ebp
and eax, 0xffffffef
and cl, 0x10
cmove r8d, eax
or r10d, 0x10
mov dword [r9 + 4], r10d
mov edi, r10d
mov dword [r9 + 8], r8d
mov eax, dword [rdx + 4]
mov ecx, r10d
mov r11d, r8d
mov ebx, edi
test al, 0x20
je 0x14003872a
test r10b, 0x20
jne 0x14003872a
mov ecx, dword [rdx + 8]
or r11d, 0x20
mov eax, r8d
and eax, 0xffffffdf
and cl, 0x20
mov ecx, edi
cmove r11d, eax
or ecx, 0x20
mov dword [r9 + 4], ecx
mov ebx, ecx
mov dword [r9 + 8], r11d
mov eax, dword [rdx + 4]
mov esi, 0x10000
mov r10d, ecx
mov r8d, r11d
mov edi, ebx
test esi, eax
je 0x140038766
test esi, ecx
jne 0x140038766
mov ecx, dword [rdx + 8]
or r8d, esi
mov eax, r11d
mov r10d, ebx
btr eax, 0x10
and ecx, esi
cmove r8d, eax
or r10d, esi
mov dword [r9 + 4], r10d
mov edi, r10d
mov dword [r9 + 8], r8d
mov eax, dword [rdx + 4]
mov r11d, 0x20000
mov ecx, r10d
test r11d, eax
je 0x14003879a
test r11d, r10d
jne 0x14003879a
mov ecx, dword [rdx + 8]
mov eax, r8d
btr eax, 0x11
or r8d, r11d
and ecx, r11d
mov ecx, edi
cmove r8d, eax
or ecx, r11d
mov dword [r9 + 4], ecx
mov dword [r9 + 8], r8d
mov eax, 0x30000
test eax, ecx
je 0x1400387a9
or ecx, eax
mov dword [r9 + 4], ecx
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret