Function at 0x40a850
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f6c9
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x44db90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0x1c], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x210], edi
mov dword [edi + 0x18], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 8], edx
mov dword [edi + 4], 2
mov dword [edi + 0x34], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [ebp - 4], ebx
mov dword [edi], vtable.TrLabel.0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [edi + 0x38], eax
mov byte [ebp - 4], 1
mov byte [edi + 0x58], bl
mov dword [edi + 0x50], ebx
mov dword [edi + 0x4c], ebx
mov ebx, 0x444a9c
lea eax, [edi + 0x38]
mov dword [edi + 0x3c], 0xffffffff
call fcn.00401f00
xor esi, esi
push esi
lea eax, [ebp - 0x208]
push eax
push 0x1f8
push 0x29
mov dword [edi + 0x28], esi
mov dword [edi + 0x5c], esi
mov dword [ebp - 0x208], 0x1f8
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebx, dword [sym.imp.gdiplus.dll_GdipAlloc]
push 8
mov dword [ebp - 0x210], eax
call ebx
cmp eax, esi
je 0x40a94d
fld dword [0x4469f0]
push ecx
lea ecx, [ebp - 0x54]
fstp dword [esp]
mov esi, eax
call fcn.0040ae90
jmp 0x40a94f
xor eax, eax
push 0xc
mov dword [edi + 0x44], eax
call ebx
mov esi, eax
test esi, esi
je 0x40a993
lea edx, [ebp - 0x20c]
push edx
push 0xff000000
mov dword [esi + 8], 6
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 0x40a995
xor esi, esi
push 0x450834
mov dword [edi + 0x48], esi
call dword [sym.imp.gdiplus.dll_GdipStringFormatGetGenericTypographic]
mov edx, dword [0x450834]
lea ecx, [ebp - 0x20c]
push ecx
xor esi, esi
push edx
mov dword [0x450838], eax
mov dword [ebp - 0x20c], esi
call dword [sym.imp.gdiplus.dll_GdipCloneStringFormat]
mov dword [0x450838], eax
cmp eax, esi
jne 0x40a9ec
push 8
call ebx
cmp eax, esi
je 0x40a9e8
mov ecx, dword [ebp - 0x20c]
mov edx, dword [0x450838]
mov dword [eax + 4], edx
mov dword [eax], ecx
jmp 0x40a9ea
xor eax, eax
mov esi, eax
mov dword [edi + 0x40], esi
mov eax, dword [esi]
push 0x1000
push eax
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatFlags]
test eax, eax
je 0x40aa04
mov dword [esi + 4], eax
mov esi, dword [edi + 0x48]
mov ecx, dword [esi + 4]
push 0xff000000
push ecx
call dword [sym.imp.gdiplus.dll_GdipSetSolidFillColor]
test eax, eax
je 0x40aa1d
mov dword [esi + 8], eax
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428a4d
mov esp, ebp
pop ebp
ret 0x10