Function at 0x506b80
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], 0x500b70
mov dword [esi + 8], 0x500b90
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.00580ff0
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], 0x5096c0
mov dword [esi + 8], 0x5096f0
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.00580ff0
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 0x506cc2
mov edi, esi
jmp 0x506d0a
push 0x200
push 0
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x506cde
mov edi, esi
jmp 0x506d0a
cmp dword [0x62dbb0], 0x3e
jae 0x506fca
push 0
push 0
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x506fca
mov edi, eax
mov ebx, 0x5a4d
cmp word [esi], bx
jne 0x506d59
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x506d59
jmp 0x506d20
cmp eax, 0x7fffffff
jae 0x506d59
cmp dword [eax + esi], 0x4550
jne 0x506d59
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506d57
cmp dword [edx + 4], 0
je 0x506d57
push 0
add eax, esi
mov ecx, esi
push str.OpenThemeDataForDpi
push eax
call fcn.005281c0
mov edi, esi
jmp 0x506d5b
mov edi, esi
xor eax, eax
mov dword [0x635c78], eax
cmp word [esi], bx
jne 0x506da2
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506da2
cmp eax, 0x7fffffff
jae 0x506da2
cmp dword [eax + esi], 0x4550
jne 0x506da2
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506da2
cmp dword [edx + 4], 0
je 0x506da2
push 0
add eax, esi
mov ecx, esi
push str.OpenThemeData
push eax
call fcn.005281c0
nop
jmp 0x506da4
xor eax, eax
mov dword [0x635c88], eax
cmp word [esi], bx
jne 0x506dea
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506dea
cmp eax, 0x7fffffff
jae 0x506dea
cmp dword [eax + esi], 0x4550
jne 0x506dea
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506dea
cmp dword [edx + 4], 0
je 0x506dea
push 0
add eax, esi
mov ecx, esi
push str.CloseThemeData
push eax
call fcn.005281c0
jmp 0x506dec
xor eax, eax
mov dword [0x635ca4], eax
cmp word [esi], bx
jne 0x506e35
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506e35
lea ecx, [ecx]
cmp eax, 0x7fffffff
jae 0x506e35
cmp dword [eax + esi], 0x4550
jne 0x506e35
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506e35
cmp dword [edx + 4], 0
je 0x506e35
push 0
add eax, esi
mov ecx, esi
push str.SetWindowTheme
push eax
call fcn.005281c0
jmp 0x506e37
xor eax, eax
mov dword [0x635c30], eax
lea esp, [esp]
cmp word [esi], bx
jne 0x506e82
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506e82
cmp eax, 0x7fffffff
jae 0x506e82
cmp dword [eax + esi], 0x4550
jne 0x506e82
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506e82
cmp dword [edx + 4], 0
je 0x506e82
push 0
add eax, esi
mov ecx, esi
push str.IsThemeActive
push eax
call fcn.005281c0
nop
jmp 0x506e84
xor eax, eax
mov dword [0x635cd4], eax
cmp word [esi], bx
jne 0x506eca
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506eca
cmp eax, 0x7fffffff
jae 0x506eca
cmp dword [eax + esi], 0x4550
jne 0x506eca
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506eca
cmp dword [edx + 4], 0
je 0x506eca
push 0
add eax, esi
mov ecx, esi
push str.IsThemePartDefined
push eax
call fcn.005281c0
jmp 0x506ecc
xor eax, eax
mov dword [0x635c68], eax
cmp word [esi], bx
jne 0x506f15
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506f15
lea ecx, [ecx]
cmp eax, 0x7fffffff
jae 0x506f15
cmp dword [eax + esi], 0x4550
jne 0x506f15
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506f15
cmp dword [edx + 4], 0
je 0x506f15
push 0
add eax, esi
mov ecx, esi
push str.GetThemeInt
push eax
call fcn.005281c0
jmp 0x506f17
xor eax, eax
mov dword [0x635c50], eax
lea esp, [esp]
cmp word [esi], bx
jne 0x506f62
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506f62
cmp eax, 0x7fffffff
jae 0x506f62
cmp dword [eax + esi], 0x4550
jne 0x506f62
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506f62
cmp dword [edx + 4], 0
je 0x506f62
push 0
add eax, esi
mov ecx, esi
push str.GetThemePartSize
push eax
call fcn.005281c0
nop
jmp 0x506f64
xor eax, eax
mov dword [0x635c8c], eax
cmp word [esi], bx
jne 0x506faa
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x506faa
cmp eax, 0x7fffffff
jae 0x506faa
cmp dword [eax + esi], 0x4550
jne 0x506faa
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x506faa
cmp dword [edx + 4], 0
je 0x506faa
push 0
add eax, esi
mov ecx, esi
push str.DrawThemeBackground
push eax
call fcn.005281c0
jmp 0x506fac
xor eax, eax
cmp dword [0x62dbb0], 0x72
mov dword [0x635c80], eax
jb 0x506fca
push 0x4a
xor edx, edx
mov ecx, esi
call fcn.00528020
mov dword [0x635c48], eax
cmp dword [0x62dbb0], 0x3f
jb 0x50702c
push 0x800
push 0
push str.shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
jne 0x507019
push 0x200
push eax
push str.shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
jne 0x507019
cmp dword [0x62dbb0], 0x3e
jae 0x50702c
push eax
push eax
push str.shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x50702c
push 0
mov edx, str.GetDpiForMonitor
mov ecx, eax
call fcn.00528020
mov dword [0x635c9c], eax
cmp dword [0x62dbb0], 0x66
jb 0x5070dd
push 0x800
push 0
push 0x5f59d4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x50708c
push 0x200
push eax
push 0x5f59d4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x50708c
cmp dword [0x62dbb0], 0x3e
jae 0x5070dd
push eax
push eax
push 0x5f59d4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x5070dd
push 0
mov edx, str.GetDpiForWindow
mov ecx, esi
call fcn.00528020
push 0
mov edx, str.GetDpiForSystem
mov dword [0x635cc4], eax
mov ecx, esi
call fcn.00528020
push 0
mov edx, str.GetSystemMetricsForDpi
mov dword [0x635c74], eax
mov ecx, esi
call fcn.00528020
push 0
mov edx, str.SystemParametersInfoForDpi
mov dword [0x635c84], eax
mov ecx, esi
call fcn.00528020
mov dword [0x635cd0], eax
xor ecx, ecx
call fcn.00507100
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret