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

Disassembly:
push 0xffffffffffffffff
push 0x45bfa8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x473ff0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473ff0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
mov esi, 8
mov ebp, ecx
mov dword [esp + 0x1c], eax
cmp dword [eax + 0x18], esi
jb 0x40ab84
add eax, 4
mov dword [esp + 0x14], eax
mov eax, dword [eax]
jmp 0x40ab8b
add eax, 4
mov dword [esp + 0x14], eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
cmp dword [ebp + 0x30], edi
je 0x40ad2d
cmp dword [ebp + 0x34], esi
lea ebx, [ebp + 0x1c]
jb 0x40abaa
mov eax, dword [ebx + 4]
jmp 0x40abad
lea eax, [ebx + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ad2d
cmp dword [ebp + 0x8c], edi
jne 0x40abd3
mov ecx, ebp
call sym.Install.exe_protected:_bool___thiscall_CShortcut::InitLinkInstance_void_
test al, al
je 0x40ad78
cmp dword [ebx + 0x18], esi
jb 0x40abdd
mov ecx, dword [ebx + 4]
jmp 0x40abe0
lea ecx, [ebx + 4]
mov eax, dword [ebp + 0x8c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x50]
call eax
cmp dword [ebp + 0x14], edi
je 0x40ac10
cmp dword [ebp + 0x18], esi
jb 0x40abfe
mov ecx, dword [ebp + 4]
jmp 0x40ac01
lea ecx, [ebp + 4]
mov eax, dword [ebp + 0x8c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
mov edi, 1
call fcn.0040b590
push ebx
mov ecx, eax
xor edx, edx
lea esi, [esp + 0x5c]
call fcn.004025a0
mov dword [esp + 0x80], edi
cmp dword [esp + 0x6c], 0
lea esi, [edi + 7]
je 0x40ac56
mov ecx, dword [esp + 0x5c]
cmp dword [esp + 0x70], esi
jae 0x40ac47
lea ecx, [esp + 0x5c]
mov eax, dword [ebp + 0x8c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x24]
call eax
cmp dword [ebp + 0x68], 0
je 0x40ac7a
cmp dword [ebp + 0x6c], esi
jb 0x40ac66
mov ecx, dword [ebp + 0x58]
jmp 0x40ac69
lea ecx, [ebp + 0x58]
mov eax, dword [ebp + 0x8c]
mov edx, dword [eax]
push 0
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
mov eax, dword [ebp + 0x8c]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 0
mov ecx, dword [eax]
push 0x468fec
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jge 0x40acb0
cmp dword [esp + 0x70], esi
jb 0x40ad78
mov ecx, dword [esp + 0x5c]
jmp 0x40ad6f
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x18], esi
jb 0x40acc1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jmp 0x40acc5
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push 1
push ecx
push eax
mov eax, dword [edx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
jge 0x40ad20
mov eax, 0x46a4d0
lea ecx, [esp + 0x3c]
call fcn.00401160
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0x70]
lea eax, [esp + 0x44]
mov byte [esp + 0x88], 2
call fcn.00401640
lea esi, [esp + 0x3c]
call fcn.00401730
lea esi, [esp + 0x58]
call fcn.00401730
jmp 0x40ad78
lea esi, [esp + 0x58]
call fcn.00401730
mov al, 1
jmp 0x40ad7a
xor eax, eax
mov word [esp + 0x24], ax
push 0xa
mov eax, 0x46a4b8
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
call fcn.004011a0
push 0xffffffffffffffff
push edi
lea ecx, [ebp + 0x70]
mov eax, esi
mov dword [esp + 0x88], edi
call fcn.00401640
cmp dword [esp + 0x38], 8
jb 0x40ad78
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00443850
add esp, 4
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004437f0
add esp, 0x70
ret 4