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

Disassembly:
push 0xffffffffffffffff
push 0x544da8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x57f09c], 0
je 0x42ebfa
lea eax, [esp + 0x4c]
push eax
lea ebx, [esp + 0x88]
mov byte [esp + 0x1f], 0
call fcn.004302a0
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov ebx, dword [0x57f314]
test edi, edi
je 0x42e993
cmp edi, dword [0x57f2fc]
je 0x42e998
call fcn.0050dcae
cmp ebp, ebx
je 0x42e9bf
test edi, edi
jne 0x42e9bb
call fcn.0050dcae
cmp ebp, dword [edi + 0x18]
jne 0x42e9af
call fcn.0050dcae
mov cl, byte [ebp + 0xe]
mov byte [esp + 0x1b], cl
jmp 0x42ebee
mov edi, dword [edi]
jmp 0x42e9a5
push esi
mov dword [esp + 0x7c], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
mov dword [esp + 0x30], ebp
push 4
push 4
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
push ebx
push ebp
mov dword [esp + 0x30], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0x1c]
push edx
xor esi, esi
push ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], esi
call sub.gdiplus.dll_GdipCreateFromHDC
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edi
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
mov dword [esp + 0x24], esi
call sub.gdiplus.dll_GdipCreateSolidFill
push 4
push 4
push esi
push esi
mov esi, dword [esp + 0x2c]
push esi
push edi
call sub.gdiplus.dll_GdipFillRectangleI
test eax, eax
je 0x42ea37
mov dword [esp + 0x38], eax
push esi
call sub.gdiplus.dll_GdipDeleteBrush
xor esi, esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 3
mov eax, dword [0x57f09c]
push ecx
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x28], esi
call fcn.00435d10
cmp dword [esp + 0x20], esi
je 0x42ebb8
push 3
push edi
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, esi
je 0x42ea7e
mov dword [esp + 0x38], eax
fld dword [0x5619e8]
push ecx
lea eax, [esp + 0x50]
fstp dword [esp]
lea esi, [esp + 0x48]
call fcn.00435cc0
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x1c]
push eax
push edi
push ecx
call sub.gdiplus.dll_GdipGetFontHeight
xor ebx, ebx
cmp eax, ebx
je 0x42eaaf
mov dword [esp + 0x48], eax
fld dword [esp + 0x1c]
lea edx, [esp + 0x3c]
fdiv qword [0x5619e0]
push edx
push ebx
push 0x5000
mov dword [esp + 0x48], ebx
fstp dword [esp + 0x30]
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x40], eax
lea eax, [esp + 0x1c]
push eax
push 0xff000000
mov dword [esp + 0x5c], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x24], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
fld dword [esp + 0x24]
mov byte [esp + 0x78], 6
fld st(0)
fldz
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0xc]
fsubrp st(1)
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x40]
fstp dword [esp + 0x64]
lea edi, [esp + 0x48]
fldz
lea esi, [esp + 0x38]
fstp dword [esp + 0x68]
fadd st(0), st(0)
fadd qword [0x5619d8]
fstp dword [esp + 0x6c]
fld dword [0x5619e8]
fstp dword [esp + 0x70]
mov edx, dword [eax - 0xc]
push edx
push eax
lea eax, [esp + 0x60]
call fcn.004354e0
mov ebx, dword [sym.imp.GDI32.dll_GetPixel]
xor edi, edi
lea esp, [esp]
xor esi, esi
push esi
push edi
push ebp
call ebx
cmp eax, 0xffffff
jne 0x42eb76
inc esi
cmp esi, 4
jl 0x42eb62
jmp 0x42eb7b
mov byte [esp + 0x1b], 1
inc edi
cmp edi, 4
jl 0x42eb60
lea eax, [esp + 0x84]
push eax
call fcn.00430150
mov edx, dword [esp + 0x1c]
mov cl, byte [esp + 0x1b]
push edx
mov byte [eax], cl
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x3c]
push eax
call sub.gdiplus.dll_GdipDeleteStringFormat
mov ecx, dword [esp + 0x44]
push ecx
call sub.gdiplus.dll_GdipDeleteFont
mov ebx, dword [esp + 0x28]
xor esi, esi
mov edx, dword [esp + 0x2c]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x4c]
push eax
call sub.gdiplus.dll_GdipDeleteFontFamily
mov ecx, dword [esp + 0x34]
push ecx
call sub.gdiplus.dll_GdipDeleteGraphics
cmp ebx, esi
je 0x42ebe3
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp ebp, esi
je 0x42ebee
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [esp + 0x1b], 0
mov eax, dword [0x57f09c]
jne 0x42ebff
mov eax, dword [0x57f098]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 8