Function at 0x6dbd9e20
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6dbda4b3
sub esp, 0x5c
mov edx, dword [0x6dd84074]
mov eax, dword [edx]
mov dword [esp], 0
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
call fcn.6dbd96c0
mov eax, dword [esp]
mov ecx, dword [esp + 0x3c]
cmp ecx, 1
jb 0x6dbda49f
mov dword [esp + 0x18], eax
mov edx, dword [0x6dd84074]
mov eax, dword [edx]
mov dword [esp], 1
call eax
mov eax, dword [esp + 0x10]
test eax, 0x8000
setne cl
mov ebx, dword [esp + 0xc]
movzx ecx, cl
test eax, 0x800000
je 0x6dbd9e99
or ecx, 0x10
test eax, 0x2000000
je 0x6dbd9ea8
or ecx, 0x20
test eax, 0x2000000
je 0x6dbd9ead
or ecx, 0x40
test eax, 0x4000000
je 0x6dbd9eba
or ecx, 0x80
test ebx, 1
je 0x6dbd9ec8
or ecx, 0x100
test ebx, 0x20
je 0x6dbd9ed7
mov edx, 0x8000000
jmp 0x6dbd9ed9
xor edx, edx
test ebx, 0x200
je 0x6dbd9ee7
or ecx, 0x200
test ebx, 0x80000
je 0x6dbd9ef5
or ecx, 0x400
test ebx, 0x100000
je 0x6dbd9f03
or ecx, 0x1000
test ebx, 0x2000000
je 0x6dbd9f11
or ecx, 0x1000000
test ebx, 2
je 0x6dbd9f1f
or ecx, 0x2000000
test ebx, 0x800000
je 0x6dbd9f2d
or ecx, 0x800000
test ebx, 0x40000000
je 0x6dbd9f3b
or ecx, 0x20000000
test ebx, 0x20000000
je 0x6dbd9f49
or ecx, 0x40000
test ebx, 0x2000
je 0x6dbd9f57
or edx, 0x400000
mov dword [esp + 0x38], ebx
mov dword [esp + 0x20], edx
mov ebp, dword [esp + 0x18]
cmp ebp, 1
jne 0x6dbd9fb7
test eax, 0x10000000
je 0x6dbd9fb1
mov esi, dword [esp + 0x3c]
cmp esi, 4
jb 0x6dbd9fbb
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ecx
call fcn.6dbd9300
cmp dword [esp], 1
jle 0x6dbd9f97
mov ecx, dword [esp + 0x1c]
or ecx, 0x4000000
jmp 0x6dbd9f9b
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x3c]
jmp 0x6dbd9fbb
mov esi, dword [esp + 0x3c]
jmp 0x6dbd9fbb
mov esi, dword [esp + 0x3c]
cmp ebp, 2
jne 0x6dbd9ffb
test eax, 0x10000000
je 0x6dbd9ffb
cmp esi, 4
jb 0x6dbd9ffb
mov dword [esp + 0x58], ecx
call fcn.6dbd9300
cmp dword [esp], 1
jle 0x6dbd9fe7
mov ecx, dword [esp + 0x58]
or ecx, 0x4000000
jmp 0x6dbd9feb
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x3c]
test ebx, 0x4000000
je 0x6dbda06b
test ebx, 0x8000000
je 0x6dbda06b
test ebx, 0x10000000
je 0x6dbda06b
mov dword [esp + 0x54], ecx
mov edx, dword [0x6dd8408c]
mov eax, dword [edx]
mov dword [esp], 0
call eax
mov eax, dword [esp + 4]
and eax, 6
cmp eax, 6
jne 0x6dbda057
mov eax, dword [esp + 0x54]
mov ecx, eax
or eax, 0x2000
mov ebx, dword [esp + 0x38]
test ebx, 0x1000
je 0x6dbda053
or ecx, 0xa000
jmp 0x6dbda05f
mov ecx, eax
jmp 0x6dbda05f
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x3c]
cmp esi, 7
jb 0x6dbda30d
mov dword [esp + 0x50], ecx
mov edx, dword [0x6dd84078]
mov eax, dword [edx]
mov dword [esp], 7
mov dword [esp + 4], 0
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
mov edx, dword [0x6dd84078]
mov ebp, dword [edx]
mov dword [esp], 7
mov dword [esp + 4], 1
call ebp
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x50]
test ecx, 0x2000
je 0x6dbda0e6
mov ebx, dword [esp + 0x2c]
test ebx, 0x20
je 0x6dbda0ea
or ecx, 0x4000
jmp 0x6dbda0ea
mov ebx, dword [esp + 0x2c]
test ebx, 8
je 0x6dbda10e
mov ebp, ecx
or ecx, 0x80000
test ebx, 0x100
je 0x6dbda10a
or ebp, 0x180000
jmp 0x6dbda110
mov ebp, ecx
jmp 0x6dbda110
mov ebp, ecx
test ebx, 4
je 0x6dbda124
mov edx, dword [esp + 0x20]
or edx, 0x800000
jmp 0x6dbda128
mov edx, dword [esp + 0x20]
test ebx, 0x10
je 0x6dbda136
or ebp, 0x8000000
test ebx, 0x200
je 0x6dbda144
or edx, 0x100000
test ebx, 0x800
je 0x6dbda152
or ebp, 0x10000000
test ebx, 0x4000
je 0x6dbda160
or edx, 0x80000
test ebx, 0x40000
je 0x6dbda16e
or ebp, 0x40000000
test ebx, 0x80000
je 0x6dbda17c
or ebp, 0x80000000
test ebx, 0x20000000
je 0x6dbda187
or edx, 1
mov ecx, dword [esp + 0x24]
test ecx, 0x4000000
je 0x6dbda199
or edx, 0x2000000
mov esi, dword [esp + 0x28]
test esi, 0x40000000
je 0x6dbda1ab
or edx, 0x1000000
test ecx, 0x8000000
je 0x6dbda1b9
or edx, 0x4000000
mov edi, dword [esp + 0x38]
and edi, 0xc000000
cmp edi, 0xc000000
jne 0x6dbda30b
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], edx
mov edx, dword [0x6dd8408c]
mov eax, dword [edx]
mov dword [esp], 0
call eax
mov eax, dword [esp + 4]
mov ecx, eax
shr eax, 5
and eax, 7
cmp eax, 7
jne 0x6dbda303
shr ecx, 1
and ecx, 3
cmp ecx, 3
jne 0x6dbda303
mov eax, dword [esp + 0x2c]
test eax, 0x10000
je 0x6dbda223
mov edx, dword [esp + 0x48]
or edx, 2
jmp 0x6dbda227
mov edx, dword [esp + 0x48]
test eax, 0x20000
je 0x6dbda231
or edx, 4
test eax, 0x200000
je 0x6dbda23b
or edx, 8
test eax, 0x4000000
je 0x6dbda245
or edx, 0x10
test eax, 0x8000000
je 0x6dbda24f
or edx, 0x20
test eax, 0x10000000
je 0x6dbda259
or edx, 0x40
test eax, 0x40000000
je 0x6dbda266
or edx, 0x80
test eax, 0x80000000
je 0x6dbda273
or edx, 0x100
mov eax, dword [esp + 0x28]
test eax, 2
je 0x6dbda284
or edx, 0x200
test eax, 0x40
je 0x6dbda291
or edx, 0x400
test eax, 0x100
je 0x6dbda29e
or edx, 0x2000
test eax, 0x200
je 0x6dbda2ab
or edx, 0x4000
test eax, 0x400
je 0x6dbda2b8
or edx, 0x10000
test eax, 0x800
je 0x6dbda2c5
or edx, 0x800
test eax, 0x1000
je 0x6dbda2d2
or edx, 0x8000
test eax, 0x4000
je 0x6dbda2df
or edx, 0x1000
mov eax, dword [esp + 0x24]
test eax, 0x100
je 0x6dbda2f0
or edx, 0x40000
mov eax, dword [esp + 0x30]
test eax, 0x20
je 0x6dbda307
or edx, 0x20000
jmp 0x6dbda307
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov ecx, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [0x6dd84074]
mov ebx, dword [eax]
mov dword [esp], 0x80000000
mov edx, eax
call ebx
cmp dword [esp + 4], 0x80000001
jae 0x6dbda33f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x6dbda493
mov edx, dword [0x6dd84074]
mov eax, dword [edx]
mov dword [esp], 0x80000001
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, 0x20
je 0x6dbda36c
mov edx, dword [esp + 0x1c]
or edx, 0xc00000
jmp 0x6dbda370
mov edx, dword [esp + 0x1c]
test eax, 0x80000000
je 0x6dbda37a
or edx, 4
test eax, 0x40000000
je 0x6dbda384
or edx, 8
test eax, 0x800000
je 0x6dbda38e
or edx, 0x10
test eax, 0x400000
je 0x6dbda398
or edx, 0x20
mov ebx, ecx
and ecx, 0x40
test ecx, ecx
je 0x6dbda3a7
or edx, 0x800
test eax, 0x100000
je 0x6dbda3b1
or edx, 2
test eax, 0x8000000
je 0x6dbda3ca
mov eax, dword [esp + 0x20]
or eax, 0x200000
mov ebp, dword [esp + 0x18]
cmp ebp, 1
jmp 0x6dbda3d7
mov eax, dword [esp + 0x18]
cmp eax, 1
mov ebp, eax
mov eax, dword [esp + 0x20]
je 0x6dbda3ea
test edx, 0x80
je 0x6dbda3ea
test ecx, ecx
jne 0x6dbda3ea
or eax, 0x10000000
test edx, 0x2000
je 0x6dbda418
test ebx, 0x800
je 0x6dbda400
or edx, 0x20000
test ebx, 0x10000
je 0x6dbda413
or edx, 0x10000
cmp ebp, 1
jmp 0x6dbda41b
cmp ebp, 1
jmp 0x6dbda41b
cmp ebp, 1
jne 0x6dbda493
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
call fcn.6dbd9520
mov eax, dword [esp + 4]
mov ecx, dword [esp]
cmp ecx, 6
jne 0x6dbda47c
cmp eax, 9
je 0x6dbda445
cmp eax, 0xd
je 0x6dbda445
cmp eax, 0xe
jne 0x6dbda479
mov edx, dword [esp + 0x44]
test edx, 0x80
je 0x6dbda45d
mov ebx, dword [esp + 0x40]
or ebx, 0x10000000
jmp 0x6dbda461
mov ebx, dword [esp + 0x40]
test edx, 0x100
je 0x6dbda474
or ebx, 0x20000000
cmp ecx, 6
jmp 0x6dbda484
cmp ecx, 6
jmp 0x6dbda484
cmp ecx, 6
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
jne 0x6dbda491
cmp eax, 0x1c
jne 0x6dbda491
or ebx, 0x40000000
mov eax, ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], edx
add esp, 0x5c
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
add esp, 0x5c
ret
call fcn.6db22180
jmp fcn.6dbd9e20