Function at 0x40f080
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4518e9
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x46f06c]
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 - 0x210], edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20c], edi
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 4], 2
mov dword [edi + 0x2c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
mov dword [edi], vtable.TrLabel.0
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov byte [ebp - 4], 1
push eax
push 0x463468
mov byte [edi + 0x60], al
mov dword [edi + 0x58], eax
mov dword [edi + 0x54], eax
call fcn.00402f60
push 0
lea eax, [ebp - 0x208]
mov byte [edi + 0x22], 0
push eax
push 0x1f8
push 0x29
mov byte [edi + 0x61], 0
mov dword [ebp - 0x208], 0x1f8
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebx, dword [sym.imp.gdiplus.dll_GdipAlloc]
push 8
mov dword [ebp - 0x210], eax
call ebx
mov dword [ebp - 0x20c], eax
test eax, eax
je 0x40f19b
movss xmm2, dword [0x4675b0]
lea ecx, [ebp - 0x54]
sub esp, 0xc
push ecx
mov ecx, eax
call fcn.0040f490
jmp 0x40f19d
xor eax, eax
push 0xc
mov dword [edi + 0x4c], eax
call ebx
mov esi, eax
mov dword [ebp - 0x20c], esi
test esi, esi
je 0x40f1e7
lea eax, [ebp - 0x20c]
mov dword [esi + 8], 6
push eax
push 0xff000000
mov dword [esi], vtable.Gdiplus::SolidBrush.0
mov dword [ebp - 0x20c], 0
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x20c]
mov dword [esi + 4], eax
jmp 0x40f1e9
xor esi, esi
push 0x471f1c
mov dword [edi + 0x50], esi
call dword [sym.imp.gdiplus.dll_GdipStringFormatGetGenericTypographic]
mov dword [0x471f20], eax
lea eax, [ebp - 0x20c]
push eax
push dword [0x471f1c]
mov dword [ebp - 0x20c], 0
call dword [sym.imp.gdiplus.dll_GdipCloneStringFormat]
mov dword [0x471f20], eax
test eax, eax
jne 0x40f23e
push 8
call ebx
mov esi, eax
test esi, esi
je 0x40f23e
mov ecx, dword [ebp - 0x20c]
mov eax, dword [0x471f20]
mov dword [esi + 4], eax
mov dword [esi], ecx
jmp 0x40f240
xor esi, esi
push 0x1000
mov dword [edi + 0x48], esi
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatFlags]
test eax, eax
je 0x40f257
mov dword [esi + 4], eax
mov esi, dword [edi + 0x50]
push 0xff000000
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipSetSolidFillColor]
test eax, eax
je 0x40f26f
mov dword [esi + 8], eax
push dword [ebp - 0x210]
call dword [sym.imp.GDI32.dll_DeleteObject]
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.0043045f
mov esp, ebp
pop ebp
ret 0x18