Function at 0x506b00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
push dword [0x633f6c]
push 0x28
call sym.SystemInformer.exe_PhCreateObject
mov esi, eax
push 0x40
push 4
push dword [0x633f94]
mov dword [esi], 8
mov dword [esi + 4], 0x500ab0
mov dword [esi + 8], 0x500ad0
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.00580b30
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x14], eax
shl eax, 4
push eax
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push dword [0x633f6c]
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 [0x635cb0], esi
call sym.SystemInformer.exe_PhCreateObject
mov esi, eax
push 0x40
push 4
push dword [0x633f94]
mov dword [esi], 0xc
mov dword [esi + 4], 0x509640
mov dword [esi + 8], 0x509670
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.00580b30
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 [0x633f94]
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 [0x635c94], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x506c42
mov edi, esi
jmp 0x506c8a
push 0x200
push 0
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x506c5e
mov edi, esi
jmp 0x506c8a
cmp dword [0x62dbb0], 0x3e
jae 0x506f4a
push 0
push 0
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x506f4a
mov edi, eax
mov ebx, 0x5a4d
cmp word [esi], bx
jne 0x506cd9
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x506cd9
jmp 0x506ca0
cmp eax, 0x7fffffff
jae 0x506cd9
cmp dword [eax + esi], 0x4550
jne 0x506cd9
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506cd7
cmp dword [edx + 4], 0
je 0x506cd7
push 0
add eax, esi
mov ecx, esi
push str.OpenThemeDataForDpi
push eax
call fcn.00527c80
mov edi, esi
jmp 0x506cdb
mov edi, esi
xor eax, eax
mov dword [0x635c78], eax
cmp word [esi], bx
jne 0x506d22
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506d22
cmp eax, 0x7fffffff
jae 0x506d22
cmp dword [eax + esi], 0x4550
jne 0x506d22
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506d22
cmp dword [edx + 4], 0
je 0x506d22
push 0
add eax, esi
mov ecx, esi
push str.OpenThemeData
push eax
call fcn.00527c80
nop
jmp 0x506d24
xor eax, eax
mov dword [0x635c88], eax
cmp word [esi], bx
jne 0x506d6a
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506d6a
cmp eax, 0x7fffffff
jae 0x506d6a
cmp dword [eax + esi], 0x4550
jne 0x506d6a
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506d6a
cmp dword [edx + 4], 0
je 0x506d6a
push 0
add eax, esi
mov ecx, esi
push str.CloseThemeData
push eax
call fcn.00527c80
jmp 0x506d6c
xor eax, eax
mov dword [0x635ca4], eax
cmp word [esi], bx
jne 0x506db5
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506db5
lea ecx, [ecx]
cmp eax, 0x7fffffff
jae 0x506db5
cmp dword [eax + esi], 0x4550
jne 0x506db5
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506db5
cmp dword [edx + 4], 0
je 0x506db5
push 0
add eax, esi
mov ecx, esi
push str.SetWindowTheme
push eax
call fcn.00527c80
jmp 0x506db7
xor eax, eax
mov dword [0x635c30], eax
lea esp, [esp]
cmp word [esi], bx
jne 0x506e02
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506e02
cmp eax, 0x7fffffff
jae 0x506e02
cmp dword [eax + esi], 0x4550
jne 0x506e02
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506e02
cmp dword [edx + 4], 0
je 0x506e02
push 0
add eax, esi
mov ecx, esi
push str.IsThemeActive
push eax
call fcn.00527c80
nop
jmp 0x506e04
xor eax, eax
mov dword [0x635cd4], eax
cmp word [esi], bx
jne 0x506e4a
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506e4a
cmp eax, 0x7fffffff
jae 0x506e4a
cmp dword [eax + esi], 0x4550
jne 0x506e4a
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506e4a
cmp dword [edx + 4], 0
je 0x506e4a
push 0
add eax, esi
mov ecx, esi
push str.IsThemePartDefined
push eax
call fcn.00527c80
jmp 0x506e4c
xor eax, eax
mov dword [0x635c68], eax
cmp word [esi], bx
jne 0x506e95
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506e95
lea ecx, [ecx]
cmp eax, 0x7fffffff
jae 0x506e95
cmp dword [eax + esi], 0x4550
jne 0x506e95
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506e95
cmp dword [edx + 4], 0
je 0x506e95
push 0
add eax, esi
mov ecx, esi
push str.GetThemeInt
push eax
call fcn.00527c80
jmp 0x506e97
xor eax, eax
mov dword [0x635c50], eax
lea esp, [esp]
cmp word [esi], bx
jne 0x506ee2
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506ee2
cmp eax, 0x7fffffff
jae 0x506ee2
cmp dword [eax + esi], 0x4550
jne 0x506ee2
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506ee2
cmp dword [edx + 4], 0
je 0x506ee2
push 0
add eax, esi
mov ecx, esi
push str.GetThemePartSize
push eax
call fcn.00527c80
nop
jmp 0x506ee4
xor eax, eax
mov dword [0x635c8c], eax
cmp word [esi], bx
jne 0x506f2a
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506f2a
cmp eax, 0x7fffffff
jae 0x506f2a
cmp dword [eax + esi], 0x4550
jne 0x506f2a
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506f2a
cmp dword [edx + 4], 0
je 0x506f2a
push 0
add eax, esi
mov ecx, esi
push str.DrawThemeBackground
push eax
call fcn.00527c80
jmp 0x506f2c
xor eax, eax
cmp dword [0x62dbb0], 0x72
mov dword [0x635c80], eax
jb 0x506f4a
push 0x4a
xor edx, edx
mov ecx, esi
call fcn.00527ae0
mov dword [0x635c48], eax
cmp dword [0x62dbb0], 0x3f
jb 0x506fac
push 0x800
push 0
push str.shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
jne 0x506f99
push 0x200
push eax
push str.shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
jne 0x506f99
cmp dword [0x62dbb0], 0x3e
jae 0x506fac
push eax
push eax
push str.shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x506fac
push 0
mov edx, str.GetDpiForMonitor
mov ecx, eax
call fcn.00527ae0
mov dword [0x635c9c], eax
cmp dword [0x62dbb0], 0x66
jb 0x50705d
push 0x800
push 0
push 0x5f5a64
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x50700c
push 0x200
push eax
push 0x5f5a64
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x50700c
cmp dword [0x62dbb0], 0x3e
jae 0x50705d
push eax
push eax
push 0x5f5a64
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x50705d
push 0
mov edx, str.GetDpiForWindow
mov ecx, esi
call fcn.00527ae0
push 0
mov edx, str.GetDpiForSystem
mov dword [0x635cc4], eax
mov ecx, esi
call fcn.00527ae0
push 0
mov edx, str.GetSystemMetricsForDpi
mov dword [0x635c74], eax
mov ecx, esi
call fcn.00527ae0
push 0
mov edx, str.SystemParametersInfoForDpi
mov dword [0x635c84], eax
mov ecx, esi
call fcn.00527ae0
mov dword [0x635cd0], eax
xor ecx, ecx
call fcn.00507080
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret