Function at 0x40ee60
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522b04
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x574464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x454], edi
test edi, edi
je 0x40f257
mov eax, dword [edi]
cmp eax, 0x138a
jne 0x40eecc
movsd xmm0, qword [edi + 8]
mulsd xmm0, qword [0x560cb8]
mov ecx, dword [ebx + 0x6ac]
cvttsd2si eax, xmm0
push eax
call fcn.0044f7f0
jmp 0x40f24f
cmp eax, 0x138b
jne 0x40f124
sub esp, 8
lea ecx, [ebp - 0x4cc]
call fcn.0040dc40
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x49c]
mov ecx, esp
lea edx, [ebp - 0x4cc]
push eax
push edx
call fcn.0040da90
push 0x55ddf8
xorps xmm1, xmm1
mov ecx, 0x55e2e0
call fcn.00406d30
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
push fcn.00408720
push 1
push 0x30
push eax
call fcn.004e0bdd
sub esp, 8
mov esi, esp
mov dword [ebp - 0x454], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040dc10
mov dword [esi], eax
call fcn.00406aa0
add esp, 8
call fcn.00440940
mov ecx, eax
call fcn.0043cde0
push eax
lea ecx, [ebp - 0x450]
call fcn.00405cd0
push str.resmainWndinstallPrg3.png
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 1
call fcn.00405cd0
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x46c]
call fcn.0040fff0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40efb2
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x46c]
mov esi, eax
call fcn.00405e00
test esi, esi
je 0x40effd
mov ecx, dword [ebx + 0x6ac]
test ecx, ecx
je 0x40efee
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.0044f7a0
mov ecx, dword [ebx + 0x6ac]
test ecx, ecx
je 0x40effd
call fcn.0044a9d0
push 0x3e8
push 1
lea ecx, [ebx + 0x2c]
call fcn.00440970
push eax
lea ecx, [ebx + 0x2c]
call fcn.00444f10
xor ecx, ecx
mov dword [ebp - 0x458], 7
push 0xffffffffffffffff
push ecx
lea eax, [ebx + 0x6b8]
mov word [ebp - 0x46c], cx
push eax
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x45c], 0
call fcn.00405820
push str.inst.ep
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 3
call fcn.00405710
cmp dword [eax + 0x14], 8
jb 0x40f063
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 2
call fcn.00405e00
xor eax, eax
mov dword [ebp - 0x458], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x46c], ax
lea ecx, [ebp - 0x46c]
lea eax, [ebx + 0x6b8]
mov dword [ebp - 0x45c], 0
push eax
call fcn.00405820
push str.unins.ep
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 4
call fcn.00405710
cmp dword [eax + 0x14], 8
jb 0x40f0c9
mov eax, dword [eax]
push eax
call esi
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 2
call fcn.00405e00
mov ecx, ebx
call fcn.0040fe70
push ecx
push str.SoftwareHudunSoftTibetanTranslator
push ecx
mov edx, 0x208
lea ecx, [ebp - 0x420]
call fcn.0040e4c0
lea edx, [ebp - 0x420]
mov ecx, reloc.WS2_32.dll_accept
call fcn.0043b760
lea ecx, [ebp - 0x438]
call fcn.00405e00
lea ecx, [ebp - 0x450]
call fcn.00405e00
jmp 0x40f24f
cmp eax, 0x138c
je 0x40f136
cmp eax, 0x3e9
jne 0x40f24f
push edi
call fcn.0040f2d0
push 0xffffffffffffffff
push 0x55ddf8
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x660], 4
mov dword [ebp - 0x65c], 0x84
call fcn.0043cb00
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x5d4]
mov dword [ebp - 4], 0xc
call fcn.0043cb00
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 0xd
call fcn.00405cd0
mov esi, eax
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 0xe
call fcn.00405cd0
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.0040db70
push eax
push 0
lea eax, [ebp - 0x46c]
mov ecx, edi
push eax
call fcn.0040db30
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x40f1d4
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x550]
call fcn.0043cb00
lea ecx, [ebp - 0x46c]
call fcn.00405e00
lea ecx, [ebp - 0x484]
call fcn.00405e00
lea ecx, [ebp - 0x49c]
call fcn.00405e00
mov edi, dword [ebp - 0x454]
lea eax, [edi + 0x10]
mov dword [ebp - 4], 0x11
cmp dword [eax + 0x14], 8
jb 0x40f21b
mov eax, dword [eax]
push ecx
push eax
mov ecx, ebx
call fcn.0043e3f0
lea edx, [ebp - 0x660]
mov ecx, eax
call fcn.0043c750
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x660]
call fcn.0040da40
push 1
mov ecx, ebx
call fcn.0043e1d0
push ecx
mov ecx, edi
call fcn.0040f280
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e06c8
mov esp, ebp
pop ebp
ret 0x10