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

Disassembly:
push 0xb8
mov eax, 0x48363e
call fcn.00417c9f
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 0x49ad5c
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], ax
call fcn.0040b830
push ebx
xor eax, eax
mov byte [ebp - 4], 1
push 0x49ad5c
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
call fcn.0040b830
push ebx
call fcn.004380a8
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.00409ee0
push dword [ebp + 8]
mov ecx, edi
call fcn.00427598
test al, al
je 0x4271f8
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.004458c0
add eax, dword [edi]
pop ecx
cmp eax, ebx
jl 0x42712a
lea eax, [ebp - 0x40]
xor ebx, ebx
cmp esi, eax
je 0x4271f0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.0040b930
jmp 0x4271f0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041de3f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 5
jb 0x427145
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00427d65
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00409d80
xor ebx, ebx
lea ecx, [ebp - 0xb8]
push ebx
push 1
call fcn.0040b7c0
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0040bac0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040dd90
test eax, eax
jne 0x4271fa
lea eax, [ebp - 0x40]
cmp esi, eax
je 0x4271a1
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.0040b930
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0xbc], esp
push eax
call fcn.00409ee0
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x88]
mov dword [ebp - 0xc0], esp
mov ecx, esp
push eax
call fcn.00409ee0
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.00409ee0
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00427915
xor esi, esi
inc esi
jmp 0x4274a4
xor ebx, ebx
cmp dword [ebp + 0x28], 0
jne 0x427212
push ebx
push 0x49ad5c
mov ecx, esi
call fcn.0040b830
jmp 0x4274a2
cmp dword [esi + 0x10], ebx
jne 0x4272c7
cmp dword [ebp + 8], 0
je 0x427268
lea eax, [edi + 0x1c]
cmp dword [eax + 0x14], 8
jb 0x42722c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004283b8
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.00409d80
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040b7c0
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00428286
pop ecx
pop ecx
mov byte [ebp - 4], 8
jmp 0x4272ad
lea eax, [edi + 4]
cmp dword [eax + 0x14], 8
jb 0x427273
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004283b8
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.00409d80
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040b7c0
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00428286
pop ecx
pop ecx
mov byte [ebp - 4], 9
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.0040cc40
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0040b7c0
cmp dword [esi + 0x14], 8
jb 0x4272d1
mov eax, dword [esi]
jmp 0x4272d3
mov eax, esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
je 0x4272f3
cmp dword [esi + 0x14], 8
jb 0x4272ea
mov eax, dword [esi]
jmp 0x4272ec
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00409ee0
push 0x48a47c
mov byte [ebp - 4], 0xa
call fcn.00445ea7
pop ecx
push eax
push 0
push 0x48a47c
lea ecx, [ebp - 0xa0]
call fcn.00414030
cmp eax, 0xffffffff
jne 0x427387
push 0x48a47c
call fcn.00445ea7
pop ecx
push eax
push 0x48a47c
lea ecx, [ebp - 0xa0]
call fcn.0040cb10
push 0x1869f
push 0x2710
call fcn.0042ecad
cdq
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042ee01
add esp, 0x14
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
call fcn.0040cc40
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.0040b7c0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
push esi
call fcn.00409ee0
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xa0]
mov ecx, esp
push eax
call fcn.00409ee0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
mov ecx, edi
call fcn.004274e8
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040b7c0
cmp dword [esi + 0x14], 8
jb 0x4273d2
mov eax, dword [esi]
jmp 0x4273d4
mov eax, esi
push eax
call ebx
test eax, eax
jne 0x4273ef
xor ebx, ebx
mov ecx, esi
push ebx
push 0x49ad5c
call fcn.0040b830
jmp 0x427494
cmp dword [ebp - 0x48], 0
jne 0x427449
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0041de3f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xd
jb 0x427413
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00427d65
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00409d80
xor ebx, ebx
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0040b7c0
push ebx
push 1
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xa
call fcn.0040bac0
jmp 0x42744b
xor ebx, ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
push esi
call fcn.00409ee0
sub esp, 0x18
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x58]
mov dword [ebp - 0xc0], esp
mov ecx, esp
push eax
call fcn.00409ee0
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.00409ee0
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00427915
push ebx
push 1
lea ecx, [ebp - 0xa0]
call fcn.0040b7c0
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.0040b7c0
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.0040b7c0
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.0040b7c0
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.0040b7c0
push ebx
push 1
lea ecx, [ebp + 0xc]
call fcn.0040b7c0
mov eax, esi
call fcn.00417c5a
ret 0x24