Function at 0x405690
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432010
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x448090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x74], edi
mov esi, dword [sym.imp.gdiplus.dll_GdipCreateLineBrushFromRectI]
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x70]
push eax
push 0
push 1
push 0xff4081b1
push 0xff6baad8
lea eax, [ebp - 0x84]
mov dword [edi + 4], 0
push eax
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0x106
mov dword [ebp - 0x78], 0x2f
mov dword [edi + 0x1c], 6
mov dword [edi + 0x14], vtable.Gdiplus::LinearGradientBrush.0
mov dword [ebp - 0x70], 0
call esi
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x70]
mov dword [edi + 0x18], eax
lea eax, [ebp - 0x70]
push eax
push 0
push 1
mov dword [ebp - 4], 0
push 0xff4081b1
push 0xff5797c5
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0x106
mov dword [ebp - 0x78], 0x2f
mov dword [edi + 0x28], 6
mov dword [edi + 0x20], vtable.Gdiplus::LinearGradientBrush.0
mov dword [ebp - 0x70], 0
call esi
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x70]
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x70]
push eax
push 0
push 1
push 0xff4181b1
push 0xff4283b2
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0x106
mov dword [ebp - 0x78], 0x2f
mov dword [edi + 0x34], 6
mov dword [edi + 0x2c], vtable.Gdiplus::LinearGradientBrush.0
mov dword [ebp - 0x70], 0
call esi
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x70]
mov dword [edi + 0x30], eax
lea eax, [ebp - 0x70]
push eax
push 0
push 1
push 0xffc6c6c6
push 0xffdddddd
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0x106
mov dword [ebp - 0x78], 0x2f
mov dword [edi + 0x40], 6
mov dword [edi + 0x38], vtable.Gdiplus::LinearGradientBrush.0
mov dword [ebp - 0x70], 0
call esi
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x70]
mov dword [edi + 0x3c], eax
lea esi, [edi + 0x44]
mov edi, dword [sym.imp.gdiplus.dll_GdipCreatePen1]
push esi
push 0
push ecx
mov dword [esi], 0
mov dword [esp], 0x3f800000
push 0xff1b5e8f
call edi
mov dword [esi + 4], eax
mov esi, dword [ebp - 0x74]
add esi, 0x4c
push esi
push 0
push ecx
mov dword [esi], 0
mov dword [esp], 0x3f800000
push 0xffc6c6c6
call edi
mov dword [esi + 4], eax
mov edi, dword [ebp - 0x74]
mov esi, dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
lea eax, [ebp - 0x74]
push eax
push 0xffffffffffffffff
mov dword [edi + 0x5c], 6
mov dword [edi + 0x54], vtable.Gdiplus::SolidBrush.0
mov dword [ebp - 0x74], 0
call esi
mov dword [edi + 0x5c], eax
mov eax, dword [ebp - 0x74]
mov dword [edi + 0x58], eax
lea eax, [ebp - 0x74]
push eax
push 0xff143955
mov dword [edi + 0x68], 6
mov dword [edi + 0x60], vtable.Gdiplus::SolidBrush.0
mov dword [ebp - 0x74], 0
call esi
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 0x74]
mov dword [edi + 0x64], eax
mov byte [ebp - 4], 7
push ebx
lea ecx, [edi + 0x70]
mov dword [edi + 0x6c], 0
call fcn.00403130
push 0x5c
lea eax, [ebp - 0x6c]
push 0
push eax
mov dword [edi + 8], 0x106
mov dword [edi + 0xc], 0x2f
call fcn.00421940
add esp, 0xc
mov dword [ebp - 0x6c], 0xffffffee
mov dword [ebp - 0x5c], 0x258
mov byte [ebp - 0x55], 1
mov byte [ebp - 0x52], 5
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
mov edx, str.Tahoma
mov ecx, str.Segoe_UI
cmovbe ecx, edx
push ecx
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.00420d76
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [edi + 0x6c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041fe49
mov esp, ebp
pop ebp
ret 0xc