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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4872f4
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x4af3d4]
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 0x4096a7
mov eax, dword [edi]
cmp eax, 0x138a
jne 0x4092ec
movsd xmm0, qword [edi + 8]
mulsd xmm0, qword [0x4a6a30]
mov ecx, dword [ebx + 0x6ac]
cvttsd2si eax, xmm0
push eax
call fcn.00421d00
jmp 0x40969f
cmp eax, 0x138b
jne 0x409574
sub esp, 8
lea ecx, [ebp - 0x4d4]
call fcn.00407fe0
lea eax, [ebp - 0x4a4]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4d4]
push eax
push ecx
lea ecx, [ebp - 0x45c]
call fcn.00407e30
mov eax, dword [ebp - 0x45c]
lea ecx, [ebp - 0x45c]
push eax
push dword [eax]
lea eax, [ebp - 0x454]
push eax
call fcn.00402b80
push dword [ebp - 0x45c]
call fcn.00444d00
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4d4]
push fcn.00403140
push 1
push 0x30
push eax
call fcn.0046784b
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
call fcn.00407fb0
push eax
mov dword [ebp - 0x45c], eax
lea ecx, [ebp - 0x45c]
push dword [eax]
lea eax, [ebp - 0x454]
push eax
call fcn.00402b80
push dword [ebp - 0x45c]
call fcn.00444d00
add esp, 4
call fcn.00412e40
mov ecx, eax
call fcn.0040f2f0
push eax
lea ecx, [ebp - 0x450]
call fcn.00402460
push str.resmainWndinstallPrg3.png
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 1
call fcn.00402460
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x474]
call fcn.004035a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x409402
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x474]
mov esi, eax
call fcn.00402590
test esi, esi
je 0x40944d
mov ecx, dword [ebx + 0x6ac]
test ecx, ecx
je 0x40943e
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.00421cb0
mov ecx, dword [ebx + 0x6ac]
test ecx, ecx
je 0x40944d
call fcn.0041cf00
push 0x3e8
push 1
lea ecx, [ebx + 0x2c]
call fcn.00412e70
push eax
lea ecx, [ebx + 0x2c]
call fcn.00417410
xor ecx, ecx
mov dword [ebp - 0x460], 7
push 0xffffffffffffffff
push ecx
lea eax, [ebx + 0x6b8]
mov word [ebp - 0x474], cx
push eax
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x464], 0
call fcn.00401fb0
push str.inst.ep
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 3
call fcn.00401ea0
cmp dword [eax + 0x14], 8
jb 0x4094b3
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 2
call fcn.00402590
xor eax, eax
mov dword [ebp - 0x460], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x474], ax
lea ecx, [ebp - 0x474]
lea eax, [ebx + 0x6b8]
mov dword [ebp - 0x464], 0
push eax
call fcn.00401fb0
push str.unins.ep
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 4
call fcn.00401ea0
cmp dword [eax + 0x14], 8
jb 0x409519
mov eax, dword [eax]
push eax
call esi
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 2
call fcn.00402590
mov ecx, ebx
call fcn.0040a420
push ecx
push str.SoftwareHudunSoft_speechtranslationking
push ecx
mov edx, 0x208
lea ecx, [ebp - 0x420]
call fcn.004088d0
lea edx, [ebp - 0x420]
mov ecx, SysReAllocString
call fcn.0040dbf0
lea ecx, [ebp - 0x438]
call fcn.00402590
lea ecx, [ebp - 0x450]
call fcn.00402590
jmp 0x40969f
cmp eax, 0x138c
je 0x409586
cmp eax, 0x3e9
jne 0x40969f
push edi
call fcn.00409720
push 0xffffffffffffffff
push 0x4a59b0
lea ecx, [ebp - 0x660]
mov dword [ebp - 0x668], 4
mov dword [ebp - 0x664], 0x84
call fcn.0040f010
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x5dc]
mov dword [ebp - 4], 0xc
call fcn.0040f010
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 0xd
call fcn.00402460
mov esi, eax
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 0xe
call fcn.00402460
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.00407f10
push eax
push 0
lea eax, [ebp - 0x474]
mov ecx, edi
push eax
call fcn.00407ed0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x409624
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x558]
call fcn.0040f010
lea ecx, [ebp - 0x474]
call fcn.00402590
lea ecx, [ebp - 0x48c]
call fcn.00402590
lea ecx, [ebp - 0x4a4]
call fcn.00402590
mov dword [ebp - 4], 0x11
mov edi, dword [ebp - 0x454]
cmp dword [edi + 0x24], 8
lea eax, [edi + 0x10]
jb 0x40966b
mov eax, dword [eax]
push ecx
push eax
mov ecx, ebx
call fcn.00450b90
lea edx, [ebp - 0x668]
mov ecx, eax
call fcn.0040ec60
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x668]
call fcn.00407de0
push 1
mov ecx, ebx
call fcn.004106e0
push ecx
mov ecx, edi
call fcn.004096d0
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.0046756e
mov esp, ebp
pop ebp
ret 0x10