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

Disassembly:
push 0xb8
mov eax, 0x4828d5
call fcn.00455282
mov edi, ecx
mov esi, dword [ebp + 0x24]
xor ebx, ebx
mov dword [ebp - 0x5c], 7
push ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0x49b404
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], ax
call fcn.00407570
push ebx
xor eax, eax
mov byte [ebp - 4], 1
push 0x49b404
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
call fcn.00407570
push ebx
call fcn.0043a494
and dword [ebp - 0x78], 0
mov ebx, eax
pop ecx
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x74], ecx
mov word [ebp - 0x88], ax
and dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
push eax
sub esp, 0x18
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.00407cc0
push dword [ebp + 8]
mov ecx, edi
call fcn.0041c49d
test al, al
je 0x41c0fd
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.0043a24c
add eax, dword [edi]
pop ecx
cmp eax, ebx
jl 0x41c02f
lea eax, [ebp - 0x40]
xor ebx, ebx
cmp esi, eax
je 0x41c0f5
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00407790
jmp 0x41c0f5
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041ba6e
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 5
jb 0x41c04a
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0041e3b5
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00407bc0
xor ebx, ebx
lea ecx, [ebp - 0xb8]
push ebx
push 1
call fcn.004074b0
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0041a84e
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x58]
call fcn.00408220
test eax, eax
jne 0x41c0ff
lea eax, [ebp - 0x40]
cmp esi, eax
je 0x41c0a6
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00407790
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0xbc], esp
push eax
call fcn.00407cc0
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x88]
mov dword [ebp - 0xc0], esp
mov ecx, esp
push eax
call fcn.00407cc0
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.00407cc0
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0041c81a
xor esi, esi
inc esi
jmp 0x41c3a9
xor ebx, ebx
cmp dword [ebp + 0x28], 0
jne 0x41c117
push ebx
push 0x49b404
mov ecx, esi
call fcn.00407570
jmp 0x41c3a7
cmp dword [esi + 0x10], ebx
jne 0x41c1cc
cmp dword [ebp + 8], 0
je 0x41c16d
lea eax, [edi + 0x1c]
cmp dword [eax + 0x14], 8
jb 0x41c131
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00422f7f
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.00407bc0
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004074b0
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00422e4d
pop ecx
pop ecx
mov byte [ebp - 4], 8
jmp 0x41c1b2
lea eax, [edi + 4]
cmp dword [eax + 0x14], 8
jb 0x41c178
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00422f7f
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.00407bc0
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004074b0
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00422e4d
pop ecx
pop ecx
mov byte [ebp - 4], 9
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00408110
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004074b0
cmp dword [esi + 0x14], 8
jb 0x41c1d6
mov eax, dword [esi]
jmp 0x41c1d8
mov eax, esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
je 0x41c1f8
cmp dword [esi + 0x14], 8
jb 0x41c1ef
mov eax, dword [esi]
jmp 0x41c1f1
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00407cc0
push 0x4879c8
mov byte [ebp - 4], 0xa
call fcn.00442c2f
pop ecx
push eax
push 0
push 0x4879c8
lea ecx, [ebp - 0xa0]
call fcn.00407e30
cmp eax, 0xffffffff
jne 0x41c28c
push 0x4879c8
call fcn.00442c2f
pop ecx
push eax
push 0x4879c8
lea ecx, [ebp - 0xa0]
call fcn.00407fe0
push 0x1869f
push 0x2710
call fcn.0042af37
cdq
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00422c4e
add esp, 0x14
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
call fcn.00408110
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.004074b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
push esi
call fcn.00407cc0
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xa0]
mov ecx, esp
push eax
call fcn.00407cc0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
mov ecx, edi
call fcn.0041c3ed
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004074b0
cmp dword [esi + 0x14], 8
jb 0x41c2d7
mov eax, dword [esi]
jmp 0x41c2d9
mov eax, esi
push eax
call ebx
test eax, eax
jne 0x41c2f4
xor ebx, ebx
mov ecx, esi
push ebx
push 0x49b404
call fcn.00407570
jmp 0x41c399
cmp dword [ebp - 0x48], 0
jne 0x41c34e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0041ba6e
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xd
jb 0x41c318
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041e3b5
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00407bc0
xor ebx, ebx
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.004074b0
push ebx
push 1
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xa
call fcn.0041a84e
jmp 0x41c350
xor ebx, ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
push esi
call fcn.00407cc0
sub esp, 0x18
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x58]
mov dword [ebp - 0xc0], esp
mov ecx, esp
push eax
call fcn.00407cc0
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.00407cc0
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.0041c81a
push ebx
push 1
lea ecx, [ebp - 0xa0]
call fcn.004074b0
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004074b0
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.004074b0
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004074b0
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004074b0
push ebx
push 1
lea ecx, [ebp + 0xc]
call fcn.004074b0
mov eax, esi
call fcn.0045523d
ret 0x24