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

Disassembly:
push 0xffffffffffffffff
push 0x544de0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, edx
mov ebp, dword [esp + 0x70]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x42e59c
push ecx
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x38]
mov esi, dword [ebp + 0x34]
add dword [esp + 0x40], esi
add dword [esp + 0x44], edx
sub dword [esp + 0x48], ecx
sub dword [esp + 0x4c], eax
cmp dword [ebp + 0x1c], 3
jne 0x42e280
cmp byte [esp + 0x7c], 0
jne 0x42e280
and edi, 0xffffff
or edi, 0xb2000000
mov eax, edi
jmp 0x42e292
movzx eax, byte [ebp + 0xbc]
shl eax, 0x18
and edi, 0xffffff
or eax, edi
lea ecx, [esp + 0x7c]
push ecx
xor edi, edi
push eax
mov dword [esp + 0x38], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x84], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x68], edi
cmp dword [ebp + 0x98], 1
jne 0x42e45c
mov ebx, dword [esp + 0x74]
mov eax, dword [ebx]
push 5
push eax
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, edi
je 0x42e2e0
mov dword [ebx + 4], eax
lea esi, [esp + 0x74]
call fcn.00435ba0
mov eax, dword [eax]
mov ecx, dword [ebp + 0xa0]
push eax
push 0x20
mov edx, dword [ebp + 0x9c]
push edi
push edi
push edi
push 1
push edi
push edi
push edi
push ecx
push edi
push edi
push edi
push edx
call dword [sym.imp.GDI32.dll_CreateFontW]
mov esi, eax
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov dword [esp + 0x70], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e333
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x78]
push esi
lea esi, [esp + 0x2c]
call fcn.00435b10
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x5000
mov dword [esp + 0x24], 0
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc4]
mov ecx, 1
cmp eax, ecx
jne 0x42e371
xor ecx, ecx
jmp 0x42e37b
cmp eax, 3
jne 0x42e37b
mov ecx, 2
mov edx, dword [esp + 0x18]
push ecx
push edx
call sub.gdiplus.dll_GdipSetStringFormatAlign
test eax, eax
je 0x42e38e
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push 1
push eax
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
test eax, eax
je 0x42e3a2
mov dword [esp + 0x1c], eax
mov edx, dword [ebx]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x78]
push ecx
push edx
push esi
call sub.gdiplus.dll_GdipGetFontHeight
fld dword [esp + 0x78]
fdiv qword [0x5619e0]
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x7c]
mov ebp, dword [ebp + 0xc]
push edx
lea edx, [esp + 0x34]
fstp dword [esp + 0x7c]
fild dword [esp + 0x44]
fld dword [esp + 0x7c]
fld st(0)
fsubp st(2)
mov dword [esp + 0x7c], eax
fxch st(1)
fstp dword [esp + 0x34]
fild dword [esp + 0x48]
fstp dword [esp + 0x38]
fild dword [esp + 0x7c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x1c]
fxch st(1)
fadd st(0), st(0)
push ecx
push edx
push esi
faddp st(1)
fstp dword [esp + 0x48]
fild dword [esp + 0x88]
fstp dword [esp + 0x4c]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebx]
push ebp
push eax
call sub.gdiplus.dll_GdipDrawString
test eax, eax
je 0x42e434
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x18]
push ecx
call sub.gdiplus.dll_GdipDeleteStringFormat
push esi
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x70]
test eax, eax
je 0x42e592
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x42e592
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
mov ecx, dword [esp + 0x78]
push eax
push ebp
call fcn.0042e930
cmp eax, edi
je 0x42e592
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x24]
mov byte [esp + 0x6c], 1
push edx
mov dword [esp + 0x80], edi
call fcn.00435d10
cmp dword [esp + 0x78], edi
je 0x42e588
mov eax, dword [ebp + 0xcc]
mov ebx, dword [esp + 0x74]
push eax
mov eax, dword [ebx]
push eax
call sub.gdiplus.dll_GdipSetTextRenderingHint
test eax, eax
je 0x42e4bc
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
lea eax, [esp + 0x20]
mov dword [esp + 0x74], ecx
fild dword [esp + 0x74]
push ecx
lea esi, [esp + 0x2c]
fstp dword [esp]
call fcn.00435cc0
mov eax, ebx
call fcn.00435990
fdiv qword [0x5619e0]
lea edx, [esp + 0x18]
push edx
push 0
push 0x5000
mov dword [esp + 0x24], 0
fstp dword [esp + 0x80]
call sub.gdiplus.dll_GdipCreateStringFormat
fild dword [esp + 0x40]
fld dword [esp + 0x74]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
fld st(0)
fsubp st(2)
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
fxch st(1)
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
fstp dword [esp + 0x50]
lea edx, [esp + 0x50]
fild dword [esp + 0x44]
mov dword [esp + 0x74], eax
push edx
mov edi, esi
fstp dword [esp + 0x58]
mov esi, ebx
fild dword [esp + 0x78]
mov dword [esp + 0x78], ecx
fxch st(1)
lea ecx, [esp + 0x1c]
fadd st(0), st(0)
faddp st(1)
fstp dword [esp + 0x5c]
fild dword [esp + 0x78]
fstp dword [esp + 0x60]
mov eax, dword [ebp - 0xc]
push eax
push ebp
lea eax, [esp + 0x3c]
call fcn.004354e0
mov ecx, dword [esp + 0x18]
push ecx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov edx, dword [esp + 0x28]
push edx
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x20]
push eax
call sub.gdiplus.dll_GdipDeleteFontFamily
mov ecx, dword [esp + 0x7c]
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10