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

Disassembly:
push 0xffffffffffffffff
push 0x5a6b2c
mov eax, dword fs:[0]
push eax
mov eax, 0x1724
call fcn.004e6bc0
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x1720], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x1738]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1748]
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.004390c0
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1740], ebx
call fcn.00434f50
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x1744], 1
call fcn.00436e10
test eax, eax
je 0x459131
lea edx, [esp + 0x14]
push edx
call fcn.00423760
add esp, 4
push 7
push str.temp.hg
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1748], 2
call fcn.0040c9c0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x458d66
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x10d4
lea edx, [esp + 0x45c]
push ebx
push edx
call fcn.004e5fc0
add esp, 0xc
push str.360SD
push 0x3c
lea eax, [esp + 0x464]
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x464], 0x10d4
call fcn.0041c6a0
push str.360RP
push 0x3c
lea ecx, [esp + 0x4a0]
push ecx
call fcn.0041c6a0
mov edx, dword [esp + 0x14]
push edx
push 0x208
lea eax, [esp + 0x4e4]
push eax
call fcn.0041c6a0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x45c]
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x131c], 0x2710
call fcn.00438aa0
mov ebp, eax
cmp ebp, ebx
je 0x459109
cmp edi, ebx
je 0x458fde
mov eax, 1
mov dword [esp + 0x14c], eax
mov dword [esp + 0x254], eax
mov eax, dword [edi]
mov dword [esp + 0x148], 0x310
mov eax, dword [eax - 0xc]
push eax
mov ecx, edi
call fcn.0040c500
lea ecx, [esp + 0x150]
mov esi, eax
mov eax, ecx
mov edx, 0x80
sub esi, eax
lea ebx, [ebx]
lea eax, [edx + 0x7fffff7e]
test eax, eax
je 0x458e60
movzx eax, word [esi + ecx]
cmp ax, bx
je 0x458e60
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x458e40
jmp 0x458e64
cmp edx, ebx
jne 0x458e67
sub ecx, 2
mov eax, dword [edi + 8]
xor edx, edx
mov word [ecx], dx
mov eax, dword [eax - 0xc]
lea ecx, [edi + 8]
push eax
call fcn.0040c500
lea ecx, [esp + 0x258]
mov edx, eax
mov eax, ecx
mov esi, 0x80
sub edx, eax
lea ecx, [ecx]
lea eax, [esi + 0x7fffff7e]
test eax, eax
je 0x458eb0
movzx eax, word [edx + ecx]
cmp ax, bx
je 0x458eb0
mov word [ecx], ax
add ecx, 2
sub esi, 1
jne 0x458e90
jmp 0x458eb4
cmp esi, ebx
jne 0x458eb7
sub ecx, 2
mov eax, dword [edi + 0xc]
xor edx, edx
mov word [ecx], dx
mov eax, dword [eax - 0xc]
lea ecx, [edi + 0xc]
push eax
call fcn.0040c500
lea ecx, [esp + 0x358]
mov edx, eax
mov eax, ecx
mov esi, 0x80
sub edx, eax
lea ecx, [ecx]
lea eax, [esi + 0x7fffff7e]
test eax, eax
je 0x458f00
movzx eax, word [edx + ecx]
cmp ax, bx
je 0x458f00
mov word [ecx], ax
add ecx, 2
sub esi, 1
jne 0x458ee0
jmp 0x458f04
cmp esi, ebx
jne 0x458f07
sub ecx, 2
xor edx, edx
push 0x206
mov word [ecx], dx
lea ecx, [esp + 0x1532]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x1538], ax
call fcn.004e5fc0
mov edx, dword [edi + 4]
mov eax, dword [edx - 0xc]
lea ecx, [edi + 4]
add esp, 0xc
push eax
call fcn.0040c500
lea ecx, [esp + 0x152c]
mov edx, eax
mov eax, ecx
mov esi, 0x104
sub edx, eax
lea ecx, [ecx]
lea eax, [esi + 0x7ffffefa]
test eax, eax
je 0x458f70
movzx eax, word [edx + ecx]
cmp ax, bx
je 0x458f70
mov word [ecx], ax
add ecx, 2
sub esi, 1
jne 0x458f50
jmp 0x458f74
cmp esi, ebx
jne 0x458f77
sub ecx, 2
lea eax, [esp + 0x152c]
xor edx, edx
push eax
mov word [ecx], dx
call fcn.004e65e9
add esp, 4
lea ecx, [esp + 0x148]
push ecx
push 0x20
lea ecx, [esp + 0x34]
mov word [esp + 0x258], ax
call fcn.00435b10
test eax, eax
jne 0x458fde
push ebp
lea ecx, [esp + 0x30]
call fcn.00435010
lea ecx, [esp + 0x14]
call fcn.0040c150
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1740], bl
call fcn.00434fa0
lea ecx, [esp + 0x18]
call fcn.0040c150
xor eax, eax
jmp 0x459170
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x140], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0x144], ebx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x1744], 3
mov dword [esp + 0x94], 0xb8
call fcn.00429730
mov esi, dword [eax]
mov eax, dword [esp + 0xa0]
add esp, 4
cmp eax, ebx
je 0x459058
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x9c], ebx
cmp esi, ebx
je 0x45906a
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45908a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x90]
mov edx, ecx
push edx
mov dword [esp + 0x24], ecx
push ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00435090
cmp eax, ebx
je 0x4590e8
push 1
lea eax, [esp + 0x24]
push eax
push ebp
lea ecx, [esp + 0x38]
call fcn.00435110
cmp eax, ebx
je 0x4590da
cmp dword [esp + 0xf0], 8
je 0x4590e4
mov dword [esp + 0x1c], 1
jmp 0x4590e8
cmp dword [esp + 0xf0], 8
jne 0x4590e8
mov dword [esp + 0x1c], ebx
push ebp
lea ecx, [esp + 0x30]
call fcn.00435010
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x90]
call fcn.00434c70
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1740], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x459131
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1740], bl
call fcn.00434fa0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x1740], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45916c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1738]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1720]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x1730
ret 4