Function at 0x504bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
push dword [0x630ef0]
push 0x28
call sym.SystemInformer.exe_PhCreateObject
mov esi, eax
push 0x40
push 4
push dword [0x631034]
mov dword [esi], 8
mov dword [esi + 4], 0x4fec50
mov dword [esi + 8], 0x4fec70
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.0057e450
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x14], eax
shl eax, 4
push eax
push 4
push dword [0x631034]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push dword [0x630ef0]
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 [0x632bbc], esi
call sym.SystemInformer.exe_PhCreateObject
mov esi, eax
push 0x40
push 4
push dword [0x631034]
mov dword [esi], 0xc
mov dword [esi + 4], 0x507700
mov dword [esi + 8], 0x507730
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.0057e450
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 [0x631034]
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 [0x632ba0], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x504d02
mov edi, esi
jmp 0x504d4a
push 0x200
push 0
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x504d1e
mov edi, esi
jmp 0x504d4a
cmp dword [0x62abb0], 0x3e
jae 0x50500a
push 0
push 0
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x50500a
mov edi, eax
mov ebx, 0x5a4d
cmp word [esi], bx
jne 0x504d99
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x504d99
jmp 0x504d60
cmp eax, 0x7fffffff
jae 0x504d99
cmp dword [eax + esi], 0x4550
jne 0x504d99
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x504d97
cmp dword [edx + 4], 0
je 0x504d97
push 0
add eax, esi
mov ecx, esi
push str.OpenThemeDataForDpi
push eax
call fcn.00522ae0
mov edi, esi
jmp 0x504d9b
mov edi, esi
xor eax, eax
mov dword [0x632b84], eax
cmp word [esi], bx
jne 0x504de2
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x504de2
cmp eax, 0x7fffffff
jae 0x504de2
cmp dword [eax + esi], 0x4550
jne 0x504de2
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x504de2
cmp dword [edx + 4], 0
je 0x504de2
push 0
add eax, esi
mov ecx, esi
push str.OpenThemeData
push eax
call fcn.00522ae0
nop
jmp 0x504de4
xor eax, eax
mov dword [0x632b94], eax
cmp word [esi], bx
jne 0x504e2a
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x504e2a
cmp eax, 0x7fffffff
jae 0x504e2a
cmp dword [eax + esi], 0x4550
jne 0x504e2a
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x504e2a
cmp dword [edx + 4], 0
je 0x504e2a
push 0
add eax, esi
mov ecx, esi
push str.CloseThemeData
push eax
call fcn.00522ae0
jmp 0x504e2c
xor eax, eax
mov dword [0x632bb0], eax
cmp word [esi], bx
jne 0x504e75
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x504e75
lea ecx, [ecx]
cmp eax, 0x7fffffff
jae 0x504e75
cmp dword [eax + esi], 0x4550
jne 0x504e75
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x504e75
cmp dword [edx + 4], 0
je 0x504e75
push 0
add eax, esi
mov ecx, esi
push str.SetWindowTheme
push eax
call fcn.00522ae0
jmp 0x504e77
xor eax, eax
mov dword [0x632b40], eax
lea esp, [esp]
cmp word [esi], bx
jne 0x504ec2
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x504ec2
cmp eax, 0x7fffffff
jae 0x504ec2
cmp dword [eax + esi], 0x4550
jne 0x504ec2
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x504ec2
cmp dword [edx + 4], 0
je 0x504ec2
push 0
add eax, esi
mov ecx, esi
push str.IsThemeActive
push eax
call fcn.00522ae0
nop
jmp 0x504ec4
xor eax, eax
mov dword [0x632be0], eax
cmp word [esi], bx
jne 0x504f0a
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x504f0a
cmp eax, 0x7fffffff
jae 0x504f0a
cmp dword [eax + esi], 0x4550
jne 0x504f0a
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x504f0a
cmp dword [edx + 4], 0
je 0x504f0a
push 0
add eax, esi
mov ecx, esi
push str.IsThemePartDefined
push eax
call fcn.00522ae0
jmp 0x504f0c
xor eax, eax
mov dword [0x632b6c], eax
cmp word [esi], bx
jne 0x504f55
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x504f55
lea ecx, [ecx]
cmp eax, 0x7fffffff
jae 0x504f55
cmp dword [eax + esi], 0x4550
jne 0x504f55
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x504f55
cmp dword [edx + 4], 0
je 0x504f55
push 0
add eax, esi
mov ecx, esi
push str.GetThemeInt
push eax
call fcn.00522ae0
jmp 0x504f57
xor eax, eax
mov dword [0x632b60], eax
lea esp, [esp]
cmp word [esi], bx
jne 0x504fa2
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x504fa2
cmp eax, 0x7fffffff
jae 0x504fa2
cmp dword [eax + esi], 0x4550
jne 0x504fa2
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x504fa2
cmp dword [edx + 4], 0
je 0x504fa2
push 0
add eax, esi
mov ecx, esi
push str.GetThemePartSize
push eax
call fcn.00522ae0
nop
jmp 0x504fa4
xor eax, eax
mov dword [0x632b98], eax
cmp word [esi], bx
jne 0x504fea
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x504fea
cmp eax, 0x7fffffff
jae 0x504fea
cmp dword [eax + esi], 0x4550
jne 0x504fea
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x504fea
cmp dword [edx + 4], 0
je 0x504fea
push 0
add eax, esi
mov ecx, esi
push str.DrawThemeBackground
push eax
call fcn.00522ae0
jmp 0x504fec
xor eax, eax
cmp dword [0x62abb0], 0x72
mov dword [0x632b8c], eax
jb 0x50500a
push 0x4a
xor edx, edx
mov ecx, esi
call fcn.00522940
mov dword [0x632b58], eax
cmp dword [0x62abb0], 0x3f
jb 0x50506c
push 0x800
push 0
push str.shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
jne 0x505059
push 0x200
push eax
push str.shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
jne 0x505059
cmp dword [0x62abb0], 0x3e
jae 0x50506c
push eax
push eax
push str.shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x50506c
push 0
mov edx, str.GetDpiForMonitor
mov ecx, eax
call fcn.00522940
mov dword [0x632ba8], eax
cmp dword [0x62abb0], 0x66
jb 0x50511d
push 0x800
push 0
push 0x5f3834
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x5050cc
push 0x200
push eax
push 0x5f3834
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x5050cc
cmp dword [0x62abb0], 0x3e
jae 0x50511d
push eax
push eax
push 0x5f3834
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x50511d
push 0
mov edx, str.GetDpiForWindow
mov ecx, esi
call fcn.00522940
push 0
mov edx, str.GetDpiForSystem
mov dword [0x632bd0], eax
mov ecx, esi
call fcn.00522940
push 0
mov edx, str.GetSystemMetricsForDpi
mov dword [0x632b80], eax
mov ecx, esi
call fcn.00522940
push 0
mov edx, str.SystemParametersInfoForDpi
mov dword [0x632b90], eax
mov ecx, esi
call fcn.00522940
mov dword [0x632bdc], eax
xor ecx, ecx
call fcn.00505140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret