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

Disassembly:
push 0x54
mov eax, 0x51a379
call fcn.004b9729
mov ebx, ecx
mov dword [ebp - 0x50], ebx
mov edi, dword [ebp + 8]
xor eax, eax
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], eax
push str.LjFXoYvZzQbvkR83uWGfhopnXASUg7_aMEmIyUlKzwwIyw6PD51LDM_DX4LcTkqGGVBQUYYSAiMR0ydh0fNAsVZRwrYWsKMxtrAgBwGwFwZywiGBYeIQ8jPxNkOzc2BTUMOB1iHxogES85cGIFIRMmMBYhdDojMiZrMws7JgIKbyorNGE0dHkLMxEmKzMQOD47FA0_IjhhGhMiKiBiND0oEDoULgQRfmwOJhkFIRwiJD4KPQwGIwogDCEDBA05AAAAlg9_R2RwwMcTptv1PujF
mov dword [ebp - 0x40], eax
call fcn.00466d59
lea eax, [ebp - 0x34]
push eax
call fcn.0048626d
pop ecx
pop ecx
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0046929c
push eax
lea ecx, [ebp - 0x40]
call fcn.00466d59
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.004690f8
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push dword [edi]
and dword [ebp - 0x14], 0
and dword [ebp - 0x28], 0
mov dword [ebp - 0x18], eax
call fcn.00466d59
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0048d359
push dword [ebp - 0x28]
call fcn.00486a3a
pop ecx
test eax, eax
jne 0x486b13
lea eax, [ebp - 0x28]
push eax
call fcn.00485d3c
pop ecx
test eax, eax
je 0x486b13
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0x31
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], 0x552b20
push 0x5a1dd4
lea eax, [ebp - 0x38]
push eax
call fcn.004b9661
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00489e8b
push dword [eax]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00466d59
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.0040ce73
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push dword [ebx + 8]
call fcn.0046e1ba
mov eax, dword [0x5b667c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x48], esp
mov esi, esp
mov byte [ebp - 4], 7
push eax
call fcn.00467063
add eax, 0x10
pop ecx
mov dword [esi], eax
mov byte [ebp - 4], 8
call fcn.00472497
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00475f7a
lea eax, [ebp - 0x20]
xor ecx, ecx
push eax
lea eax, [ebp - 0x24]
push eax
push ecx
push ecx
push ecx
lea eax, [ebp - 0x18]
push eax
push ecx
push ecx
mov ecx, esp
push str.IZJ9DCHQmYfGHKZ_r3Q9I3Zhsk8UiInwDd0BRABP2YjBAoGY30YHQ8sOAlsADskLmwdADpvCB0lFAInNCEGBAERJjQwbiIKJSlgIgUzBRINJzc6IzYgMzMzGBkhKx8kPmd3Eh06JxpuDy0vIRI_EyVmK2AfKHgTfj06CyxmHR0IZAUbFT5uCXkRKz4kGA08DQEhdTkSPjRlFhEiMDM1MB48GzYJKnkJOiQhNgUHHWMkFB4fgplDAJhBBttHwIhJwIYKHoAJjoQEDoVHikBFx0XMD4aLjEhNhtuMwwKOj0XFiIaLwR9PyU2MCdkIyMwIg8jehVlKRprLA8AAADdFwS_ZztxP_q8tg1Txs
call fcn.00466d59
lea eax, [ebp - 0x34]
push eax
call fcn.0048626d
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x1c], 1
call fcn.0046929c
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.00466d59
mov ecx, ebx
mov dword [ebp - 4], 0xa
call fcn.00489e76
push ecx
mov esi, esp
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00467063
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 9
call fcn.0048e4cf
add esp, 0x20
test eax, eax
jne 0x486c09
cmp dword [ebp - 0x20], eax
jbe 0x486c09
mov bl, 1
jmp 0x486c0b
xor bl, bl
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 6
call fcn.004690f8
test bl, bl
je 0x486d79
push 0
push ecx
mov ecx, esp
push str.9AAsCQavTdZUOYGGvGrNC56LN9ZvGLqImwLbC88NwQDDwsUBgoMLz4dNQsuND4BGT8RAD5hKzUkByAAAAAcSzSgWt7bLfvdJbvmq4
call fcn.00466d59
lea eax, [ebp - 0x34]
push eax
call fcn.0048626d
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0046929c
push eax
mov ecx, edi
call fcn.0048d438
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.004690f8
push dword [edi]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
je 0x486c9d
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x486c9d
push dword [ebp - 0x24]
call fcn.004b80a2
xor eax, eax
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], 0x552b20
mov dword [esp], 0x5a1dd4
jmp 0x486b0a
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
mov eax, dword [edi]
push dword [ebp - 0x24]
sub eax, 0x10
push 1
push ecx
mov esi, esp
push eax
call fcn.00467063
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.0048deaa
add esp, 0x14
test eax, eax
jne 0x486d5e
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jne 0x486d5e
push dword [ebp - 0x24]
call fcn.004b80a2
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x28]
push eax
push dword [esi + 0xc]
push edi
call fcn.0048fa79
add esp, 0x10
test eax, eax
je 0x486d0f
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 3
jmp 0x486afa
push dword [edi]
call ebx
test eax, eax
je 0x486d1f
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x3c]
mov ecx, edi
call fcn.0048d438
push dword [edi]
call ebx
test eax, eax
je 0x486d35
mov byte [esi + 0x40], 1
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.0040ce73
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0040ce73
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.0040ce73
call fcn.004b96d8
ret 4
push dword [ebp - 0x24]
call fcn.004b80a2
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 5
jmp 0x486c86
and dword [ebp - 0x54], 0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x58], 8
mov dword [ebp - 0x60], 0x552b20
push 0x5a1dd4
jmp 0x486b0d