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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fe44d
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5415b0]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x5415b0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0x10]
xorps xmm0, xmm0
movdqu xmmword [esp + 0xa0], xmm0
mov eax, dword [edx + 0x18]
mov dword [esp + 0x84], eax
lea eax, [esp + 0xa0]
push eax
push dword [edx + 0x14]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
test eax, eax
je 0x4583f7
mov ecx, dword [esp + 0xa8]
sub ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xac]
sub edx, dword [esp + 0xa4]
push ecx
push edx
push ecx
mov ecx, eax
call fcn.004150a8
jmp 0x4583f9
xor eax, eax
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x84], eax
call fcn.0041504e
and dword [esp + 0xc0], 0
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
sub edi, eax
mov esi, dword [esp + 0xac]
and dword [esp + 0x48], 0
sub esi, ecx
mov dword [esp + 0x14], eax
dec esi
mov dword [esp + 0x34], eax
dec edi
lea eax, [esp + 0x48]
mov dword [esp + 0x28], ecx
push eax
push 0
push ecx
mov dword [esp], 0x3f800000
push dword [ebx + 0x48]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x4c], edi
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x28]
call fcn.0044d8cf
cmp dword [ebx + 0x4c], 0
je 0x4584e3
push dword [ebx + 0x4c]
push dword [esp + 0x4c]
call dword [sym.imp.gdiplus.dll_GdipSetPenColor]
mov ecx, dword [esp + 0x4c]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], eax
sub edi, 2
mov eax, dword [esp + 0x28]
sub esi, 2
inc eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x40], edi
push eax
mov dword [esp + 0x48], esi
call fcn.0044d8cf
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x70]
inc eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
inc eax
dec esi
mov dword [esp + 0x64], eax
dec edi
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
call fcn.004152bc
push esi
mov esi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x6c]
push edi
push esi
push dword [eax + 4]
push dword [esp + 0x34]
call dword [sym.imp.gdiplus.dll_GdipFillRectangleI]
mov ecx, dword [esp + 0x24]
test eax, eax
push dword [esp + 0x74]
cmovne ecx, eax
mov dword [esp + 0x74], vtable.Gdiplus::Brush.0
mov dword [esp + 0x28], ecx
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x45859e
call fcn.00415426
mov ecx, dword [esp + 0x68]
sub esp, 0x10
mov dword [esp + 0x88], ecx
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x8c], eax
call fcn.00415426
push eax
push 1
push 0
push 0
lea eax, [esp + 0x90]
push eax
push dword [ebx + 0x28]
lea ecx, [esp + 0x48]
call fcn.004153d7
mov eax, dword [0x542750]
mov dword [esp + 0x14], eax
mov byte [esp + 0xc0], 2
lea esi, [esp + 0x34]
lea edi, [esp + 0x90]
xor edx, edx
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x70]
sar edi, 2
mov dword [esp + 0x2c], edi
test edi, edi
jle 0x45873e
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
mov dword [esp + 0x88], eax
xor ecx, ecx
test edx, edx
jne 0x4585f0
inc ecx
jmp 0x4585f9
lea eax, [edi - 1]
cmp edx, eax
setne cl
dec ecx
mov esi, dword [ebx + 0x34]
lea eax, [esp + 0x14]
imul esi, edx
push eax
push edx
add esi, ecx
mov ecx, ebx
add esi, dword [esp + 0x30]
call fcn.00458f7b
lea eax, [esi + 6]
xor ecx, ecx
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
mov dword [esp + 0x24], ecx
call dword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
mov dword [esp + 0x1c], eax
push 3
mov byte [esp + 0xc4], 3
push dword [esp + 0x1c]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatTrimming]
mov ecx, dword [esp + 0x1c]
test eax, eax
push dword [esp + 0x30]
cmovne ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, ebx
call fcn.00458c23
test eax, eax
jne 0x458668
mov eax, dword [ebx + 0x3c]
jmp 0x45866b
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x34]
lea eax, [esp + 0x44]
push eax
call fcn.004152bc
movss xmm2, dword [ebx + 0x5c]
mov esi, eax
push ecx
push ecx
push dword [ebx + 0x60]
lea ecx, [esp + 0x7c]
push dword [ebx + 0x58]
call fcn.0041532d
mov ecx, dword [ebx + 0x2c]
mov edx, eax
mov eax, dword [esp + 0x90]
inc eax
mov dword [esp + 0x5c], 0x41800000
add ecx, eax
mov eax, dword [esp + 0x14]
push esi
movd xmm1, ecx
mov ecx, dword [ebx + 0x30]
add ecx, dword [esp + 0x90]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea ecx, [esp + 0x1c]
cvtdq2ps xmm0, xmm0
push ecx
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x2c]
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x60], xmm0
movd xmm0, dword [esp + 0x94]
cvtdq2ps xmm0, xmm0
push edx
movss dword [esp + 0x68], xmm0
push dword [eax - 8]
push eax
call fcn.004151cf
push dword [esp + 0x70]
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
push dword [esp + 0x38]
mov dword [esp + 0x38], vtable.Gdiplus::Brush.0
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov byte [esp + 0xc0], 2
push dword [esp + 0x18]
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x30], edx
cmp edx, edi
jl 0x4585e7
cmp dword [ebx + 0x24], 0xffffffff
je 0x4588da
push dword [ebx + 0x24]
mov ecx, ebx
call fcn.00458c23
test eax, eax
jne 0x4588da
mov edx, dword [ebx + 0x24]
xor ecx, ecx
test edx, edx
jne 0x458766
inc ecx
jmp 0x45876f
lea eax, [edi - 1]
cmp edx, eax
setne cl
dec ecx
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x60]
lea edi, [esp + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x34]
mov edi, edx
imul edi, esi
add edi, ecx
add edi, dword [esp + 0x28]
cmp eax, 1
je 0x45879d
cmp dword [ebx + 0x4c], 0
je 0x4587a0
dec eax
cmp edx, eax
jne 0x4587a0
sub esi, 3
mov eax, dword [ebx + 0x44]
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
call fcn.004152bc
push esi
push dword [esp + 0x5c]
push edi
push dword [esp + 0x5c]
push dword [eax + 4]
push dword [esp + 0x34]
call dword [sym.imp.gdiplus.dll_GdipFillRectangleI]
mov ecx, dword [esp + 0x24]
test eax, eax
push dword [esp + 0x38]
cmovne ecx, eax
mov dword [esp + 0x38], vtable.Gdiplus::Brush.0
mov dword [esp + 0x28], ecx
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
push dword [ebx + 0x24]
call fcn.00458f7b
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
add edi, 6
mov dword [esp + 0x24], ecx
call dword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
push 3
push dword [esp + 0x1c]
mov dword [esp + 0x24], eax
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatTrimming]
mov ecx, dword [esp + 0x1c]
test eax, eax
cmovne ecx, eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x34]
push eax
call fcn.004152bc
movss xmm2, dword [ebx + 0x5c]
mov esi, eax
push ecx
push ecx
push dword [ebx + 0x60]
lea ecx, [esp + 0x7c]
push dword [ebx + 0x58]
call fcn.0041532d
mov ecx, dword [ebx + 0x2c]
add ecx, dword [esp + 0x50]
push esi
mov dword [esp + 0x70], 0x41800000
movd xmm0, ecx
mov ecx, dword [ebx + 0x30]
cvtdq2ps xmm0, xmm0
add ecx, edi
movss dword [esp + 0x64], xmm0
movd xmm0, ecx
lea ecx, [esp + 0x1c]
cvtdq2ps xmm0, xmm0
push ecx
lea ecx, [esp + 0x68]
push ecx
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x30]
movss dword [esp + 0x74], xmm0
movd xmm0, dword [esp + 0x68]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x78], xmm0
push dword [eax - 8]
push eax
call fcn.004151cf
push dword [esp + 0x70]
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
push dword [esp + 0x38]
mov dword [esp + 0x38], vtable.Gdiplus::Brush.0
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
push dword [esp + 0x18]
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
mov eax, dword [esp + 0xa8]
lea esi, [esp + 0x50]
sub eax, dword [esp + 0xa0]
lea ecx, [esp + 0x84]
and dword [esp + 0x50], 0
sub esp, 0x10
and dword [esp + 0x64], 0
mov edi, esp
mov ebx, dword [esp + 0x90]
mov edx, ebx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0xb4]
mov dword [esp + 0x6c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044f72a
add esp, 0x10
test ebx, ebx
je 0x458939
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
lea ecx, [esp + 0x14]
call fcn.00403030
push dword [esp + 0x48]
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004d5e2a
mov esp, ebp
pop ebp
ret 0x10