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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488992
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
mov dword [ebp - 0x18], 0
movzx eax, byte [ebp - 0x19]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0041e4a0
lea ecx, [ebp - 0xe4]
call fcn.00424600
mov dword [ebp - 4], 0
movzx ecx, byte [ebp - 0x1a]
push ecx
lea ecx, [ebp - 0xfc]
call fcn.0041e4a0
lea ecx, [ebp - 0xfc]
call fcn.00424600
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call fcn.0042ff20
add esp, 0xc
cmp dword [0x4b4140], 0
je 0x431e6b
movzx edx, byte [ebp - 0x1b]
push edx
lea ecx, [ebp - 0x118]
call fcn.0041e4a0
lea ecx, [ebp - 0x118]
call fcn.00424600
mov byte [ebp - 4], 2
push 0
push 0
push 0
lea eax, [ebp - 0x118]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x100], esp
lea edx, [ebp - 0xe4]
push edx
call fcn.00402200
call fcn.00420fc0
add esp, 0x28
movzx eax, byte [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0041e4a0
lea ecx, [ebp - 0xcc]
call fcn.00424600
mov byte [ebp - 4], 3
movzx ecx, byte [ebp - 0x1d]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.0041e4a0
lea ecx, [ebp - 0xb4]
call fcn.00424600
mov byte [ebp - 4], 4
push 0x497330
lea ecx, [ebp - 0x130]
call fcn.0040efd0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x130]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x160]
push ecx
call fcn.004209f0
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], edx
lea eax, [ebp - 0xb4]
cmp eax, dword [ebp - 0x44]
je 0x431c34
xor ecx, ecx
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
push edx
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00424090
lea ecx, [ebp - 0x160]
call fcn.004244d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x130]
call fcn.004244d0
push 0x497350
lea ecx, [ebp - 0x148]
call fcn.0040efd0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x178]
push eax
call fcn.004209f0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x48], ecx
lea edx, [ebp - 0xcc]
cmp edx, dword [ebp - 0x48]
je 0x431cac
xor eax, eax
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
push ecx
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0xcc]
call fcn.00424090
lea ecx, [ebp - 0x178]
call fcn.004244d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x148]
call fcn.004244d0
lea ecx, [ebp - 0xb4]
call fcn.00424120
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x431d26
lea ecx, [ebp - 0xb4]
call fcn.00424120
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax]
test ecx, ecx
je 0x431d26
lea ecx, [ebp - 0xb4]
call fcn.00424120
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431d26
lea ecx, [ebp - 0xb4]
call fcn.00424120
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xcc]
call fcn.00424120
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x431d86
lea ecx, [ebp - 0xcc]
call fcn.00424120
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
movzx edx, word [ecx]
test edx, edx
je 0x431d86
lea ecx, [ebp - 0xcc]
call fcn.00424120
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431d86
lea ecx, [ebp - 0xcc]
call fcn.00424120
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xb4]
call fcn.00424120
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0xe4]
call fcn.00424120
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x70]
push eax
call fcn.0043a140
add esp, 8
lea ecx, [ebp - 0xcc]
call fcn.00424120
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0xfc]
call fcn.00424120
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x78]
push edx
call fcn.0043a140
add esp, 8
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0xe4]
cmp ecx, dword [ebp - 0x7c]
je 0x431e0e
xor edx, edx
mov byte [ebp - 0xf], dl
movzx eax, byte [ebp - 0xf]
push eax
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0xe4]
call fcn.00423e50
lea edx, [ebp - 0xcc]
mov dword [ebp - 0x80], edx
lea eax, [ebp - 0xfc]
cmp eax, dword [ebp - 0x80]
je 0x431e3e
xor ecx, ecx
mov byte [ebp - 0x10], cl
movzx edx, byte [ebp - 0x10]
push edx
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xfc]
call fcn.00423e50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb4]
call fcn.004244d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xcc]
call fcn.004244d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.004244d0
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x14], 8
jb 0x431e8c
mov dword [ebp - 0x34], 1
jmp 0x431e93
mov dword [ebp - 0x34], 0
mov cl, byte [ebp - 0x34]
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x431eb5
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x8c]
push eax
call fcn.00440500
add esp, 0xc
test eax, eax
je 0x431eec
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0xfc]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 8
jb 0x431f0d
mov dword [ebp - 0x3c], 1
jmp 0x431f14
mov dword [ebp - 0x3c], 0
mov dl, byte [ebp - 0x3c]
mov byte [ebp - 0x12], dl
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x431f36
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.00440500
add esp, 0xc
test eax, eax
je 0x431f6d
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfc]
call fcn.004244d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.004244d0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret