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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x502172
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5475b0]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x5475b0]
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 0x45b1f7
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.00415755
jmp 0x45b1f9
xor eax, eax
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x84], eax
call fcn.004156fb
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 + 0x40], 0
sub esi, ecx
mov dword [esp + 0x14], eax
dec esi
mov dword [esp + 0x30], eax
dec edi
lea eax, [esp + 0x40]
mov dword [esp + 0x20], ecx
push eax
push 0
push ecx
mov dword [esp], 0x3f800000
push dword [ebx + 0x48]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], edi
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x50]
call fcn.00450702
cmp dword [ebx + 0x4c], 0
je 0x45b2e3
push dword [ebx + 0x4c]
push dword [esp + 0x44]
call dword [sym.imp.gdiplus.dll_GdipSetPenColor]
mov ecx, dword [esp + 0x44]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x30], eax
sub edi, 2
mov eax, dword [esp + 0x20]
sub esi, 2
inc eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x3c], edi
push eax
mov dword [esp + 0x44], esi
call fcn.00450702
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x70]
inc eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x20]
inc eax
dec esi
mov dword [esp + 0x64], eax
dec edi
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
call fcn.00415969
push esi
mov esi, dword [esp + 0x64]
lea ecx, [esp + 0x4c]
push edi
mov edi, dword [esp + 0x6c]
push edi
push esi
push eax
call fcn.004156c2
push dword [esp + 0x74]
mov dword [esp + 0x74], vtable.Gdiplus::Brush.0
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x45b38e
call fcn.00415ad3
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.00415ad3
push eax
push 1
push 0
push 0
lea eax, [esp + 0x90]
push eax
push dword [ebx + 0x28]
lea ecx, [esp + 0x70]
call fcn.00415a84
mov eax, dword [0x548750]
mov dword [esp + 0x14], eax
mov byte [esp + 0xc0], 2
lea esi, [esp + 0x30]
lea edi, [esp + 0x90]
xor edx, edx
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], 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 + 0x24], edi
test edi, edi
jle 0x45b52e
mov eax, dword [esp + 0x2c]
add eax, 0xfffffffd
mov dword [esp + 0x88], eax
xor ecx, ecx
test edx, edx
jne 0x45b3e0
inc ecx
jmp 0x45b3e9
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 + 0x28]
call fcn.0045bd4b
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 + 0x28]
cmovne ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, ebx
call fcn.0045b9f3
test eax, eax
jne 0x45b458
mov eax, dword [ebx + 0x3c]
jmp 0x45b45b
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x2c]
push eax
call fcn.00415969
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.004159da
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 + 0x54]
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.0041587c
push dword [esp + 0x70]
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
push dword [esp + 0x34]
mov dword [esp + 0x34], 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 + 0x28]
inc edx
mov dword [esp + 0x28], edx
cmp edx, edi
jl 0x45b3d7
cmp dword [ebx + 0x24], 0xffffffff
je 0x45b6ba
push dword [ebx + 0x24]
mov ecx, ebx
call fcn.0045b9f3
test eax, eax
jne 0x45b6ba
mov edx, dword [ebx + 0x24]
xor ecx, ecx
test edx, edx
jne 0x45b556
inc ecx
jmp 0x45b55f
lea eax, [edi - 1]
cmp edx, eax
setne cl
dec ecx
mov eax, dword [esp + 0x24]
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 + 0x20]
cmp eax, 1
je 0x45b58d
cmp dword [ebx + 0x4c], 0
je 0x45b590
dec eax
cmp edx, eax
jne 0x45b590
sub esi, 3
mov eax, dword [ebx + 0x44]
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
call fcn.00415969
push esi
push dword [esp + 0x5c]
lea ecx, [esp + 0x50]
push edi
push dword [esp + 0x5c]
push eax
call fcn.004156c2
push dword [esp + 0x34]
mov dword [esp + 0x34], vtable.Gdiplus::Brush.0
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
push dword [ebx + 0x24]
call fcn.0045bd4b
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 + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x30]
push eax
call fcn.00415969
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.004159da
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 + 0x58]
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.0041587c
push dword [esp + 0x70]
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
push dword [esp + 0x34]
mov dword [esp + 0x34], 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.0045254d
add esp, 0x10
test ebx, ebx
je 0x45b719
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
lea ecx, [esp + 0x14]
call fcn.00403080
push dword [esp + 0x40]
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
push dword [esp + 0x48]
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.004d9731
mov esp, ebp
pop ebp
ret 0x10