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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480856
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
call fcn.0041c600
lea ecx, [ebp - 0xf8]
call fcn.0041e850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x64]
call fcn.0041c600
lea ecx, [ebp - 0xe0]
call fcn.0041e850
mov byte [ebp - 4], 1
lea edx, [ebp - 0xc8]
mov dword [ebp - 0x68], edx
mov ecx, dword [ebp - 0x68]
call fcn.0041c600
lea ecx, [ebp - 0xc8]
call fcn.0041e850
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xe0]
push ecx
lea edx, [ebp - 0xf8]
push edx
call fcn.0042f7a0
add esp, 0xc
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x42d2ec
mov dword [ebp - 0x30], 1
jmp 0x42d2f3
mov dword [ebp - 0x30], 0
mov al, byte [ebp - 0x30]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x42d30f
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d383
lea edx, [ebp - 0xf8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x14], 8
jb 0x42d34a
mov dword [ebp - 0x38], 1
jmp 0x42d351
mov dword [ebp - 0x38], 0
mov dl, byte [ebp - 0x38]
mov byte [ebp - 0xe], dl
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x42d36d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 8
jb 0x42d3a4
mov dword [ebp - 0x40], 1
jmp 0x42d3ab
mov dword [ebp - 0x40], 0
mov cl, byte [ebp - 0x40]
mov byte [ebp - 0xf], cl
movzx edx, byte [ebp - 0xf]
test edx, edx
je 0x42d3cd
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d45f
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x14], 8
jb 0x42d414
mov dword [ebp - 0x48], 1
jmp 0x42d41b
mov dword [ebp - 0x48], 0
mov al, byte [ebp - 0x48]
mov byte [ebp - 0x10], al
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x42d43d
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xc8]
push eax
call fcn.0042f490
add esp, 8
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x42d493
mov dword [ebp - 0x50], 1
jmp 0x42d49a
mov dword [ebp - 0x50], 0
mov cl, byte [ebp - 0x50]
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x42d4bc
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d54e
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x14], 8
jb 0x42d503
mov dword [ebp - 0x58], 1
jmp 0x42d50a
mov dword [ebp - 0x58], 0
mov al, byte [ebp - 0x58]
mov byte [ebp - 0x12], al
movzx ecx, byte [ebp - 0x12]
test ecx, ecx
je 0x42d52c
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.0041e760
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe0]
call fcn.0041e760
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.0041e760
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret