Function at 0x10006930
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x10], 0
mov esi, edx
mov dword [ebp - 8], eax
push edi
mov edi, dword [ebp + 8]
mov byte [ebp - 1], 0
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x28], ecx
mov ecx, eax
mov dword [ebp - 0x24], 0
call fcn.10007e70
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10006f30
movzx ecx, word [eax]
lea eax, [ecx*8]
sub eax, ecx
add eax, 0x100dab90
cmp dword [esi + 0x18], 1
mov dword [ebp - 0x20], eax
movzx eax, byte [eax]
mov ebx, dword [eax*4 + 0x100d2d38]
jne 0x100069c6
mov eax, dword [esi]
test eax, 0x2000
je 0x100069c6
cmp dword [esi + 0x20], 0
jne 0x100069c6
test byte [ebp - 0x1c], 8
je 0x100069c6
and eax, 0xffffdfff
mov dword [esi], eax
mov ecx, dword [esi + 0x38]
cmp ecx, 0xffffffff
je 0x100069c6
movzx eax, word [esi + 0x1c]
bts eax, ecx
mov word [esi + 0x1c], ax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x14], edx
cmp edx, 2
jne 0x100069dc
test ebx, 0x800000
jmp 0x100069e2
test ebx, 0x8000000
jne 0x10006f30
test bl, 1
je 0x10006a31
mov eax, ebx
not eax
test eax, 0x40000000
je 0x10006a05
inc dword [ecx + 0x10]
add dword [ecx + 0x14], 0xffffffff
js 0x10006f30
mov eax, dword [ecx + 0x10]
movzx eax, byte [eax]
mov dword [ebp - 0x10], eax
test ebx, 0x10000000
je 0x10006a1e
test al, 0x38
jne 0x10006f30
test ebx, 0x100000
je 0x10006a31
cmp eax, 0xc0
jb 0x10006f30
inc dword [ecx + 0x10]
mov eax, edx
mov ecx, dword [esi]
mov dword [ebp - 0xc], eax
test ecx, 0x2000
je 0x10006a4f
mov eax, dword [eax*4 + 0x100cff00]
mov dword [ebp - 0xc], eax
jmp 0x10006a80
cmp eax, 2
jne 0x10006a80
mov eax, ebx
and eax, 0x3000000
cmp eax, 0x1000000
je 0x10006a79
test ecx, 0x2000000
je 0x10006a70
test byte [ebp - 0x1c], 8
jne 0x10006a79
mov dword [ebp - 0xc], 1
jmp 0x10006a80
mov dword [ebp - 0xc], 2
test ecx, 0x4000
je 0x10006a92
mov edx, dword [edx*4 + 0x100cff0c]
mov dword [ebp - 0x14], edx
push 0x40
push 0
push edi
call fcn.10024d90
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov byte [edi + 0x32], 0xff
mov al, byte [eax + 2]
test al, al
je 0x10006b81
lea ecx, [ebp - 0x24]
movzx eax, al
push ecx
push dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, edi
push dword [ebp - 0xc]
push esi
push dword [ebp - 0x10]
push 0
push eax
push ebx
push dword [ebp - 0x18]
call fcn.10008c80
add esp, 0x24
test eax, eax
je 0x10006f30
mov eax, dword [ebp - 0x20]
mov al, byte [eax + 1]
test al, al
je 0x10006b81
mov ecx, dword [ebp - 8]
mov edx, edi
push 0
push dword [ebp - 0x14]
movzx eax, al
push dword [ebp - 0xc]
push esi
push dword [ebp - 0x10]
push 1
push eax
push ebx
push dword [ebp - 0x18]
call fcn.10008c80
add esp, 0x24
test eax, eax
je 0x10006f30
test ebx, 0x20000
je 0x10006b81
mov ecx, dword [ebp - 0x18]
mov edx, edi
push 0
push dword [ebp - 0x14]
push dword [ebp - 0xc]
movzx eax, byte [ecx + 5]
push esi
push dword [ebp - 0x10]
push 2
push eax
push ebx
push ecx
mov ecx, dword [ebp - 8]
call fcn.10008c80
add esp, 0x24
test eax, eax
je 0x10006f30
test ebx, 0x40000
je 0x10006b81
mov ecx, dword [ebp - 0x18]
mov edx, edi
push 0
push dword [ebp - 0x14]
push dword [ebp - 0xc]
movzx eax, byte [ecx + 6]
push esi
push dword [ebp - 0x10]
push 3
push eax
push ebx
push ecx
mov ecx, dword [ebp - 8]
call fcn.10008c80
add esp, 0x24
test eax, eax
je 0x10006f30
mov edx, dword [ebp - 8]
test ebx, 0x200000
je 0x10006c0a
mov eax, dword [edx + 0x14]
cmp eax, 1
jl 0x10006f30
mov ecx, dword [edx + 0x10]
dec eax
mov dword [edx + 0x14], eax
lea eax, [ecx + 1]
mov dword [edx + 0x10], eax
movzx eax, byte [ecx]
movzx ecx, word [eax*2 + 0x100d3900]
test cx, cx
je 0x10006f30
mov eax, ecx
and ecx, 0xe000
and eax, 0x1fff
cmp ecx, 0x2000
jne 0x10006bd7
lea ecx, [eax*4 + 0x100db850]
jmp 0x10006be1
lea eax, [eax + eax*2]
lea ecx, [eax*4 + 0x100dcbb8]
test ecx, ecx
je 0x10006f30
movzx eax, word [ecx]
lea ebx, [eax*8]
sub ebx, eax
add ebx, 0x100dab90
mov dword [ebp - 0x20], ebx
movzx eax, byte [ebx]
mov ebx, dword [eax*4 + 0x100d2d38]
jmp 0x10006c0d
mov ecx, dword [ebp - 0x18]
mov eax, ebx
and eax, 0x400000
mov dword [ebp - 0x18], eax
je 0x10006c4a
add dword [edx + 0x14], 0xffffffff
js 0x10006f30
mov eax, dword [edx + 0x10]
mov dl, byte [eax]
inc eax
mov byte [ebp - 1], dl
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
test ebx, 0x20000000
je 0x10006c40
cmp byte [ebp - 1], 0x20
jmp 0x10006c44
cmp byte [ebp - 1], 8
jae 0x10006f30
mov eax, dword [edx + 0x10]
sub eax, dword [esi + 8]
cmp eax, 0xf
jg 0x10006f30
cmp dword [ebp - 0x24], 1
jne 0x10006c6f
test bl, 0x10
je 0x10006c6f
or dword [esi + 4], 0x10
or word [edi + 0x18], 1
jmp 0x10006c97
test bl, 0x20
je 0x10006c84
test byte [esi], 0x20
je 0x10006c84
or dword [esi + 4], 0x20
or word [edi + 0x18], 2
jmp 0x10006c97
test bl, 0x40
je 0x10006c97
test byte [esi], 0x40
je 0x10006c97
or dword [esi + 4], 0x40
or word [edi + 0x18], 4
mov eax, ebx
and eax, 0x14000
cmp eax, 0x14000
jne 0x10006cc8
or dword [esi + 4], 0x4000
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10006cb9
movzx eax, word [ecx + 2]
jmp 0x10006d0b
cmp eax, 1
jne 0x10006e0f
movzx eax, word [ecx + 8]
jmp 0x10006d0b
mov eax, ebx
and eax, 0xc000
cmp eax, 0xc000
jne 0x10006ce7
mov ax, word [ecx + 2]
mov word [edi + 0x1e], ax
or dword [esi + 4], 0x4000
jmp 0x10006d0f
mov edx, dword [ebp - 0xc]
test edx, edx
jne 0x10006d76
mov eax, ebx
and eax, 0x1010008
cmp eax, 0x10000
jne 0x10006d07
or dword [esi + 4], 0x2000
mov ax, word [ecx + 2]
mov word [edi + 0x1e], ax
test ebx, 0x8000
je 0x10006d26
test dword [esi], 0x2000
je 0x10006d26
or dword [esi + 4], 0x2000
mov edx, ebx
and edx, 0x20000000
je 0x10006d4f
mov al, byte [ecx + 4]
test al, 4
je 0x10006d3d
test byte [ebp - 0x1c], 8
jne 0x10006d47
test al, 8
je 0x10006d4f
test byte [ebp - 0x1c], 0x10
je 0x10006d4f
mov ax, word [ecx + 8]
mov word [edi + 0x1e], ax
cmp dword [ebp - 0x18], 0
je 0x10006e27
movzx eax, byte [ebp - 1]
movzx ecx, word [ecx + 2]
test edx, edx
je 0x10006e18
mov ax, word [eax*2 + 0x100d2cf8]
jmp 0x10006e20
movzx eax, word [edi + 0x18]
cmp edx, 1
jne 0x10006dc8
or eax, 0x100
mov word [edi + 0x18], ax
test ebx, 0x10000
je 0x10006d07
or dword [esi + 4], 0x2000
test ebx, 0x80000
je 0x10006cc2
cmp dword [ebp - 0x10], 0xc0
jb 0x10006dbc
movzx eax, word [ecx + 2]
movzx eax, ax
jmp 0x10006d0b
movzx eax, word [ecx + 8]
movzx eax, ax
jmp 0x10006d0b
or eax, 0x200
mov word [edi + 0x18], ax
test ebx, 0x4010000
je 0x10006d07
test ebx, 0x80000
je 0x10006df2
cmp dword [ebp - 0x10], 0xc0
jae 0x10006f30
test ebx, 0x4000000
je 0x10006cc2
test byte [ebp - 0x1c], 8
je 0x10006cc2
or dword [esi + 4], 0x2000000
movzx eax, word [ecx + 0xa]
jmp 0x10006d0b
mov ax, word [eax*2 + 0x100d2654]
add ax, cx
mov word [edi + 0x1e], ax
mov ecx, dword [ebp - 0x14]
and ecx, 3
shl ecx, 0xa
or cx, word [edi + 0x18]
movzx eax, cx
mov word [edi + 0x18], cx
test ebx, ebx
jns 0x10006e46
or eax, 0x40
mov word [edi + 0x18], ax
mov ecx, dword [esi + 4]
xor ecx, dword [esi]
test ecx, 0x2000000
je 0x10006e66
mov edx, dword [esi + 0x2c]
cmp edx, 0xffffffff
je 0x10006e66
movzx eax, word [esi + 0x1c]
bts eax, edx
mov word [esi + 0x1c], ax
test ecx, 0x1f80
je 0x10006e81
mov edx, dword [esi + 0x34]
cmp edx, 0xffffffff
je 0x10006e81
movzx eax, word [esi + 0x1c]
bts eax, edx
mov word [esi + 0x1c], ax
test cl, 0x70
je 0x10006e99
mov edx, dword [esi + 0x30]
cmp edx, 0xffffffff
je 0x10006e99
movzx eax, word [esi + 0x1c]
bts eax, edx
mov word [esi + 0x1c], ax
test ecx, 0x2000
je 0x10006eb4
mov edx, dword [esi + 0x38]
cmp edx, 0xffffffff
je 0x10006eb4
movzx eax, word [esi + 0x1c]
bts eax, edx
mov word [esi + 0x1c], ax
test ecx, 0x4000
je 0x10006ecf
mov ecx, dword [esi + 0x3c]
cmp ecx, 0xffffffff
je 0x10006ecf
movzx eax, word [esi + 0x1c]
bts eax, ecx
mov word [esi + 0x1c], ax
cmp byte [edi + 0x31], 0
mov ax, word [esi + 0x1c]
mov ecx, dword [ebp - 0x20]
mov word [edi + 0x1a], ax
mov al, byte [ecx + 3]
mov byte [edi + 0x35], al
jne 0x10006eea
mov byte [edi + 0x31], 0xff
mov al, byte [edi + 0x32]
cmp al, 0xff
je 0x10006f00
movzx eax, al
mov ax, word [eax*2 + 0x100d5a40]
or word [edi + 0x1c], ax
movzx eax, byte [ecx + 4]
mov byte [edi + 0x36], al
movzx eax, byte [ecx + 5]
mov byte [edi + 0x37], al
movzx eax, byte [ecx + 6]
mov ecx, dword [ebp - 0x28]
mov byte [edi + 0x38], al
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x10]
sub al, cl
mov byte [edi + 0x30], al
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x40
push 0
push edi
call fcn.10024d90
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov byte [edi + 0x32], 0xff
mov byte [edi + 0x30], 1
mov dword [esi + 4], 0
cmp byte [ecx], 0x9b
jne 0x10006f6d
or byte [edi + 0x35], 8
mov eax, 0x272c
mov word [edi + 0x1e], ax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret