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

Disassembly:
push 0x1bc
mov eax, 0x68a135
call fcn.0056e23b
mov esi, ecx
mov dword [ebp - 0x164], esi
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x2c]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x170], eax
call fcn.004173bc
and dword [ebp - 4], 0
xor eax, eax
push dword [esi + 0xb8]
and dword [ebp - 0x18c], eax
lea ecx, [ebp - 0x160]
push dword [esi + 0x98]
xorps xmm0, xmm0
mov dword [ebp - 0x168], eax
movlpd qword [ebp - 0x1a0], xmm0
movlpd qword [ebp - 0x198], xmm0
call fcn.0047dd5d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004173bc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c4]
call fcn.0041d3ed
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x178]
call fcn.0041d3ed
mov byte [ebp - 4], 6
push 0x1e
push 0xc
push 0x76b
call fcn.00478f91
add esp, 0xc
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1b8], edx
mov ecx, esi
push eax
call fcn.004536df
mov edi, eax
test edi, edi
jne 0x4542de
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x18c], ecx
mov ecx, esi
mov dword [ebp - 0x190], ebx
call fcn.004d2795
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1ac], esi
or ecx, edx
mov dword [ebp - 0x184], edx
je 0x4542ba
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x19c]
add eax, esi
mov dword [ebp - 0x1a0], eax
adc ecx, edx
mov dword [ebp - 0x19c], ecx
test ebx, ebx
je 0x45400e
push dword [ebp - 0x194]
push dword [ebp - 0x198]
push ecx
push eax
push dword [ebp - 0x170]
call ebx
test al, al
je 0x454280
mov edx, dword [ebp - 0x184]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push esi
call fcn.0056eb70
or ecx, ebx
pop ebx
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1b0], edx
je 0x454034
inc eax
mov dword [ebp - 0x1a8], eax
and dword [ebp - 0x1a4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x1b4], xmm0
test eax, eax
je 0x45425e
mov edi, dword [ebp - 0x1b0]
mov ebx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x180], ebx
mov esi, dword [ebp - 0x164]
cmp eax, 0x10000
jb 0x4540b1
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.0045373e
mov edi, eax
test edi, edi
jne 0x454254
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0x1c4]
call fcn.00423fa8
mov edi, dword [ebp - 0x16c]
xor eax, eax
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
push eax
mov ecx, esi
call fcn.0045381a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4540b1
mov esi, dword [ebp - 0x1ac]
mov eax, dword [ebp + 0xc]
sub esi, ebx
mov ebx, dword [ebp - 0x184]
sbb ebx, edi
mov dword [ebp - 0x17c], ebx
cmp ebx, eax
ja 0x454102
jb 0x45410b
cmp esi, dword [ebp + 8]
jb 0x45410b
mov esi, dword [ebp + 8]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x160]
push eax
call fcn.0047d3e8
push 0xa0000000
push 2
push 0
push 0xc0010000
lea ecx, [ebp - 0x160]
call fcn.0047d207
mov edi, eax
test edi, edi
jne 0x454228
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x64]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0041d41a
mov byte [ebp - 4], 7
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x178]
lea ecx, [ebp - 0x178]
call fcn.00423fa8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
call fcn.0041786a
mov ebx, dword [ebp - 0x164]
lea eax, [ebp - 0x1a0]
push eax
sub esp, 0x28
mov dword [ebp - 0x1c8], esp
mov ecx, esp
sub esp, 0xc
mov eax, esp
mov dword [eax], 0x453a97
mov dword [eax + 8], ebx
call fcn.0045317a
mov byte [ebp - 4], 8
push dword [ebp + 0x10]
push dword [ebp - 0x17c]
push esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x160]
call fcn.0047ea82
mov edi, eax
lea ecx, [ebp - 0x160]
lea eax, [ebp - 0x1bc]
push eax
push eax
push eax
push eax
call fcn.0047d6f0
lea ecx, [ebp - 0x160]
call fcn.0047ca8c
test edi, edi
jne 0x454208
add dword [ebp - 0x180], esi
mov eax, dword [ebp - 0x16c]
adc eax, dword [ebp - 0x17c]
mov dword [ebp - 0x16c], eax
jmp 0x454219
cmp edi, 0x18697
je 0x45431c
cmp edi, 0x70
je 0x454287
mov eax, dword [ebp - 0x168]
inc eax
mov dword [ebp - 0x168], eax
jmp 0x45422e
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x1a4]
inc ecx
mov dword [ebp - 0x1a4], ecx
cmp ecx, dword [ebp - 0x1a8]
jae 0x45425e
mov edi, dword [ebp - 0x16c]
mov ebx, dword [ebp - 0x180]
jmp 0x45406c
xor eax, eax
cmp edi, 0x70
cmove edi, eax
jmp 0x454264
mov esi, dword [ebp - 0x164]
mov ecx, esi
call fcn.004d2795
mov ebx, dword [ebp - 0x188]
mov esi, eax
mov dword [ebp - 0x1ac], eax
or eax, edx
jmp 0x453fbe
mov edi, 0x18697
jmp 0x4542de
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x198]
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x19c], edx
test eax, eax
je 0x4542b6
push edx
push ecx
push edx
push ecx
mov ecx, dword [ebp - 0x170]
push ecx
call eax
xor edi, edi
jmp 0x45431c
test ebx, ebx
je 0x4542de
push dword [ebp - 0x194]
push dword [ebp - 0x198]
push dword [ebp - 0x19c]
push dword [ebp - 0x1a0]
push dword [ebp - 0x170]
call ebx
mov ebx, dword [ebp - 0x164]
jmp 0x45431c
mov eax, dword [ebp - 0x178]
mov eax, dword [eax + 4]
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x4542fa
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x178]
push dword [eax + 4]
lea eax, [ebp - 0x1b0]
push eax
call fcn.0043ae6c
cmp dword [ebp - 0x174], 0
jne 0x4542e6
lea eax, [ebp - 0x1c4]
mov ecx, ebx
push eax
call fcn.00453af5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x178]
call fcn.004246c9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c4]
call fcn.004246c9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0041786a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.0047df72
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041786a
mov eax, edi
call fcn.0056e1e5
ret 0x14