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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x4c9144]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp byte [esi + 0x14], 0
mov dword [esp + 0x18], edi
je 0x442ec6
mov eax, dword [esi + 0x74]
cmp dword [eax - 0xc], 0
je 0x442ec6
cmp byte [esi + 0x44], 0
jne 0x442db6
mov edx, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], 0
call dword [sym.imp.gdiplus.dll_GdipGetDC]
test eax, eax
je 0x442c4e
mov dword [edi + 4], eax
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x442c79
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x442c7b
mov eax, dword [eax]
mov ebx, dword [esi + 0x60]
cmp ebx, 0xffffffff
jne 0x442c9f
mov ecx, dword [0x4d290c]
movzx edx, byte [ecx + 0xc]
movzx ebx, byte [ecx + 0xd]
movzx ecx, byte [ecx + 0xe]
shl edx, 8
or ebx, edx
shl ebx, 8
or ebx, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x28]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
cmp eax, 1
je 0x442ce1
cmp eax, 2
jne 0x442d4d
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x80]
or ecx, 0x400
push ecx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x74]
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
test eax, eax
je 0x442d4d
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x28]
cmp dword [esi + 0x6c], 1
jne 0x442d45
mov ecx, dword [esp + 0x30]
sub eax, ecx
add eax, dword [esp + 0x38]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x442d4d
add eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
cmp byte [esi + 0x64], 0
mov ebx, dword [esi + 0x80]
je 0x442d79
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
push 0
push 0
push 0x129
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 2
je 0x442d79
or ebx, 0x100000
mov eax, dword [esi + 0x74]
push ebx
lea edx, [esp + 0x30]
push edx
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x14]
push ecx
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
push edi
push edx
call dword [sym.imp.gdiplus.dll_GdipReleaseDC]
test eax, eax
je 0x442ec6
mov dword [esi + 4], eax
jmp 0x442ec6
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x442dcc
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x158]
mov dword [esp + 0x14], ecx
jmp 0x442dd0
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x48]
test eax, eax
jne 0x442de2
mov edx, dword [0x4d290c]
mov edi, dword [edx + 0x24]
jmp 0x442de4
mov edi, eax
cmp byte [esi + 0x64], 0
je 0x442e20
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
push 0
push 0
push 0x129
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esi + 0x78]
test al, 2
je 0x442e0e
mov ecx, dword [ebx]
push 2
push ecx
jmp 0x442e13
mov edx, dword [ebx]
push 1
push edx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatHotkeyPrefix]
test eax, eax
je 0x442e20
mov dword [ebx + 4], eax
fild dword [esi + 0x1c]
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x28]
sub ecx, dword [esi + 0x20]
fstp dword [esp + 0x1c]
fild dword [esi + 0x20]
mov edx, dword [0x4d290c]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x20]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fstp dword [esp + 0x24]
fild dword [esp + 0x10]
fstp dword [esp + 0x28]
cmp byte [edx + 0x18], 0
je 0x442e78
fld dword [esp + 0x1c]
fld qword [0x4b2bf0]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1c]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esp + 0x34], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x18], 0
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0x78]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x74]
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x38], ebx
call fcn.0042c440
push ebx
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.00487efe
mov esp, ebp
pop ebp
ret 4