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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017dde5
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x101e9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 0x61], 0
push 4
lea ecx, [ebp - 0x14]
call fcn.10005e70
lea eax, [ebp - 0x14]
push eax
call fcn.10027840
add esp, 4
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x30]
call fcn.10005e70
lea ecx, [ebp - 0x30]
push ecx
call fcn.10029430
add esp, 4
mov byte [ebp - 4], 1
push 4
lea ecx, [ebp - 0x20]
call fcn.10005e70
push 0x101d9df0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.10019a70
add esp, 0xc
mov byte [ebp - 4], 2
push str.NewGptBrowser.exe
lea ecx, [ebp - 0x30]
push ecx
call fcn.10019a10
add esp, 8
movzx edx, al
test edx, edx
je 0x10017a88
mov byte [ebp - 0x61], 1
push 4
lea ecx, [ebp - 0x1c]
call fcn.10005e70
push str.GptBrowser.exe
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10019a70
add esp, 0xc
mov byte [ebp - 4], 3
push 4
lea ecx, [ebp - 0x18]
call fcn.10005e70
push str.OldGptBrowser.exe
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.10019a70
add esp, 0xc
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
lea edx, [ebp - 0x18]
push edx
call fcn.1001a060
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
lea eax, [ebp - 0x1c]
push eax
call fcn.1001a060
mov byte [ebp - 4], 4
call fcn.100168c0
add esp, 8
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x10017a6b
lea ecx, [ebp - 0x20]
call fcn.100196a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10017a2a
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.1001a060
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
lea eax, [ebp - 0x20]
push eax
call fcn.1001a060
mov byte [ebp - 4], 4
call fcn.100168c0
add esp, 8
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x10017a2a
lea ecx, [ebp - 0x48]
call fcn.1001ab20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.100196a0
push eax
lea ecx, [ebp - 0xec]
call fcn.1001a9f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xec]
push edx
call fcn.10034db0
add esp, 8
mov byte [ebp - 0x63], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xec]
call fcn.1001a8f0
movzx eax, byte [ebp - 0x63]
test eax, eax
je 0x1001799b
lea ecx, [ebp - 0x48]
call fcn.1001a7e0
movzx ecx, al
test ecx, ecx
jne 0x1001799b
lea ecx, [ebp - 0x60]
call fcn.1001ab20
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call fcn.100196a0
push eax
lea ecx, [ebp - 0x104]
call fcn.1001a9f0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.10034db0
add esp, 8
mov byte [ebp - 0x64], al
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x104]
call fcn.1001a8f0
movzx ecx, byte [ebp - 0x64]
test ecx, ecx
je 0x1001798f
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.1001d340
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1001798f
push 4
lea ecx, [ebp - 0x24]
call fcn.10005e70
push 0x101d9f2c
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.10019a70
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x48]
call fcn.1001a810
push eax
lea ecx, [ebp - 0x24]
call fcn.10019e60
mov byte [ebp - 0x62], 0
push 4
lea ecx, [ebp - 0x2c]
call fcn.10005e70
push str.VisualElementsPDF.ico
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.10019a70
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.100196a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10017912
mov byte [ebp - 0x62], 1
lea ecx, [ebp - 0x24]
call fcn.100196a0
push eax
call fcn.10028f20
add esp, 4
movzx eax, byte [ebp - 0x62]
test eax, eax
je 0x10017977
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
mov esi, esp
mov dword [ebp - 0x94], esp
lea ecx, [ebp - 0x48]
call fcn.1001a810
push eax
mov ecx, esi
call fcn.10019fe0
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.1001a060
mov byte [ebp - 4], 0xc
call fcn.10016950
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.10019f40
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.10019f40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
call fcn.1001a8f0
lea ecx, [ebp - 0x18]
call fcn.100196a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea eax, [ebp - 0x14]
push eax
call fcn.1001a060
call fcn.10016eb0
add esp, 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa4], esp
push 0x101d9fb4
call fcn.10003f60
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 0xe
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xac], esp
push 0x101da00c
call fcn.10003f60
lea ecx, [ebp - 0x11c]
push ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x6c]
call fcn.100163f0
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0x11c]
call fcn.10003ed0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.1001a8f0
jmp 0x10017a6b
push ecx
mov ecx, esp
mov dword [ebp - 0xb4], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.1001a060
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
lea eax, [ebp - 0x18]
push eax
call fcn.1001a060
mov byte [ebp - 4], 4
call fcn.100168c0
add esp, 8
push 0
call fcn.100a9b6d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10019f40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.10019f40
jmp 0x10017baf
lea ecx, [ebp - 0x20]
call fcn.100196a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10017baf
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc0], esp
push 0x101da014
call fcn.10003f60
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0x10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc8], esp
push 0x101da15c
call fcn.10003f60
lea ecx, [ebp - 0x134]
push ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x6c]
call fcn.100163f0
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0x134]
call fcn.10003ed0
lea ecx, [ebp - 0x20]
call fcn.100196a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 4
lea ecx, [ebp - 0x28]
call fcn.10005e70
lea ecx, [ebp - 0x28]
call fcn.1001a080
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x6c]
add ecx, 0x1c0
call fcn.1001a7e0
movzx edx, al
test edx, edx
je 0x10017b44
push str.https:__www.gptchrome.net
mov ecx, dword [ebp - 0x6c]
add ecx, 0x1c0
call fcn.1001ad20
mov ecx, dword [ebp - 0x6c]
add ecx, 0x1c0
call fcn.10003db0
push eax
lea ecx, [ebp - 0x80]
call fcn.10019f60
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
push edx
push 0x101da0dc
lea eax, [ebp - 0x28]
push eax
call fcn.1001cf70
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x80]
call fcn.10019f40
push 0
push 0x101da164
lea ecx, [ebp - 0x28]
call fcn.100196a0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.10019f40
mov cl, byte [ebp - 0x61]
mov byte [ebp - 0x65], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10019f40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10019f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10019f40
mov al, byte [ebp - 0x65]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100531cc
mov esp, ebp
pop ebp
ret