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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b95b0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp - 0x88]
add ecx, 0x4c
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x57015e
xor eax, eax
jmp 0x5703f3
lea ecx, [ebp - 0x34]
call fcn.0064e160
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp - 0x88]
add eax, 0x4c
push eax
lea ecx, [ebp - 0x34]
call fcn.0064dea0
push 0x7f7ffc
lea ecx, [ebp - 0x6c]
call fcn.004068d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0064bd70
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00405ef0
cmp dword [ebp - 0x38], 0
jne 0x5701e6
mov ecx, dword [ebp - 0x88]
add ecx, 0x4c
call fcn.00405e80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0064e0b0
mov eax, dword [ebp - 0x70]
jmp 0x5703f3
push 0x7f8008
lea ecx, [ebp - 0x74]
call fcn.004068d0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.0064b900
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00405ef0
cmp dword [ebp - 0x3c], 0
jne 0x57024b
mov ecx, dword [ebp - 0x88]
add ecx, 0x4c
call fcn.00405e80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0064e0b0
mov eax, dword [ebp - 0x78]
jmp 0x5703f3
mov eax, dword [ebp - 0x3c]
add eax, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00405d50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00531d20
lea ecx, [ebp - 0x10]
call fcn.00403b90
movzx ecx, al
test ecx, ecx
je 0x5702b4
mov ecx, dword [ebp - 0x88]
add ecx, 0x4c
call fcn.00405e80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0064e0b0
mov eax, dword [ebp - 0x7c]
jmp 0x5703f3
lea ecx, [ebp - 0x54]
call fcn.00531d40
mov byte [ebp - 4], 4
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00570ad0
mov dword [ebp - 0x58], 0
jmp 0x5702e5
mov ecx, dword [ebp - 0x58]
add ecx, 1
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x54]
call fcn.00531e70
cmp dword [ebp - 0x58], eax
jae 0x5703bc
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x54]
call fcn.00531eb0
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
call fcn.00403b90
movzx eax, al
test eax, eax
je 0x570316
jmp 0x5702dc
mov ecx, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0064bd70
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x57032d
jmp 0x5702dc
push 0x7f8014
mov edx, dword [ebp - 0x68]
push edx
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.00570410
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.00405e80
push eax
call fcn.00729b80
add esp, 4
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x80]
call fcn.00405ef0
push 1
mov ecx, dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.00405e80
push eax
call fcn.0050aae0
mov ecx, eax
call fcn.0055d4d0
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x570393
jmp 0x5702dc
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x10]
call eax
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x88]
call fcn.005704c0
jmp 0x5702dc
mov dword [ebp - 0x84], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00531db0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0064e0b0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret