Function at 0x40cb10
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a141
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x45e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 1
push 0xff1c7ced
push 0xff6ebeff
lea edx, [ebp - 0x24]
mov dword [esi], vtable.CInstallerButton.0
mov dword [esi + 8], ebx
push edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
mov dword [esi + 0x20], 6
mov dword [esi + 0x18], vtable.Gdiplus::LinearGradientBrush.0
mov dword [ebp - 0x14], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateLineBrushFromRectI]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
push edx
push ebx
push 1
mov dword [ebp - 4], ebx
push 0xff2074da
push 0xff58adee
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edi
mov dword [esi + 0x2c], 6
mov dword [esi + 0x24], vtable.Gdiplus::LinearGradientBrush.0
mov dword [ebp - 0x14], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateLineBrushFromRectI]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], ecx
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push ebx
push 1
push 0xff4d99d5
push 0xff1b66c3
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edi
mov dword [esi + 0x38], 6
mov dword [esi + 0x30], vtable.Gdiplus::LinearGradientBrush.0
mov dword [ebp - 0x14], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateLineBrushFromRectI]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], edx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 1
push 0xff848484
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
mov dword [esi + 0x44], 6
mov dword [esi + 0x3c], vtable.Gdiplus::LinearGradientBrush.0
mov dword [ebp - 0x14], ebx
push 0xffbdbdbd
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.gdiplus.dll_GdipCreateLineBrushFromRectI]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x40], eax
fld1
lea eax, [esi + 0x48]
push eax
push ebx
push ecx
fstp dword [esp]
push 0xff1b5e8f
mov dword [eax], ebx
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
mov dword [esi + 0x4c], eax
fld1
lea eax, [esi + 0x50]
push eax
push ebx
push ecx
fstp dword [esp]
push 0xffc6c6c6
mov dword [eax], ebx
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
mov dword [esi + 0x54], eax
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
mov dword [esi + 0x60], 6
mov dword [esi + 0x58], vtable.Gdiplus::SolidBrush.0
mov dword [ebp - 0x14], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], edx
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
mov dword [esi + 0x6c], 6
mov dword [esi + 0x64], vtable.Gdiplus::SolidBrush.0
mov dword [ebp - 0x14], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
lea edx, [ebp - 0x14]
push edx
push 0xff143955
mov dword [esi + 0x78], 6
mov dword [esi + 0x70], vtable.Gdiplus::SolidBrush.0
mov dword [ebp - 0x14], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x74], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov byte [ebp - 4], 8
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], ebx
mov eax, dword [0x45e020]
mov edx, dword [eax + 0xc]
mov ecx, 0x45e020
lea ebx, [esi + 0x88]
call edx
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 9
mov dword [esi + 0xc], eax
mov eax, dword [0x461624]
mov dword [esi + 0x10], edi
mov edi, dword [ebp + 0x10]
lea eax, [eax + eax*8]
lea eax, [eax*4 + 0x45fd28]
mov ax, word [eax]
mov ecx, edi
call fcn.0040d770
test eax, eax
jne 0x40cd72
mov eax, dword [0x45fd28]
mov ecx, edi
call fcn.0040d770
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14