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

Disassembly:
push 0xffffffffffffffff
push 0x4a0b08
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c26a0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0x88], ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov eax, dword [esp + 0x94]
mov ebp, 0x10
cmp dword [esp + 0xa8], ebp
mov byte [esp + 0x88], 1
jae 0x435eb3
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x43605f
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xb4]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0xb0], 2
mov byte [ecx + 4], bl
call fcn.0040a730
lea ecx, [esp + 0x7c]
push ecx
call fcn.00435a60
add esp, 0x20
cmp al, bl
je 0x43604c
lea ecx, [esp + 0x18]
call fcn.0046f9b0
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 3
call fcn.00470230
lea ecx, [esp + 0x18]
xor esi, esi
call fcn.0046ebb0
test eax, eax
jbe 0x435fd9
push esi
lea ecx, [esp + 0x1c]
call fcn.0046eb60
cmp dword [eax + 0x18], ebp
jb 0x435f54
mov edi, dword [eax + 4]
jmp 0x435f57
lea edi, [eax + 4]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x435fc0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
cmp al, bl
jne 0x435fc0
push 0x4a8300
push esi
lea ecx, [esp + 0x20]
call fcn.0046eb60
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0040b1f0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 4
call fcn.00409740
cmp dword [esp + 0x40], ebp
mov byte [esp + 0x88], 3
jb 0x435fc0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00474c07
add esp, 4
lea ecx, [esp + 0x18]
add esi, 1
call fcn.0046ebb0
cmp esi, eax
jb 0x435f40
mov edi, 0xf
cmp dword [esp + 0x58], ebx
jne 0x43600b
cmp dword [esp + 0xa8], ebp
mov esi, dword [esp + 0x94]
jae 0x435ff6
lea esi, [esp + 0x94]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x43603b
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x43603b
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb4]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
lea esi, [esp + 0x6c]
mov byte [ecx + 4], bl
call fcn.0040a730
mov ecx, esi
call fcn.00433eb0
add esp, 0x1c
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 2
call fcn.0046f9c0
cmp dword [esp + 0x78], ebp
jb 0x43605f
mov eax, dword [esp + 0x64]
push eax
call fcn.00474c07
add esp, 4
cmp dword [esp + 0x5c], ebp
jb 0x436072
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00474c07
add esp, 4
cmp dword [esp + 0xa8], ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x436097
mov edx, dword [esp + 0x94]
push edx
call fcn.00474c07
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00475ec4
add esp, 0x78
ret