Function at 0x51ccd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5765ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x80
cmp dword [ecx + 0xa4], 4
mov edx, 0x17
mov eax, 0x10
mov dword [ebp - 0x14], ecx
cmove eax, edx
mov dword [ebp - 0x1c], 0
push esi
push edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [ecx + 0x80]
cvttsd2si eax, xmm0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 8]
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov edi, dword [ebp - 0x1c]
mov esi, eax
mov dword [ebp - 0x44], edi
push 4
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
mov ecx, dword [ebp - 0x14]
test eax, eax
push 0
cmovne esi, eax
sub esp, 8
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 8]
movss xmm2, dword [ecx + 0x20]
movss xmm5, dword [ecx + 0x24]
movaps xmm1, xmm2
mulss xmm1, dword [ecx + 0x48]
movaps xmm4, xmm2
movd xmm0, eax
movaps xmm3, xmm5
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
subss xmm4, xmm1
mulss xmm3, dword [ecx + 0x48]
movaps xmm1, xmm5
cvtdq2ps xmm0, xmm0
subss xmm1, xmm3
subss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm4, xmm2
subss xmm5, xmm0
mulss xmm4, dword [0x59ebb8]
subss xmm1, xmm5
mulss xmm1, dword [0x59ebb8]
movss dword [esp + 4], xmm1
movss dword [esp], xmm4
push edi
call dword [sym.imp.gdiplus.dll_GdipTranslateWorldTransform]
test eax, eax
push 0
cmovne esi, eax
mov eax, dword [ebp - 0x14]
sub esp, 8
movss xmm0, dword [eax + 0x48]
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
push edi
call dword [sym.imp.gdiplus.dll_GdipScaleWorldTransform]
test eax, eax
cmovne esi, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x51ce17
mov eax, dword [eax + 4]
jmp 0x51ce19
xor eax, eax
push 0
push 0
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawImageI]
test eax, eax
cmovne esi, eax
mov eax, dword [0x5b8394]
test byte [eax + 0xa8], 2
je 0x51d0d0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateMatrix]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipSetWorldTransform]
test eax, eax
mov dword [ebp - 0x58], 0x592b8c
mov dword [ebp - 0x18], 0
cmovne esi, eax
lea eax, [ebp - 0x18]
push eax
push 0xffff2929
mov dword [ebp - 0x24], esi
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov esi, dword [eax + 0x10]
sub esi, dword [eax + 8]
mov eax, ecx
cdq
sub eax, edx
movd xmm0, ecx
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar ecx, 1
mov edx, dword [ebp - 0x14]
sar eax, 1
add eax, ecx
cvtdq2pd xmm0, xmm0
movd xmm1, eax
mulsd xmm0, qword [0x59ebd8]
mov eax, dword [edx + 0x14]
sub eax, dword [edx + 0xc]
cdq
sub eax, edx
cvtpd2ps xmm2, xmm0
sar eax, 1
sub eax, ecx
movd xmm3, eax
movaps xmm0, xmm2
movss dword [ebp - 0x20], xmm2
mulss xmm0, dword [0x59ebb8]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm3, xmm3
subss xmm1, xmm0
subss xmm3, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
subss xmm0, xmm2
comiss xmm0, xmm1
ja 0x51cf07
movaps xmm1, xmm0
maxss xmm3, dword [0x59eb8c]
sub esp, 0x10
movss dword [ebp - 0x74], xmm1
movss dword [ebp - 0x6c], xmm2
movss dword [ebp - 0x68], xmm2
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm3
movss dword [esp], xmm1
push dword [ebp - 0x18]
movss dword [ebp - 0x70], xmm3
push edi
call dword [sym.imp.gdiplus.dll_GdipFillEllipse]
mov ecx, dword [ebp - 0x24]
test eax, eax
mov dword [ebp - 0x64], 0x592b8c
cmovne ecx, eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x40], ecx
push eax
push 0xffffffffffffffff
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0
push 0
call dword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0
push str.Arial
call dword [sym.imp.gdiplus.dll_GdipCreateFontFamilyFromName]
mov dword [ebp - 0x30], eax
movss xmm0, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
cvtps2pd xmm0, xmm0
push eax
push 2
push 1
push ecx
mov dword [ebp - 0x14], 0
mulsd xmm0, qword [0x59ebe0]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [ebp - 0x34]
call dword [sym.imp.gdiplus.dll_GdipCreateFont]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
push 1
mov byte [ebp - 4], 6
push dword [ebp - 0x2c]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
mov ecx, dword [ebp - 0x28]
test eax, eax
push 1
cmovne ecx, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x28], ecx
xorps xmm0, xmm0
push 0x585a7c
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x8c], xmm0
call fcn.00429670
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
push esi
cmovae eax, dword [ebp - 0x8c]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x74]
push ecx
push dword [ebp - 0x14]
push dword [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawString]
mov ecx, dword [ebp - 0x78]
cmp ecx, 8
jb 0x51d087
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x51d07d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51d0f5
push ecx
push edx
call fcn.00544491
add esp, 8
push dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
push dword [ebp - 0x34]
call dword [sym.imp.gdiplus.dll_GdipDeleteFontFamily]
push dword [ebp - 0x2c]
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
push esi
mov esi, dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
call esi
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x1c]
call dword [sym.imp.gdiplus.dll_GdipDeleteMatrix]
push 0
push edi
call dword [sym.imp.gdiplus.dll_GdipFlush]
push edi
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0054947f
int3