Function at 0x1071eea
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x108a1e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
and dword [ebx + 4], eax
and dword [ebx + 8], eax
lea edi, [ebp - 0xb4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0xb4]
push ecx
push 0x104a03c
mov dword [ebx], 0x74
stosd dword es:[edi], eax
mov eax, dword [esi]
push esi
mov dword [ebp - 0xbc], esi
call dword [eax + 0x14]
test eax, eax
jl 0x1071f6f
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
cmp dword [ebp - 0xa4], 0
je 0x1071f6f
or dword [ebx + 4], 1
xor eax, eax
cmp dword [ebp - 0xa4], 2
sete al
or dword [ebx + 8], eax
mov edi, dword [sym.imp.ole32.dll_PropVariantClear]
lea eax, [ebp - 0xb4]
push eax
call edi
mov eax, dword [esi]
lea ecx, [ebp - 0xb4]
push ecx
push 0x104a050
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x1071fc4
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
cmp dword [ebp - 0xa4], 0
je 0x1071fc4
push 2
pop eax
or dword [ebx + 4], eax
cmp dword [ebp - 0xa4], eax
je 0x1071fc1
xor eax, eax
or dword [ebx + 8], eax
lea eax, [ebp - 0xb4]
push eax
call edi
mov eax, dword [esi]
lea ecx, [ebp - 0xb4]
push ecx
push 0x104a064
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x1072014
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
cmp dword [ebp - 0xa4], 0
je 0x1072014
push 4
pop eax
or dword [ebx + 4], eax
cmp dword [ebp - 0xa4], 2
je 0x1072011
xor eax, eax
or dword [ebx + 8], eax
lea eax, [ebp - 0xb4]
push eax
call edi
mov eax, dword [esi]
lea ecx, [ebp - 0xb4]
push ecx
push 0x104a078
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x1072064
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
cmp dword [ebp - 0xa4], 0
je 0x1072064
push 8
pop eax
or dword [ebx + 4], eax
cmp dword [ebp - 0xa4], 2
je 0x1072061
xor eax, eax
or dword [ebx + 8], eax
lea eax, [ebp - 0xb4]
push eax
call edi
mov eax, dword [esi]
lea ecx, [ebp - 0xb4]
push ecx
push 0x104a08c
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x10720c9
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
cmp dword [ebp - 0xa4], 0
je 0x10720c9
or dword [ebx + 4], 0x30000
cmp dword [ebp - 0xa4], 1
je 0x10720c9
xor ecx, ecx
cmp dword [ebp - 0xa4], 2
mov eax, 0x10000
setne cl
dec ecx
and ecx, eax
add ecx, eax
or dword [ebx + 8], ecx
lea eax, [ebp - 0xb4]
push eax
call edi
mov eax, dword [esi]
lea ecx, [ebp - 0xb4]
push ecx
push 0x104a014
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x107217a
push 0x20
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToString]
push 0x100219c
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x107217a
lea eax, [ebp - 0x44]
push eax
push 0x20
lea eax, [ebx + 0x1a]
push eax
call fcn.0102f4f0
or dword [ebx + 4], 0x20000000
cmp dword [ebp + 0x10], 0
je 0x107217a
push 0x5c
lea eax, [ebp - 0xa0]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push 0x20
lea eax, [ebp - 0x84]
push eax
call fcn.0102f4f0
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 0x89], 1
call fcn.01071ead
mov al, byte [ebp - 0x89]
cmp al, 1
je 0x107217a
or dword [ebx + 4], 0x8000000
mov byte [ebx + 0x18], al
lea eax, [ebp - 0xb4]
push eax
call edi
mov eax, dword [esi]
lea ecx, [ebp - 0xb4]
push ecx
push 0x104a028
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x1072207
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
lea esi, [ebp - 0xb4]
lea edi, [ebp - 0xe4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xd4]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0xe4]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VarDateFromI1]
fldz
fcomp qword [ebp - 0xd4]
fnstsw ax
test ah, 5
jp 0x10721fb
fld qword [ebp - 0xd4]
or dword [ebx + 4], 0x80000000
fmul qword [0x104a3f0]
call sub.msvcrt.dll__ftol2_sse
mov dword [ebx + 0xc], eax
mov edi, dword [sym.imp.ole32.dll_PropVariantClear]
mov esi, dword [ebp - 0xbc]
lea eax, [ebp - 0xb4]
push eax
call edi
xor eax, eax
lea edi, [ebp - 0xcc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0xb4]
push ecx
push 0x1072374
stosd dword es:[edi], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
mov edi, 0x40000000
test eax, eax
jl 0x107225a
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
cmp dword [ebp - 0xa4], 1
jne 0x107225a
or dword [ebx + 4], edi
or dword [ebx + 8], edi
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [esi]
lea ecx, [ebp - 0xcc]
push ecx
push 0x107234c
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x107229d
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
mov eax, dword [ebp - 0xb8]
or dword [ebx + 4], edi
mov dword [ebx + 0x14], eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [esi]
lea ecx, [ebp - 0xb4]
push ecx
push 0x1072388
push esi
call dword [eax + 0x14]
mov edi, 0x4000000
test eax, eax
jl 0x10722e8
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
cmp dword [ebp - 0xa4], 0
jne 0x10722e8
or dword [ebx + 4], edi
or dword [ebx + 8], edi
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [esi]
lea ecx, [ebp - 0xcc]
push ecx
push 0x1072360
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x107232b
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
mov eax, dword [ebp - 0xb8]
or dword [ebx + 4], edi
mov dword [ebx + 0x60], eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100207a
leave
ret 0xc