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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47cac3
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x498040]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0xe8], edi
jne 0x41c5e6
cmp dword [ebx + 0xec], edi
jne 0x41c5e6
mov esi, ebx
cmp dword [ebx + 0x78], edi
jne 0x41c5dc
call fcn.0041bf49
jmp 0x41c998
call fcn.0041befc
jmp 0x41c998
mov dword [ebx + 0xe8], edi
mov dword [ebx + 0xec], edi
mov esi, ebx
cmp dword [ebx + 0x78], edi
jne 0x41c600
call fcn.0041bf49
jmp 0x41c605
call fcn.0041befc
push dword [ebx + 0xc]
lea esi, [esp + 0x1c]
call fcn.00401000
push 8
mov dword [esp + 0xac], edi
call sub.gdiplus.dll_GdipAlloc
cmp eax, edi
je 0x41c635
lea ecx, [ebx + 0x18]
push ecx
push dword [ebx + 0xc]
mov esi, eax
call fcn.0041b7a6
mov esi, eax
jmp 0x41c637
xor esi, esi
mov dword [esp + 0x34], esi
cmp dword [esi], edi
jne 0x41c67c
push 0x485550
lea eax, [ebx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi]
call sub.gdiplus.dll_GdipDeleteFont
push esi
call sub.gdiplus.dll_GdipFree
push 8
call sub.gdiplus.dll_GdipAlloc
cmp eax, edi
je 0x41c676
lea ecx, [ebx + 0x18]
push ecx
push dword [ebx + 0xc]
mov esi, eax
call fcn.0041b7a6
jmp 0x41c678
xor eax, eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
push edi
push edi
mov dword [esp + 0x2c], edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x24], eax
push edi
push dword [esp + 0x24]
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x41c6a2
mov dword [esp + 0x24], eax
push edi
push dword [esp + 0x24]
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x41c6b4
mov dword [esp + 0x24], eax
push 4
push dword [esp + 0x1c]
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, edi
je 0x41c6c7
mov dword [esp + 0x1c], eax
movsx eax, word [ebx + 0x9e]
mov dword [esp + 0x10], eax
push edi
push ecx
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
push dword [esp + 0x20]
call sub.gdiplus.dll_GdipRotateWorldTransform
cmp eax, edi
je 0x41c6f4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], edi
xor eax, eax
lea edi, [esp + 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x50]
push eax
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
push 0xffffff
push dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
call sub.gdiplus.dll_GdipGraphicsClear
test eax, eax
je 0x41c73d
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa8]
fild dword [ebx + 0x104]
mov ecx, dword [ebx + 0xa4]
movzx edx, cl
fstp dword [esp + 0x38]
fild dword [ebx + 0x108]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xa0]
mov dword [esp + 0x28], ebx
fstp dword [esp + 0x3c]
mov ebx, ecx
shr ecx, 0x10
mov esi, 0xffffff00
or edx, esi
shl edx, 8
movzx ecx, cl
shr ebx, 8
movzx edi, bl
or edx, edi
shl edx, 8
or edx, ecx
movzx ecx, al
mov dword [esp + 0x48], edx
mov edx, eax
or ecx, esi
shr edx, 8
shr eax, 0x10
shl ecx, 8
movzx edx, dl
movzx eax, al
or ecx, edx
shl ecx, 8
or ecx, eax
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x44], ecx
push eax
lea eax, [esp + 0x50]
lea ecx, [esp + 0x48]
lea esi, [esp + 0x98]
mov dword [esp + 0x80], 0x80
call fcn.0041b6ed
mov byte [esp + 0xa8], 2
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 0x120]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x10c]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x120]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x10c]
lea edi, [esp + 0x40]
lea esi, [esp + 0x28]
mov dword [esp + 0x40], eax
call fcn.00410788
test al, al
je 0x41c8da
call fcn.0040393b
cmp dword [esp + 0x10], 0
je 0x41c84b
push dword [esp + 0x10]
push eax
call fcn.0041c069
lea esi, [esp + 0x28]
call fcn.0040393b
cmp dword [eax + 0x18], 8
jb 0x41c85f
mov eax, dword [eax + 4]
jmp 0x41c862
add eax, 4
fld dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
fstp dword [esp + 0x80]
fld dword [esp + 0x3c]
fstp dword [esp + 0x84]
fldz
fst dword [esp + 0x88]
fstp dword [esp + 0x8c]
test ecx, ecx
je 0x41c894
mov ecx, dword [ecx]
jmp 0x41c896
xor ecx, ecx
push dword [esp + 0x94]
lea edx, [esp + 0x84]
push dword [esp + 0x24]
push edx
push ecx
push 0xffffffffffffffff
push eax
push dword [esp + 0x30]
call sub.gdiplus.dll_GdipDrawString
test eax, eax
je 0x41c8be
mov dword [esp + 0x1c], eax
fild dword [ebx + 0x100]
lea esi, [esp + 0x28]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x3c]
call fcn.0040341c
jmp 0x41c80c
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x6c], eax
xor eax, eax
lea edi, [esp + 0x15]
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, byte [ebx + 0x9c]
mov dword [esp + 0x30], eax
xor esi, esi
mov dword [esp + 0x70], esi
fild dword [esp + 0x30]
mov dword [esp + 0x74], esi
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
fdiv qword [0x48caa8]
mov byte [esp + 0x17], 1
fmul qword [0x48ca38]
call fcn.00478f36
push dword [ebx + 8]
mov byte [esp + 0x1a], al
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov edi, eax
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x7c]
push eax
push dword [ebx + 0xc]
lea eax, [esp + 0x7c]
push eax
push esi
push edi
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push edi
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esp + 0x34]
cmp edi, esi
je 0x41c97a
push dword [edi]
call sub.gdiplus.dll_GdipDeleteFont
push edi
call sub.gdiplus.dll_GdipFree
push dword [esp + 0x94]
call sub.gdiplus.dll_GdipDeleteBrush
push dword [esp + 0x20]
call sub.gdiplus.dll_GdipDeleteStringFormat
push dword [esp + 0x18]
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret