Function at 0x48e986
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x4b6c04]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov ebx, edx
mov dword [esp + 0x24], ecx
xor eax, eax
lea edi, [esp + 0x10]
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
stosd dword es:[edi], eax
mov dword [ebx], 0x74
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov edi, ecx
push eax
push 0x41552c
push edi
mov esi, dword [edi]
mov ecx, dword [esi + 0x14]
call dword [0x4ba1e0]
call dword [esi + 0x14]
test eax, eax
js 0x48ea08
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
cmp dword [esp + 0xc], 0
je 0x48ea08
or dword [ebx + 4], 1
xor eax, eax
cmp dword [esp + 0xc], 2
sete al
or dword [ebx + 8], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov esi, dword [edi]
lea eax, [esp + 0x10]
push eax
push 0x415518
push edi
mov ecx, dword [esi + 0x14]
call dword [0x4ba1e0]
call dword [esi + 0x14]
test eax, eax
js 0x48ea5c
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
cmp dword [esp + 0xc], 0
je 0x48ea5c
or dword [ebx + 4], 2
cmp dword [esp + 0xc], 2
jne 0x48ea57
push 2
pop eax
jmp 0x48ea59
xor eax, eax
or dword [ebx + 8], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov esi, dword [edi]
lea eax, [esp + 0x10]
push eax
push 0x415504
push edi
mov ecx, dword [esi + 0x14]
call dword [0x4ba1e0]
call dword [esi + 0x14]
test eax, eax
js 0x48eaad
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
cmp dword [esp + 0xc], 0
je 0x48eaad
push 4
pop eax
or dword [ebx + 4], eax
cmp dword [esp + 0xc], 2
je 0x48eaaa
xor eax, eax
or dword [ebx + 8], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov esi, dword [edi]
lea eax, [esp + 0x10]
push eax
push 0x4154f0
push edi
mov ecx, dword [esi + 0x14]
call dword [0x4ba1e0]
call dword [esi + 0x14]
test eax, eax
js 0x48eafe
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
cmp dword [esp + 0xc], 0
je 0x48eafe
push 8
pop eax
or dword [ebx + 4], eax
cmp dword [esp + 0xc], 2
je 0x48eafb
xor eax, eax
or dword [ebx + 8], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov esi, dword [edi]
lea eax, [esp + 0x10]
push eax
push 0x4154dc
push edi
mov ecx, dword [esi + 0x14]
call dword [0x4ba1e0]
call dword [esi + 0x14]
test eax, eax
js 0x48eb5f
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x48eb5f
or dword [ebx + 4], 0x30000
cmp ecx, 1
je 0x48eb5f
xor eax, eax
cmp ecx, 2
mov ecx, 0x10000
setne al
dec eax
and eax, ecx
add eax, ecx
or dword [ebx + 8], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov esi, dword [edi]
lea eax, [esp + 0x10]
push eax
push 0x415554
push edi
mov ecx, dword [esi + 0x14]
call dword [0x4ba1e0]
call dword [esi + 0x14]
test eax, eax
js 0x48ec40
push 0x20
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToString]
push 0x4153dc
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x48ec40
lea eax, [esp + 0xb0]
push eax
push 0x20
lea ecx, [ebx + 0x1a]
pop edx
call fcn.0043c80d
or dword [ebx + 4], 0x20000000
lea eax, [esp + 0x50]
push 0x5c
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x6c]
push eax
push 0x20
pop edx
call fcn.0043c80d
push 0
mov byte [esp + 0x6b], 1
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x48ec2e
push 0
lea eax, [esp + 0x6b]
push eax
push 0x48e970
lea eax, [esp + 0x5c]
push eax
push esi
call dword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov al, byte [esp + 0x67]
cmp al, 1
je 0x48ec40
or dword [ebx + 4], 0x8000000
mov byte [ebx + 0x18], al
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov esi, dword [edi]
lea eax, [esp + 0x10]
push eax
push 0x415540
push edi
mov ecx, dword [esi + 0x14]
call dword [0x4ba1e0]
call dword [esi + 0x14]
test eax, eax
js 0x48ecbe
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
lea esi, [esp + 0x10]
lea edi, [esp + 0x40]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x44]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VarDateFromI1]
fldz
fld qword [esp + 0x38]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x48ecbc
fmul qword [0x435538]
or dword [ebx + 4], 0x80000000
call sub.msvcrt.dll__ftol2_sse
mov dword [ebx + 0xc], eax
jmp 0x48ecbe
fstp st(0)
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
xor eax, eax
lea edi, [esp + 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov edi, dword [esp + 0x24]
push eax
push 0x4154a0
push edi
mov esi, dword [edi]
mov ecx, dword [esi + 0x14]
call dword [0x4ba1e0]
call dword [esi + 0x14]
mov esi, 0x40000000
test eax, eax
js 0x48ed16
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
cmp dword [esp + 0xc], 1
jne 0x48ed16
or dword [ebx + 4], esi
or dword [ebx + 8], esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov esi, dword [edi]
lea eax, [esp + 0x28]
push eax
push 0x4154c8
push edi
mov ecx, dword [esi + 0x14]
call dword [0x4ba1e0]
call dword [esi + 0x14]
test eax, eax
js 0x48ed5c
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
mov eax, dword [esp + 0x20]
or dword [ebx + 4], 0x40000000
mov dword [ebx + 0x14], eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov esi, dword [edi]
lea eax, [esp + 0x10]
push eax
push 0x41548c
push edi
mov ecx, dword [esi + 0x14]
call dword [0x4ba1e0]
call dword [esi + 0x14]
mov esi, 0x4000000
test eax, eax
js 0x48eda6
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
cmp dword [esp + 0xc], 0
jne 0x48eda6
or dword [ebx + 4], esi
or dword [ebx + 8], esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov esi, dword [edi]
lea eax, [esp + 0x28]
push eax
push 0x4154b4
push edi
mov ecx, dword [esi + 0x14]
call dword [0x4ba1e0]
call dword [esi + 0x14]
test eax, eax
js 0x48edec
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
mov eax, dword [esp + 0x20]
or dword [ebx + 4], 0x4000000
mov dword [ebx + 0x60], eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a4e80
mov esp, ebp
pop ebp
ret 4