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

Disassembly:
push 0xffffffffffffffff
push 0x498798
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4b7480]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7480]
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 0x4285b3
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x42875f
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.0040a6b0
lea ecx, [esp + 0x7c]
push ecx
call fcn.00428160
add esp, 0x20
cmp al, bl
je 0x42874c
lea ecx, [esp + 0x18]
call fcn.00469070
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 3
call fcn.004698f0
lea ecx, [esp + 0x18]
xor esi, esi
call fcn.00468270
test eax, eax
jbe 0x4286d9
push esi
lea ecx, [esp + 0x1c]
call fcn.00468220
cmp dword [eax + 0x18], ebp
jb 0x428654
mov edi, dword [eax + 4]
jmp 0x428657
lea edi, [eax + 4]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x4286c0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
cmp al, bl
jne 0x4286c0
push 0x4a02a0
push esi
lea ecx, [esp + 0x20]
call fcn.00468220
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0040b170
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 4
call fcn.004096c0
cmp dword [esp + 0x40], ebp
mov byte [esp + 0x88], 3
jb 0x4286c0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0046e29f
add esp, 4
lea ecx, [esp + 0x18]
add esi, 1
call fcn.00468270
cmp esi, eax
jb 0x428640
mov edi, 0xf
cmp dword [esp + 0x58], ebx
jne 0x42870b
cmp dword [esp + 0xa8], ebp
mov esi, dword [esp + 0x94]
jae 0x4286f6
lea esi, [esp + 0x94]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x42873b
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42873b
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.0040a6b0
mov ecx, esi
call fcn.00426620
add esp, 0x1c
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 2
call fcn.00469080
cmp dword [esp + 0x78], ebp
jb 0x42875f
mov eax, dword [esp + 0x64]
push eax
call fcn.0046e29f
add esp, 4
cmp dword [esp + 0x5c], ebp
jb 0x428772
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0046e29f
add esp, 4
cmp dword [esp + 0xa8], ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x428797
mov edx, dword [esp + 0x94]
push edx
call fcn.0046e29f
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.0046f564
add esp, 0x78
ret