Function at 0x506f60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
push dword [0x634f00]
push 0x28
call sym.SystemInformer.exe_PhCreateObject
mov esi, eax
push 0x40
push 4
push dword [0x635044]
mov dword [esi], 8
mov dword [esi + 4], 0x500e10
mov dword [esi + 8], 0x500e30
mov dword [esi + 0xc], 0x10
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, dword [esi + 0xc]
shl ecx, 2
push ecx
push 0xff
push eax
mov dword [esi + 0x10], eax
call fcn.00582250
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x14], eax
shl eax, 4
push eax
push 4
push dword [0x635044]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push dword [0x634f00]
mov dword ds:[esi + 0x18], eax
push 0x28
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov dword [0x636bec], esi
call sym.SystemInformer.exe_PhCreateObject
mov esi, eax
push 0x40
push 4
push dword [0x635044]
mov dword [esi], 0xc
mov dword [esi + 4], 0x509aa0
mov dword [esi + 8], 0x509ad0
mov dword [esi + 0xc], 0x10
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, dword [esi + 0xc]
shl ecx, 2
push ecx
push 0xff
push eax
mov dword [esi + 0x10], eax
call fcn.00582250
mov eax, dword ds:[esi + 0xc]
add esp, 0xc
mov dword [esi + 0x14], eax
lea eax, [eax + eax*4]
shl eax, 2
push eax
push 4
push dword [0x635044]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0x800
push 0
push str.uxtheme.dll
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov dword [0x636bd0], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x5070a2
mov edi, esi
jmp 0x5070ea
push 0x200
push 0
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x5070be
mov edi, esi
jmp 0x5070ea
cmp dword [0x62ebb0], 0x3e
jae 0x5073aa
push 0
push 0
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x5073aa
mov edi, eax
mov ebx, 0x5a4d
cmp word [esi], bx
jne 0x507139
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x507139
jmp 0x507100
cmp eax, 0x7fffffff
jae 0x507139
cmp dword [eax + esi], 0x4550
jne 0x507139
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x507137
cmp dword [edx + 4], 0
je 0x507137
push 0
add eax, esi
mov ecx, esi
push str.OpenThemeDataForDpi
push eax
call fcn.00528e20
mov edi, esi
jmp 0x50713b
mov edi, esi
xor eax, eax
mov dword [0x636bb4], eax
cmp word [esi], bx
jne 0x507182
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x507182
cmp eax, 0x7fffffff
jae 0x507182
cmp dword [eax + esi], 0x4550
jne 0x507182
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x507182
cmp dword [edx + 4], 0
je 0x507182
push 0
add eax, esi
mov ecx, esi
push str.OpenThemeData
push eax
call fcn.00528e20
nop
jmp 0x507184
xor eax, eax
mov dword [0x636bc4], eax
cmp word [esi], bx
jne 0x5071ca
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x5071ca
cmp eax, 0x7fffffff
jae 0x5071ca
cmp dword [eax + esi], 0x4550
jne 0x5071ca
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x5071ca
cmp dword [edx + 4], 0
je 0x5071ca
push 0
add eax, esi
mov ecx, esi
push str.CloseThemeData
push eax
call fcn.00528e20
jmp 0x5071cc
xor eax, eax
mov dword [0x636be0], eax
cmp word [esi], bx
jne 0x507215
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x507215
lea ecx, [ecx]
cmp eax, 0x7fffffff
jae 0x507215
cmp dword [eax + esi], 0x4550
jne 0x507215
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x507215
cmp dword [edx + 4], 0
je 0x507215
push 0
add eax, esi
mov ecx, esi
push str.SetWindowTheme
push eax
call fcn.00528e20
jmp 0x507217
xor eax, eax
mov dword [0x636b70], eax
lea esp, [esp]
cmp word [esi], bx
jne 0x507262
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x507262
cmp eax, 0x7fffffff
jae 0x507262
cmp dword [eax + esi], 0x4550
jne 0x507262
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x507262
cmp dword [edx + 4], 0
je 0x507262
push 0
add eax, esi
mov ecx, esi
push str.IsThemeActive
push eax
call fcn.00528e20
nop
jmp 0x507264
xor eax, eax
mov dword [0x636c10], eax
cmp word [esi], bx
jne 0x5072aa
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x5072aa
cmp eax, 0x7fffffff
jae 0x5072aa
cmp dword [eax + esi], 0x4550
jne 0x5072aa
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x5072aa
cmp dword [edx + 4], 0
je 0x5072aa
push 0
add eax, esi
mov ecx, esi
push str.IsThemePartDefined
push eax
call fcn.00528e20
jmp 0x5072ac
xor eax, eax
mov dword [0x636b9c], eax
cmp word [esi], bx
jne 0x5072f5
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x5072f5
lea ecx, [ecx]
cmp eax, 0x7fffffff
jae 0x5072f5
cmp dword [eax + esi], 0x4550
jne 0x5072f5
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x5072f5
cmp dword [edx + 4], 0
je 0x5072f5
push 0
add eax, esi
mov ecx, esi
push str.GetThemeInt
push eax
call fcn.00528e20
jmp 0x5072f7
xor eax, eax
mov dword [0x636b90], eax
lea esp, [esp]
cmp word [esi], bx
jne 0x507342
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x507342
cmp eax, 0x7fffffff
jae 0x507342
cmp dword [eax + esi], 0x4550
jne 0x507342
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x507342
cmp dword [edx + 4], 0
je 0x507342
push 0
add eax, esi
mov ecx, esi
push str.GetThemePartSize
push eax
call fcn.00528e20
nop
jmp 0x507344
xor eax, eax
mov dword [0x636bc8], eax
cmp word [esi], bx
jne 0x50738a
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x50738a
cmp eax, 0x7fffffff
jae 0x50738a
cmp dword [eax + esi], 0x4550
jne 0x50738a
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x50738a
cmp dword [edx + 4], 0
je 0x50738a
push 0
add eax, esi
mov ecx, esi
push str.DrawThemeBackground
push eax
call fcn.00528e20
jmp 0x50738c
xor eax, eax
cmp dword [0x62ebb0], 0x72
mov dword [0x636bbc], eax
jb 0x5073aa
push 0x4a
xor edx, edx
mov ecx, esi
call fcn.00528c80
mov dword [0x636b88], eax
cmp dword [0x62ebb0], 0x3f
jb 0x50740c
push 0x800
push 0
push str.shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
jne 0x5073f9
push 0x200
push eax
push str.shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
jne 0x5073f9
cmp dword [0x62ebb0], 0x3e
jae 0x50740c
push eax
push eax
push str.shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x50740c
push 0
mov edx, str.GetDpiForMonitor
mov ecx, eax
call fcn.00528c80
mov dword [0x636bd8], eax
cmp dword [0x62ebb0], 0x66
jb 0x5074bd
push 0x800
push 0
push 0x5f6c84
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x50746c
push 0x200
push eax
push 0x5f6c84
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x50746c
cmp dword [0x62ebb0], 0x3e
jae 0x5074bd
push eax
push eax
push 0x5f6c84
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x5074bd
push 0
mov edx, str.GetDpiForWindow
mov ecx, esi
call fcn.00528c80
push 0
mov edx, str.GetDpiForSystem
mov dword [0x636c00], eax
mov ecx, esi
call fcn.00528c80
push 0
mov edx, str.GetSystemMetricsForDpi
mov dword [0x636bb0], eax
mov ecx, esi
call fcn.00528c80
push 0
mov edx, str.SystemParametersInfoForDpi
mov dword [0x636bc0], eax
mov ecx, esi
call fcn.00528c80
mov dword [0x636c0c], eax
xor ecx, ecx
call fcn.005074e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret