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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50af93
mov eax, dword fs:[0]
push eax
sub esp, 0x5ec
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5e8], ecx
push 0x104
lea eax, [ebp - 0x28c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea ecx, [ebp - 0x28c]
push ecx
call fcn.0040c580
add esp, 8
mov word [eax + 2], 0
lea edx, [ebp - 0x2a8]
push edx
call fcn.00410940
mov ecx, eax
call fcn.00409c70
mov dword [ebp - 4], 0
push 0x514d38
lea ecx, [ebp - 0x2a8]
call fcn.00403ab0
push str.1.0.1.1027_
lea ecx, [ebp - 0x2a8]
call fcn.00403ab0
lea ecx, [ebp - 0x2a8]
call fcn.00401cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x430590
lea ecx, [ebp - 0x2a8]
call fcn.00401cf0
push eax
call fcn.004369c0
add esp, 4
lea eax, [ebp - 0x48]
push eax
call fcn.00410940
mov ecx, eax
call fcn.00409f40
mov byte [ebp - 4], 1
push 0x514d68
lea ecx, [ebp - 0x48]
call fcn.00403ab0
push str.dfres.bin
lea ecx, [ebp - 0x48]
call fcn.00403ab0
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x564]
push edx
call fcn.0043a800
add esp, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x548]
push eax
call fcn.00410940
mov ecx, eax
call fcn.00409f40
mov byte [ebp - 4], 3
push str.7654_
lea ecx, [ebp - 0x548]
call fcn.00403ab0
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x4f0]
call fcn.00403a30
mov byte [ebp - 4], 4
push 0x514d94
lea ecx, [ebp - 0x4f0]
call fcn.00403ab0
push str.service.exe
lea edx, [ebp - 0x548]
push edx
lea eax, [ebp - 0x52c]
push eax
call fcn.004042c0
add esp, 0xc
mov byte [ebp - 4], 5
push str.services
lea ecx, [ebp - 0x2c]
call fcn.00401c10
mov byte [ebp - 4], 6
mov dword [ebp - 0x510], 0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x568], 0
jmp 0x430681
mov ecx, dword [ebp - 0x568]
add ecx, 1
mov dword [ebp - 0x568], ecx
cmp dword [ebp - 0x568], 0x40
jge 0x430702
call fcn.00410940
mov ecx, eax
call fcn.0040a1b0
mov dword [ebp - 0x56c], eax
lea ecx, [ebp - 0x2c]
call fcn.00403a00
push eax
mov edx, dword [ebp - 0x568]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x56c]
lea ecx, [eax + edx + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4306fd
mov edx, dword [ebp - 0x568]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x56c]
mov ecx, dword [eax + edx + 0x64]
mov dword [ebp - 0x510], ecx
mov edx, dword [ebp - 0x568]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x56c]
mov ecx, dword [ebp - 0x510]
add ecx, dword [eax + edx + 0x68]
mov dword [ebp - 0x4d4], ecx
jmp 0x430702
jmp 0x430672
lea ecx, [ebp - 0x52c]
call fcn.00401cf0
push eax
lea ecx, [ebp - 0x590]
call fcn.00401c80
mov byte [ebp - 4], 7
lea edx, [ebp - 0x590]
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.0043a800
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x590]
call fcn.00401cc0
lea ecx, [ebp - 0x52c]
call fcn.00401cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43076a
lea ecx, [ebp - 0x52c]
call fcn.00401cf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x4d4]
push ecx
lea edx, [ebp - 0x510]
push edx
lea ecx, [ebp - 0x564]
call fcn.00403a00
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00403a00
push eax
call fcn.00410940
mov ecx, eax
call fcn.0040a1d0
lea ecx, [ebp - 0x4f0]
call fcn.00401cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4307c4
lea ecx, [ebp - 0x4f0]
call fcn.00401cf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x4f0]
call fcn.00401cf0
push eax
lea ecx, [ebp - 0x52c]
call fcn.00401cf0
push eax
call fcn.00439c60
add esp, 8
lea ecx, [ebp - 0x52c]
call fcn.00401cf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov word [ebp - 0x4cc], 0
push 0x206
push 0
lea eax, [ebp - 0x4ca]
push eax
call fcn.00462710
add esp, 0xc
lea ecx, [ebp - 0x2a8]
call fcn.00401cf0
push eax
push str.__sservice.exe__InstallService
lea ecx, [ebp - 0x4cc]
push ecx
call fcn.004656cb
add esp, 0xc
lea edx, [ebp - 0x4cc]
push edx
call fcn.00438f10
add esp, 4
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x80]
call fcn.00401c80
mov byte [ebp - 4], 0xa
push str.Tool_
lea ecx, [ebp - 0x80]
call fcn.00403ab0
push 0x514e1c
lea ecx, [ebp - 0x80]
call fcn.00403ab0
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00403a30
mov byte [ebp - 4], 0xb
push 0x514e34
lea ecx, [ebp - 0x64]
call fcn.00403ab0
push str.Utility.exe
lea edx, [ebp - 0x548]
push edx
lea eax, [ebp - 0x5ac]
push eax
call fcn.004042c0
add esp, 0xc
mov dword [ebp - 0x5ec], eax
mov ecx, dword [ebp - 0x5ec]
mov dword [ebp - 0x5f0], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x5f0]
push edx
lea ecx, [ebp - 0x52c]
call fcn.00403a60
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5ac]
call fcn.00401cc0
push str.myutility
lea ecx, [ebp - 0x2c]
call fcn.00408d50
mov dword [ebp - 0x570], 0
jmp 0x43090b
mov eax, dword [ebp - 0x570]
add eax, 1
mov dword [ebp - 0x570], eax
cmp dword [ebp - 0x570], 0x40
jge 0x43098c
call fcn.00410940
mov ecx, eax
call fcn.0040a1b0
mov dword [ebp - 0x574], eax
lea ecx, [ebp - 0x2c]
call fcn.00403a00
push eax
mov ecx, dword [ebp - 0x570]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0x574]
lea eax, [edx + ecx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x430987
mov ecx, dword [ebp - 0x570]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0x574]
mov eax, dword [edx + ecx + 0x64]
mov dword [ebp - 0x510], eax
mov ecx, dword [ebp - 0x570]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0x574]
mov eax, dword [ebp - 0x510]
add eax, dword [edx + ecx + 0x68]
mov dword [ebp - 0x4d4], eax
jmp 0x43098c
jmp 0x4308fc
lea ecx, [ebp - 0x52c]
call fcn.00401cf0
push eax
lea ecx, [ebp - 0x5c8]
call fcn.00401c80
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x5c8]
push ecx
lea edx, [ebp - 0x5e4]
push edx
call fcn.0043a800
add esp, 8
mov dword [ebp - 0x5f4], eax
mov eax, dword [ebp - 0x5f4]
mov dword [ebp - 0x5f8], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x5f8]
push ecx
lea ecx, [ebp - 0x2c4]
call fcn.004039e0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x5e4]
call fcn.00401c50
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5c8]
call fcn.00401cc0
lea ecx, [ebp - 0x52c]
call fcn.00401cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430a2b
lea ecx, [ebp - 0x52c]
call fcn.00401cf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x4d4]
push edx
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x564]
call fcn.00403a00
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00403a00
push eax
call fcn.00410940
mov ecx, eax
call fcn.0040a1d0
lea ecx, [ebp - 0x64]
call fcn.00401cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x430a7f
lea ecx, [ebp - 0x64]
call fcn.00401cf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x64]
call fcn.00401cf0
push eax
lea ecx, [ebp - 0x52c]
call fcn.00401cf0
push eax
call fcn.00439c60
add esp, 8
lea ecx, [ebp - 0x52c]
call fcn.00401cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430ac4
lea ecx, [ebp - 0x52c]
call fcn.00401cf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
call fcn.00410940
mov ecx, eax
call fcn.00409d40
mov ecx, dword [ebp - 0x5e8]
mov byte [ecx + 0x6d5], 0
push 0
call fcn.00410940
mov ecx, eax
call fcn.00409b50
mov ecx, dword [ebp - 0x5e8]
call fcn.0042db40
call fcn.00410940
mov ecx, eax
call fcn.00409af0
mov dword [ebp - 0x4d0], eax
lea edx, [ebp - 0x50c]
push edx
call fcn.00410940
mov ecx, eax
call fcn.00409a90
mov byte [ebp - 4], 0xf
push 1
call fcn.00435aa0
mov ecx, eax
call fcn.0042d260
push 1
call fcn.00435aa0
mov ecx, eax
call fcn.0042d2a0
mov eax, dword [ebp - 0x5e8]
push eax
mov ecx, dword [ebp - 0x5e8]
add ecx, 0x6b4
push ecx
lea ecx, [ebp - 0x50c]
call fcn.00401cf0
push eax
mov edx, dword [ebp - 0x4d0]
push edx
call fcn.00435aa0
mov ecx, eax
call fcn.0042cfe0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x50c]
call fcn.00401cc0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x64]
call fcn.00401cc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x80]
call fcn.00401cc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c4]
call fcn.00401c50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00401c50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x52c]
call fcn.00401cc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4f0]
call fcn.00401cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x548]
call fcn.00401cc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x564]
call fcn.00401c50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00401cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a8]
call fcn.00401cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004626fa
mov esp, ebp
pop ebp
ret