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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c8e3
mov eax, dword fs:[0]
push eax
sub esp, 0x5ec
mov eax, dword [0x5655bc]
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.0040cc70
add esp, 8
mov word [eax + 2], 0
lea edx, [ebp - 0x2a8]
push edx
call fcn.00411050
mov ecx, eax
call fcn.0040a380
mov dword [ebp - 4], 0
push 0x516e28
lea ecx, [ebp - 0x2a8]
call fcn.00403bf0
push str.1.0.1.1027_
lea ecx, [ebp - 0x2a8]
call fcn.00403bf0
lea ecx, [ebp - 0x2a8]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431390
lea ecx, [ebp - 0x2a8]
call fcn.00401e70
push eax
call fcn.004379b0
add esp, 4
lea eax, [ebp - 0x48]
push eax
call fcn.00411050
mov ecx, eax
call fcn.0040a650
mov byte [ebp - 4], 1
push 0x516e58
lea ecx, [ebp - 0x48]
call fcn.00403bf0
push str.BDPYV2.bin
lea ecx, [ebp - 0x48]
call fcn.00403bf0
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x564]
push edx
call fcn.0043b800
add esp, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x548]
push eax
call fcn.00411050
mov ecx, eax
call fcn.0040a650
mov byte [ebp - 4], 3
push str.7654_
lea ecx, [ebp - 0x548]
call fcn.00403bf0
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x4f0]
call fcn.00403b70
mov byte [ebp - 4], 4
push 0x516e88
lea ecx, [ebp - 0x4f0]
call fcn.00403bf0
push str.service.exe
lea edx, [ebp - 0x548]
push edx
lea eax, [ebp - 0x52c]
push eax
call fcn.00404420
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 0x431481
mov ecx, dword [ebp - 0x568]
add ecx, 1
mov dword [ebp - 0x568], ecx
cmp dword [ebp - 0x568], 0x40
jge 0x431502
call fcn.00411050
mov ecx, eax
call fcn.0040a8c0
mov dword [ebp - 0x56c], eax
lea ecx, [ebp - 0x2c]
call fcn.00403b40
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 0x4314fd
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 0x431502
jmp 0x431472
lea ecx, [ebp - 0x52c]
call fcn.00401e70
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.0043b800
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x590]
call fcn.00401cc0
lea ecx, [ebp - 0x52c]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43156a
lea ecx, [ebp - 0x52c]
call fcn.00401e70
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.00403b40
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00403b40
push eax
call fcn.00411050
mov ecx, eax
call fcn.0040a8e0
lea ecx, [ebp - 0x4f0]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4315c4
lea ecx, [ebp - 0x4f0]
call fcn.00401e70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x4f0]
call fcn.00401e70
push eax
lea ecx, [ebp - 0x52c]
call fcn.00401e70
push eax
call fcn.0043ac60
add esp, 8
lea ecx, [ebp - 0x52c]
call fcn.00401e70
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.00463a30
add esp, 0xc
lea ecx, [ebp - 0x2a8]
call fcn.00401e70
push eax
push str.__sservice.exe__InstallService
lea ecx, [ebp - 0x4cc]
push ecx
call fcn.00466a2b
add esp, 0xc
lea edx, [ebp - 0x4cc]
push edx
call fcn.00439f00
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.00403bf0
push 0x516f10
lea ecx, [ebp - 0x80]
call fcn.00403bf0
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00403b70
mov byte [ebp - 4], 0xb
push 0x516f28
lea ecx, [ebp - 0x64]
call fcn.00403bf0
push str.Utility.exe
lea edx, [ebp - 0x548]
push edx
lea eax, [ebp - 0x5ac]
push eax
call fcn.00404420
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.00403ba0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5ac]
call fcn.00401cc0
push str.myutility
lea ecx, [ebp - 0x2c]
call fcn.00409460
mov dword [ebp - 0x570], 0
jmp 0x43170b
mov eax, dword [ebp - 0x570]
add eax, 1
mov dword [ebp - 0x570], eax
cmp dword [ebp - 0x570], 0x40
jge 0x43178c
call fcn.00411050
mov ecx, eax
call fcn.0040a8c0
mov dword [ebp - 0x574], eax
lea ecx, [ebp - 0x2c]
call fcn.00403b40
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 0x431787
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 0x43178c
jmp 0x4316fc
lea ecx, [ebp - 0x52c]
call fcn.00401e70
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.0043b800
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.00403d50
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.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43182b
lea ecx, [ebp - 0x52c]
call fcn.00401e70
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.00403b40
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00403b40
push eax
call fcn.00411050
mov ecx, eax
call fcn.0040a8e0
lea ecx, [ebp - 0x64]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43187f
lea ecx, [ebp - 0x64]
call fcn.00401e70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x64]
call fcn.00401e70
push eax
lea ecx, [ebp - 0x52c]
call fcn.00401e70
push eax
call fcn.0043ac60
add esp, 8
lea ecx, [ebp - 0x52c]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4318c4
lea ecx, [ebp - 0x52c]
call fcn.00401e70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
call fcn.00411050
mov ecx, eax
call fcn.0040a450
mov ecx, dword [ebp - 0x5e8]
mov byte [ecx + 0x6d5], 0
push 0
call fcn.00411050
mov ecx, eax
call fcn.0040a260
mov ecx, dword [ebp - 0x5e8]
call fcn.0042e940
call fcn.00411050
mov ecx, eax
call fcn.0040a200
mov dword [ebp - 0x4d0], eax
lea edx, [ebp - 0x50c]
push edx
call fcn.00411050
mov ecx, eax
call fcn.0040a1a0
mov byte [ebp - 4], 0xf
push 1
call fcn.00436a50
mov ecx, eax
call fcn.0042e0e0
push 1
call fcn.00436a50
mov ecx, eax
call fcn.0042e120
mov eax, dword [ebp - 0x5e8]
push eax
mov ecx, dword [ebp - 0x5e8]
add ecx, 0x6b4
push ecx
lea ecx, [ebp - 0x50c]
call fcn.00401e70
push eax
mov edx, dword [ebp - 0x4d0]
push edx
call fcn.00436a50
mov ecx, eax
call fcn.0042de60
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.00463a1b
mov esp, ebp
pop ebp
ret