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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5234f4
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 0x40fbc7
mov eax, dword [edi]
cmp eax, 0x138a
jne 0x40f83c
movsd xmm0, qword [edi + 8]
mulsd xmm0, qword [0x561b70]
mov ecx, dword [ebx + 0x6ac]
cvttsd2si eax, xmm0
push eax
call fcn.004500e0
jmp 0x40fbbf
cmp eax, 0x138b
jne 0x40fa94
sub esp, 8
lea ecx, [ebp - 0x4cc]
call fcn.0040e5b0
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.0040e400
push 0x55ecfc
xorps xmm1, xmm1
mov ecx, 0x55f1d8
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.004e129d
sub esp, 8
mov esi, esp
mov dword [ebp - 0x454], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040e580
mov dword [esi], eax
call fcn.00406aa0
add esp, 8
call fcn.00441290
mov ecx, eax
call fcn.0043de20
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.004097a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40f922
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 0x40f96d
mov ecx, dword [ebx + 0x6ac]
test ecx, ecx
je 0x40f95e
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.00450090
mov ecx, dword [ebx + 0x6ac]
test ecx, ecx
je 0x40f96d
call fcn.0044b2e0
push 0x3e8
push 1
lea ecx, [ebx + 0x2c]
call fcn.004412c0
push eax
lea ecx, [ebx + 0x2c]
call fcn.00445860
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 0x40f9d3
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 0x40fa39
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.00410880
push ecx
push str.SoftwareHudunSoftAIxiezuobao
push ecx
mov edx, 0x208
lea ecx, [ebp - 0x420]
call fcn.0040ee30
lea edx, [ebp - 0x420]
mov ecx, reloc.WS2_32.dll_accept
call fcn.0043c0c0
lea ecx, [ebp - 0x438]
call fcn.00405e00
lea ecx, [ebp - 0x450]
call fcn.00405e00
jmp 0x40fbbf
cmp eax, 0x138c
je 0x40faa6
cmp eax, 0x3e9
jne 0x40fbbf
push edi
call fcn.0040fc40
push 0xffffffffffffffff
push 0x55ecfc
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x660], 4
mov dword [ebp - 0x65c], 0x84
call fcn.0043d460
push 0xffffffffffffffff
push str.MessageBox1Wnd.xml
lea ecx, [ebp - 0x5d4]
mov dword [ebp - 4], 0xc
call fcn.0043d460
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.0040e4e0
push eax
push 0
lea eax, [ebp - 0x46c]
mov ecx, edi
push eax
call fcn.0040e4a0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x40fb44
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x550]
call fcn.0043d460
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 0x40fb8b
mov eax, dword [eax]
push ecx
push eax
mov ecx, ebx
call fcn.0047ee90
lea edx, [ebp - 0x660]
mov ecx, eax
call fcn.0043d0b0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x660]
call fcn.0040e3b0
push 1
mov ecx, ebx
call fcn.0043eb40
push ecx
mov ecx, edi
call fcn.0040fbf0
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.004e0fae
mov esp, ebp
pop ebp
ret 0x10