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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523494
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x575464]
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 0x40fba7
mov eax, dword [edi]
cmp eax, 0x138a
jne 0x40f81c
movsd xmm0, qword [edi + 8]
mulsd xmm0, qword [0x561b38]
mov ecx, dword [ebx + 0x6ac]
cvttsd2si eax, xmm0
push eax
call fcn.00450080
jmp 0x40fb9f
cmp eax, 0x138b
jne 0x40fa74
sub esp, 8
lea ecx, [ebp - 0x4cc]
call fcn.0040e590
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.0040e3e0
push 0x55ed04
xorps xmm1, xmm1
mov ecx, 0x55f1dc
call fcn.00406d80
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4cc]
push fcn.00408770
push 1
push 0x30
push eax
call fcn.004e126b
sub esp, 8
mov esi, esp
mov dword [ebp - 0x454], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040e560
mov dword [esi], eax
call fcn.00406af0
add esp, 8
call fcn.00441220
mov ecx, eax
call fcn.0043dd90
push eax
lea ecx, [ebp - 0x450]
call fcn.00405d20
push str.resmainWndinstallPrg3.png
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 1
call fcn.00405d20
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x46c]
call fcn.00409770
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40f902
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x46c]
mov esi, eax
call fcn.00405e50
test esi, esi
je 0x40f94d
mov ecx, dword [ebx + 0x6ac]
test ecx, ecx
je 0x40f93e
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.00450030
mov ecx, dword [ebx + 0x6ac]
test ecx, ecx
je 0x40f94d
call fcn.0044b270
push 0x3e8
push 1
lea ecx, [ebx + 0x2c]
call fcn.00441250
push eax
lea ecx, [ebx + 0x2c]
call fcn.004457f0
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.00405870
push str.inst.ep
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 3
call fcn.00405760
cmp dword [eax + 0x14], 8
jb 0x40f9b3
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.00405e50
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.00405870
push str.unins.ep
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 4
call fcn.00405760
cmp dword [eax + 0x14], 8
jb 0x40fa19
mov eax, dword [eax]
push eax
call esi
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 2
call fcn.00405e50
mov ecx, ebx
call fcn.00410860
push ecx
push str.SoftwareHudunSoftPicture_Creator
push ecx
mov edx, 0x208
lea ecx, [ebp - 0x420]
call fcn.0040ee10
lea edx, [ebp - 0x420]
mov ecx, reloc.WS2_32.dll_accept
call fcn.0043c030
lea ecx, [ebp - 0x438]
call fcn.00405e50
lea ecx, [ebp - 0x450]
call fcn.00405e50
jmp 0x40fb9f
cmp eax, 0x138c
je 0x40fa86
cmp eax, 0x3e9
jne 0x40fb9f
push edi
call fcn.0040fc20
push 0xffffffffffffffff
push 0x55ed04
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x660], 4
mov dword [ebp - 0x65c], 0x84
call fcn.0043d3d0
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x5d4]
mov dword [ebp - 4], 0xc
call fcn.0043d3d0
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 0xd
call fcn.00405d20
mov esi, eax
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 0xe
call fcn.00405d20
mov edi, eax
push 1
sub esp, 8
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.0040e4c0
push eax
push 0
lea eax, [ebp - 0x46c]
mov ecx, edi
push eax
call fcn.0040e480
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x40fb24
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x550]
call fcn.0043d3d0
lea ecx, [ebp - 0x46c]
call fcn.00405e50
lea ecx, [ebp - 0x484]
call fcn.00405e50
lea ecx, [ebp - 0x49c]
call fcn.00405e50
mov edi, dword [ebp - 0x454]
lea eax, [edi + 0x10]
mov dword [ebp - 4], 0x11
cmp dword [eax + 0x14], 8
jb 0x40fb6b
mov eax, dword [eax]
push ecx
push eax
mov ecx, ebx
call fcn.0043e970
lea edx, [ebp - 0x660]
mov ecx, eax
call fcn.0043d020
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x660]
call fcn.0040e390
push 1
mov ecx, ebx
call fcn.0043eac0
push ecx
mov ecx, edi
call fcn.0040fbd0
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.004e0f8e
mov esp, ebp
pop ebp
ret 0x10