Function at 0x10100100
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x50
mov eax, dword [0x10291440]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
push ebp
push esi
push edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov esi, dword [edi + 0x2e0]
mov ebp, esi
mov edx, dword [edi + 0x1c]
and ebp, 0x8000
neg ebp
mov dword [esp + 0x14], edx
sbb ebp, ebp
test esi, 0x10000
je 0x10100152
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.1021eb98
add esp, 0x50
ret
mov eax, dword [edi + 0x20]
push ebx
lea ecx, [eax - 1]
cmp ecx, 4
ja case.default.0x10100162
jmp dword [ecx*4 + 0x101003d4]
and esi, 0x10000401
neg esi
sbb esi, esi
cmp dword [edx + 0x6c], 0
je 0x101001b9
mov eax, dword [edi]
or ebx, 0xffffffff
test eax, eax
cmovne ebx, eax
jmp 0x101001d4
or esi, 0xffffffff
cmp dword [edx + 0x6c], 0
je 0x101001b9
mov eax, dword [edi]
or ebx, esi
test eax, eax
cmovne ebx, eax
jmp 0x101001d4
mov eax, dword [edi]
and esi, 0x10000401
neg esi
sbb esi, esi
or ebx, 0xffffffff
test eax, eax
cmovne ebx, eax
jmp 0x101001d4
test esi, 0x40000000
je 0x101001c0
xor esi, esi
mov ebx, 0x20
jmp 0x101001d4
test esi, 0x1000
je case.default.0x10100162
or ebx, 0xffffffff
xor esi, esi
or ebp, 0xffffffff
mov eax, dword [edi + 0x24]
lea edx, [edi + 0x3c]
xorps xmm0, xmm0
mov dword [esp + 0x14], eax
movups xmmword [esp + 0x48], xmm0
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], 0x10
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10100217
add ecx, 4
add edx, 4
sub dword [esp + 0x10], 4
jae 0x10100200
xor eax, eax
jmp 0x1010023e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10100239
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10100239
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10100239
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10100239
xor eax, eax
jmp 0x1010023e
sbb eax, eax
or eax, 1
mov dword [esp + 0x10], eax
test eax, eax
je 0x10100256
lea eax, [edi + 0x3c]
push eax
push dword [esp + 0x18]
call fcn.100ef270
add esp, 8
push ebx
mov ebx, dword [esp + 0x18]
push ebx
call fcn.100ef240
push esi
push ebx
call fcn.100ef330
push ebp
push ebx
call fcn.100ef360
mov eax, dword [edi]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x2e0]
and eax, 0x10000401
mov dword [esp + 0x3c], 0xc
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.100ef410
mov ebp, dword [esp + 0x38]
add esp, 0x20
mov eax, dword [ebp]
mov edx, dword [eax + 0x114]
test dl, 0x20
je 0x101002dd
test dword [edi + 0x2e0], 0x20000000
je 0x101002dd
mov eax, dword [edi + 0x20]
cmp eax, 4
je 0x101002dd
cmp eax, 5
je 0x101002dd
mov ecx, dword [esp + 0x6c]
or ecx, 4
jmp 0x101002e1
mov ecx, dword [esp + 0x6c]
push dword [edi]
mov eax, dword [edi + 0x2e0]
and edx, 8
mov esi, dword [esp + 0x20]
add edx, edx
shr eax, 0xe
and ecx, 0x44ad
and eax, 2
push 0
or eax, edx
or eax, ecx
push eax
lea eax, [edi + 0x34]
push eax
push esi
push 0
push ebx
call fcn.100ef900
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x1010036d
push 0
push dword [edi + 0x24]
lea esi, [edi + 0x24]
call fcn.100ef560
push esi
push ebp
call fcn.100eebd0
mov eax, dword [edi + 0x2e0]
add esp, 0x10
test eax, 0x1000
je 0x10100358
push 1
push 1
push dword [esi]
or eax, 0x1000
mov dword [edi + 0x2e0], eax
call fcn.100ef2b0
add esp, 0xc
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.1021eb98
add esp, 0x50
ret
or dword [edi + 0x2e0], 0x10000
cmp dword [esp + 0x10], 0
jne 0x1010039b
test esi, esi
je 0x1010039b
lea eax, [edi + 0x3c]
push eax
push dword [edi + 0x24]
call fcn.100eefe0
add esp, 8
mov dword [edi + 0x2d8], 1
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.1021eb98
add esp, 0x50
ret
push eax
push str.DB__open
push edx
call fcn.100d1060
mov ecx, dword [esp + 0x68]
add esp, 0xc
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1021eb98
add esp, 0x50
ret