Function at 0x42c0d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x544ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x42c18c
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], esi
jne 0x42c137
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], esi
mov dword [eax], esi
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [esp + 0x17], 0
cmp dword [ebx + 0x98], esi
jne 0x42c2db
mov ecx, eax
movzx eax, word [ecx]
push eax
push ebx
mov ecx, edi
call fcn.0042e930
cmp eax, esi
je 0x42c18c
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], esi
push ecx
mov dword [esp + 0x20], esi
call fcn.00435d10
cmp dword [esp + 0x18], esi
jne 0x42c1a6
mov edx, dword [esp + 0x24]
push edx
call sub.gdiplus.dll_GdipDeleteFontFamily
xor al, al
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx + 8]
push eax
lea ecx, [esp + 0x20]
call fcn.00434590
mov byte [esp + 0x98], 1
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x42c1cd
push 0x80004003
call fcn.0050a1f0
mov ecx, dword [edi]
mov eax, dword [ecx + 0x40]
lea edx, [esp + 0x6c]
push edx
push edi
call eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x80]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
push ecx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
lea eax, [esp + 0x28]
lea esi, [esp + 0x20]
fstp dword [esp]
call fcn.00435cc0
lea ecx, [esp + 0x34]
push ecx
push 0
push 0
mov dword [esp + 0x40], 0
call sub.gdiplus.dll_GdipCreateStringFormat
fldz
mov ecx, dword [ebp + 8]
fst dword [esp + 0x68]
fst dword [esp + 0x64]
lea esi, [esp + 0x2c]
fst dword [esp + 0x60]
mov dword [esp + 0x38], eax
fst dword [esp + 0x5c]
fst dword [esp + 0x48]
fst dword [esp + 0x44]
fst dword [esp + 0x40]
fstp dword [esp + 0x3c]
call fcn.00435c40
mov ebx, dword [ebx + 0xc]
mov eax, dword [ebx - 0xc]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x60]
push ecx
push eax
push ebx
lea eax, [esp + 0x44]
lea edx, [esp + 0x2c]
call fcn.00435bf0
test eax, eax
jne 0x42c29e
fld dword [esp + 0x44]
call fcn.0050fa90
fld dword [esp + 0x48]
mov esi, dword [ebp + 0xc]
mov dword [esi], eax
call fcn.0050fa90
mov dword [esi + 4], eax
mov byte [esp + 0x17], 1
mov edx, dword [esp + 0x2c]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
mov eax, dword [esp + 0x34]
push eax
call sub.gdiplus.dll_GdipDeleteStringFormat
mov ecx, dword [esp + 0x1c]
push ecx
call sub.gdiplus.dll_GdipDeleteFont
mov byte [esp + 0x98], 0
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov ecx, dword [esp + 0x24]
push ecx
call sub.gdiplus.dll_GdipDeleteFontFamily
jmp 0x42c46c
lea edx, [esp + 0x18]
push edx
push edi
mov dword [esp + 0x20], esi
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
push 5
push eax
mov dword [esp + 0xa0], 2
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, esi
je 0x42c311
mov dword [esp + 0x38], eax
lea esi, [esp + 0x1c]
call fcn.00435ba0
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0xa0]
push 0x20
mov ecx, dword [ebx + 0x9c]
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_CreateFontW]
mov esi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x24], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c36d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea esi, [esp + 0x38]
call fcn.00435b10
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x5000
mov dword [esp + 0x38], 0
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0xc4]
mov ecx, 1
cmp eax, ecx
jne 0x42c3a7
xor ecx, ecx
jmp 0x42c3b1
cmp eax, 3
jne 0x42c3b1
mov ecx, 2
mov edx, dword [esp + 0x2c]
push ecx
push edx
call sub.gdiplus.dll_GdipSetStringFormatAlign
test eax, eax
je 0x42c3c4
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
push 1
push eax
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
test eax, eax
je 0x42c3d8
mov dword [esp + 0x30], eax
fldz
mov edx, dword [esp + 0x2c]
mov ebx, dword [ebx + 0xc]
fst dword [esp + 0x78]
mov esi, dword [esp + 0x34]
fst dword [esp + 0x74]
mov edi, dword [esp + 0x18]
fst dword [esp + 0x70]
push 0
fst dword [esp + 0x70]
push 0
fst dword [esp + 0x60]
lea ecx, [esp + 0x54]
fst dword [esp + 0x5c]
push ecx
fst dword [esp + 0x5c]
push edx
fstp dword [esp + 0x5c]
mov eax, dword [ebx - 0xc]
lea ecx, [esp + 0x7c]
push ecx
push esi
push eax
push ebx
push edi
call sub.gdiplus.dll_GdipMeasureString
test eax, eax
jne 0x42c447
fld dword [esp + 0x54]
call fcn.0050fa90
fld dword [esp + 0x58]
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
call fcn.0050fa90
mov dword [ebx + 4], eax
mov byte [esp + 0x17], 1
mov edx, dword [esp + 0x2c]
push edx
call sub.gdiplus.dll_GdipDeleteStringFormat
push esi
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x24]
test eax, eax
je 0x42c466
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call sub.gdiplus.dll_GdipDeleteGraphics
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8