Function at 0x530c60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x62e040]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [esp + 0x18], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0x1ff0000
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
cmp byte [0x6354c9], al
jne 0x530e32
push 0x800
push eax
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x530d19
push 0x200
push eax
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x530d19
cmp dword [0x62ebb0], 0x3e
jae 0x530d17
push eax
push eax
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x530d19
xor esi, esi
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x530d62
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x530d62
cmp eax, 0x7fffffff
jae 0x530d62
cmp dword [eax + esi], 0x4550
jne 0x530d62
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x530d62
cmp dword [edx + 4], 0
je 0x530d62
push 0
add eax, esi
mov ecx, esi
push str.BeginBufferedPaint
push eax
call fcn.00528e20
nop
jmp 0x530d64
xor eax, eax
mov ecx, esi
mov dword [0x6372c8], eax
mov edx, 0x3c
mov eax, 0x5a4d
add ecx, edx
mov dword [esp + 0x20], ecx
cmp word [esi], ax
jne 0x530dc4
mov eax, dword [ecx]
test eax, eax
je 0x530dc4
cmp eax, 0x7fffffff
jae 0x530dc4
cmp dword [eax + esi], 0x4550
jne 0x530dc4
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x530dc4
cmp dword [edx + 4], 0
je 0x530dc4
push 0
add eax, esi
mov ecx, esi
push str.EndBufferedPaint
push eax
call fcn.00528e20
mov ecx, dword [esp + 0x20]
jmp 0x530dc6
xor eax, eax
mov dword [0x6372cc], eax
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x530e22
mov eax, dword [ecx]
test eax, eax
je 0x530e22
jmp 0x530de0
cmp eax, 0x7fffffff
jae 0x530e22
cmp dword [eax + esi], 0x4550
jne 0x530e22
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x530e22
cmp dword [edx + 4], 0
je 0x530e22
push 0
add eax, esi
mov ecx, esi
push str.GetBufferedPaintBits
push eax
call fcn.00528e20
mov dword [0x6372c4], eax
mov byte [0x6354c9], 1
nop
jmp 0x530e37
xor eax, eax
mov byte [0x6354c9], 1
mov dword [0x6372c4], eax
jmp 0x530e37
mov eax, dword [0x6372c4]
cmp dword [0x6372c8], 0
mov edi, edi
je 0x530fe5
cmp dword [0x6372cc], 0
je 0x530fe5
test eax, eax
je 0x530fe5
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
mov edi, eax
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x1c]
push 0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x44]
push eax
push 0
lea eax, [esp + 0x60]
mov dword [esp + 0x78], 0
push eax
push esi
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x68], 0x28
mov dword [esp + 0x74], 0x200001
mov dword [esp + 0x78], 0
mov dword [esp + 0x6c], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push esi
push 0
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword ds:[esp + 0x10]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [0x6372c8]
mov ecx, esi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], 1
push eax
push 1
lea eax, [esp + 0x4c]
push eax
push edi
call dword [0x5a38f4]
call esi
mov dword [esp + 0x20], eax
test eax, eax
je 0x530f8e
mov esi, dword ds:[esp + 0x18]
push 3
push 0
push 0
push esi
push ebx
push dword [esp + 0x30]
push 0
push 0
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_DrawIconEx]
push esi
mov esi, dword [esp + 0x24]
mov edx, edi
push ebx
push dword [esp + 0x24]
mov ecx, esi
call fcn.00530aa0
push 1
push esi
mov esi, dword [0x6372cc]
mov ecx, esi
call dword [0x5a38f4]
call esi
jmp 0x530fb6
push 6
lea eax, [esp + 0x44]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
push 3
push 0
push 0
push dword [esp + 0x24]
push ebx
push dword [esp + 0x30]
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword ds:[esp + 0x28]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.005802ef
mov esp, ebp
pop ebp
ret 0xc
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push dword [esp + 0x14]
mov ebx, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push esi
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
lea eax, [esp + 0x40]
push 6
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 3
push 0
push 0
push dword [esp + 0x24]
push dword [esp + 0x20]
push dword [esp + 0x30]
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_DrawIconEx]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x7c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005802ef
mov esp, ebp
pop ebp
ret 0xc