Function at 0x100716a0
Capabilities:
Check if file exists
Delete file
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c14d5
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x100eb6ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebx + 4]
push eax
mov dword [ebp - 0x2bc], ebx
mov byte [ebx], 0
mov dword [ebp - 0x2b4], eax
call fcn.10087570
mov dword [ebp - 4], 1
mov edi, 0xf
xor esi, esi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x38], esi
mov byte [ebx + 0x28], 0
mov byte [ebp - 4], 2
lea eax, [ebx + 0x48]
push eax
call fcn.10072a10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.1009fa81
mov edx, dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x2b4]
add esp, 4
cmp byte [ebx], 0
mov dword [ebx + 0xf0], edx
mov dword [ebx + 0xf4], eax
jne 0x10071bd9
push 2
push 0x100d940c
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x278], esi
mov byte [ebp - 0x288], 0
call fcn.100191b0
mov byte [ebp - 4], 5
push 7
mov eax, 0x100d9410
lea ecx, [ebp - 0x288]
call fcn.1001b420
push str.debug.txt
lea ecx, [ebp - 0x288]
push ecx
lea edx, [ebp - 0x26c]
push edx
call fcn.10072c10
add esp, 0xc
mov byte [ebp - 4], 6
cmp dword [ebp - 0x258], 0x10
mov eax, dword [ebp - 0x26c]
jae 0x100717ad
lea eax, [ebp - 0x26c]
push esi
push esi
push 2
push esi
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10071990
mov dword [ebp - 0x2ac], esi
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, edi
je 0x100717e9
lea ecx, [ebp - 0x2ac]
push ecx
push eax
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
cmp dword [ebp - 0x2ac], esi
je 0x10071990
xor edx, edx
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], esi
mov word [ebp - 0x250], dx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x2a8]
push eax
push esi
push ecx
push 5
push esi
mov dword [ebp - 0x2a8], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
cmp eax, esi
jl 0x1007188d
mov edi, dword [ebp - 0x2a8]
cmp edi, esi
je 0x1007188d
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push esi
push eax
mov word [ebp - 0x218], dx
call fcn.100a39b0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10071880
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x218]
call fcn.10026660
mov eax, dword [ebp - 0x2a8]
push eax
call dword [sym.imp.SHELL32.dll_ILFree]
push str._fxlog_
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.1001d7f0
add esp, 0xc
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x100718b6
mov esi, dword [eax]
jmp 0x100718b8
mov esi, eax
test esi, esi
je 0x100718f1
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x100718cf
xor esi, esi
jmp 0x100718f1
lea edi, [eax + eax]
mov eax, edi
call fcn.100a8620
mov eax, esi
mov edx, 3
mov ecx, edi
mov esi, esp
mov dword [ebp - 0x2b4], esp
call fcn.100238e0
mov esi, eax
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100718f6
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x288]
call fcn.100191b0
mov byte [ebp - 4], 7
lea esi, [ebp - 0x234]
call fcn.10012b80
push str.debug.txt
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.10072c10
add esp, 0xc
mov byte [ebp - 4], 9
mov edi, eax
lea esi, [ebp - 0x26c]
call fcn.10015ef0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x234]
call fcn.10011aa0
cmp dword [ebp - 0x258], 0x10
mov eax, dword [ebp - 0x26c]
jae 0x10071967
mov eax, esi
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov byte [ebp - 4], 6
lea esi, [ebp - 0x250]
call fcn.10012b80
xor esi, esi
lea ecx, [ebp - 0x234]
call fcn.10077b00
mov byte [ebp - 4], 0xa
mov edx, eax
lea ecx, [ebp - 0x2a4]
call fcn.1007c320
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x220], 8
jb 0x100719c8
mov edx, dword [ebp - 0x234]
push edx
call fcn.1009c0c0
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], esi
mov word [ebp - 0x234], ax
cmp edi, 0xffffffff
je 0x10071a7c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x258], 0x10
mov eax, dword [ebp - 0x26c]
jae 0x10071a06
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x288]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.1006da90
add esp, 0xc
mov byte [ebp - 4], 0xd
push 3
push 3
push 3
push 0x15
push eax
mov esi, ebx
call fcn.10071c10
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x220], 0x10
jb 0x10071a5a
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x234], 0
xor esi, esi
jmp 0x10071b47
mov eax, 0x100d9434
lea ecx, [ebp - 0x250]
call fcn.10012b20
mov byte [ebp - 4], 0xe
push 6
mov eax, str._fxlog
lea ecx, [ebp - 0x250]
call fcn.10016590
cmp dword [ebp - 0x240], esi
je 0x10071b12
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x10071abf
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x10071b12
lea edx, [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.1006da90
add esp, 0xc
mov byte [ebp - 4], 0xf
push 3
push 3
push 3
push 0x16
push eax
mov esi, ebx
call fcn.10071c10
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x234]
call fcn.10011aa0
xor esi, esi
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x23c], 8
jb 0x10071b2e
mov edx, dword [ebp - 0x250]
push edx
call fcn.1009c0c0
add esp, 4
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], esi
mov word [ebp - 0x250], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x290], 0x10
jb 0x10071b63
mov ecx, dword [ebp - 0x2a4]
push ecx
call fcn.1009c0c0
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x294], esi
mov byte [ebp - 0x2a4], 0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x258], 0x10
jb 0x10071b97
mov edx, dword [ebp - 0x26c]
push edx
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x25c], esi
mov byte [ebp - 0x26c], 0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x274], 0x10
jb 0x10071bc6
mov eax, dword [ebp - 0x288]
push eax
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x278], esi
mov byte [ebp - 0x288], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
lea esp, [ebp - 0x2c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret