Function at 0x456aec
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebx + 0x24]
je 0x45701a
lea edi, [ebx + 0x44]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x456b13
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x14]
call fcn.0040d6dc
push dword [esp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45700e
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov ecx, dword [esp + 0xc]
mov esi, eax
push 4
push ecx
mov dword [esp + 0x38], ecx
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
test eax, eax
cmovne esi, eax
cmp dword [edi + 0x14], 8
mov dword [esp + 0x34], esi
jb 0x456b66
mov edi, dword [edi]
push ecx
push edi
lea ecx, [esp + 0x80]
call fcn.00452dad
mov eax, dword [ebx + 0x24]
lea edi, [ebx + 0x80]
movss xmm1, dword [ebx + 0xa0]
lea esi, [esp + 0x68]
push ecx
push ecx
movd xmm0, dword [eax - 8]
lea ecx, [esp + 0x38]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x70], xmm0
movd xmm0, dword [eax - 4]
lea eax, [esp + 0x80]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x74], xmm0
movd xmm0, dword [ebx + 0xa4]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x78], xmm0
movd xmm0, dword [ebx + 0xa8]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x7c], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x80]
movss xmm0, dword [edi + 0xc]
movss xmm3, dword [edi + 4]
movss xmm2, dword [edi]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp], xmm0
push eax
call fcn.00452c8c
cmp byte [ebx + 0x2c], 0
je 0x456fb2
lea eax, [esp + 0x28]
xor esi, esi
push eax
push esi
push ecx
mov dword [esp], 0x40000000
push 0xffff0000
mov dword [esp + 0x38], esi
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0x28], esi
call dword [sym.imp.gdiplus.dll_GdipCreatePath]
movss xmm3, dword [edi]
lea ecx, [esp + 0x20]
movss xmm2, dword [ebx + 0x84]
movaps xmm4, xmm3
addss xmm3, dword [ebx + 0x88]
movss xmm5, dword [0x4c90a8]
movaps xmm1, xmm2
addss xmm2, dword [ebx + 0x8c]
subss xmm4, xmm5
mov dword [esp + 0x24], eax
subss xmm1, xmm5
mov dword [esp + 0x40], 0x41000000
subss xmm3, xmm5
mov dword [esp + 0x44], 0x41000000
lea eax, [esp + 0x38]
mov dword [esp + 0x50], 0x41000000
subss xmm2, xmm5
mov dword [esp + 0x54], 0x41000000
push eax
movss dword [esp + 0x10], xmm4
movss dword [esp + 0x3c], xmm4
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x5c], xmm3
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x60], xmm2
mov dword [esp + 0x64], 0x41000000
mov dword [esp + 0x68], 0x41000000
movss dword [esp + 0x6c], xmm4
movss dword [esp + 0x70], xmm2
mov dword [esp + 0x74], 0x41000000
mov dword [esp + 0x78], 0x41000000
call fcn.004528f2
movss xmm2, dword [edi]
sub esp, 0x10
movss xmm1, dword [ebx + 0x84]
movaps xmm0, xmm2
addss xmm0, dword [edi + 8]
addss xmm2, dword [0x4c90a8]
mov esi, dword [sym.imp.gdiplus.dll_GdipAddPathLine]
movss dword [esp + 0xc], xmm1
subss xmm0, dword [0x4c90a8]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
push dword [esp + 0x30]
call esi
mov ecx, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x48]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push eax
call fcn.004528f2
movss xmm2, dword [ebx + 0x84]
sub esp, 0x10
movss xmm1, dword [edi + 8]
movaps xmm0, xmm2
addss xmm0, dword [ebx + 0x8c]
addss xmm1, dword [edi]
addss xmm2, dword [0x4c90a8]
subss xmm0, dword [0x4c90a8]
movss dword [esp + 0xc], xmm0
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm2
movss dword [esp], xmm1
push dword [esp + 0x30]
call esi
mov ecx, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x68]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push eax
call fcn.004528f2
movss xmm0, dword [edi]
sub esp, 0x10
movss xmm2, dword [ebx + 0x84]
movaps xmm1, xmm0
addss xmm1, dword [ebx + 0x88]
addss xmm2, dword [ebx + 0x8c]
addss xmm0, dword [0x4c90a8]
subss xmm1, dword [0x4c90a8]
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm2
movss dword [esp], xmm1
push dword [esp + 0x30]
call esi
mov ecx, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x58]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push eax
call fcn.004528f2
movss xmm2, dword [ebx + 0x84]
sub esp, 0x10
movss xmm1, dword [edi]
movaps xmm0, xmm2
addss xmm2, dword [ebx + 0x8c]
addss xmm0, dword [0x4c90a8]
subss xmm2, dword [0x4c90a8]
movss dword [esp + 0xc], xmm0
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm2
movss dword [esp], xmm1
push dword [esp + 0x30]
call esi
mov ecx, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], ecx
push eax
lea ecx, [esp + 0x38]
call fcn.00452b7e
movss xmm3, dword [0x4c90a8]
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [esp + 0xc]
movaps xmm0, xmm1
subss xmm0, xmm3
mov dword [esp + 0x40], 0x41800000
subss xmm1, xmm3
mov dword [esp + 0x44], 0x41800000
subss xmm2, xmm3
mov dword [esp + 0x50], 0x41800000
mov dword [esp + 0x54], 0x41800000
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x18]
subss xmm0, xmm3
movss dword [esp + 0x4c], xmm1
movss xmm1, dword [esp + 0x1c]
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm1
subss xmm0, xmm3
movss dword [esp + 0x5c], xmm0
subss xmm1, xmm3
mov dword [esp + 0x60], 0x41800000
lea eax, [ebx + 0x6c]
mov dword [esp + 0x64], 0x41800000
push eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x6c], xmm2
push eax
movss dword [esp + 0x74], xmm1
mov dword [esp + 0x78], 0x41800000
mov dword [esp + 0x7c], 0x41800000
call fcn.0047729d
lea eax, [ebx + 0x70]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0047729d
lea eax, [ebx + 0x78]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0047729d
lea eax, [ebx + 0x74]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.0047729d
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipDeletePath]
push dword [esp + 0x28]
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
cmp dword [ebx + 0x68], 0
je 0x456fc1
push dword [ebx + 0x68]
call dword [sym.imp.GDI32.dll_DeleteObject]
movss xmm1, dword [ebx + 0x84]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x8c]
cvttss2si eax, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [edi]
addss xmm0, dword [edi + 8]
push edx
cvttss2si ecx, xmm0
push ecx
push eax
cvttss2si eax, dword [edi]
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push dword [esp + 0x7c]
mov dword [ebx + 0x68], eax
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
push dword [esp + 0x30]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4