Function at 0x100262e0
Capabilities:
Check if file exists
Delete registry key
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x100ad708]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
push 1
push 0
push str.start
mov dword [ebp - 0x668], 0
call fcn.10024c60
mov ecx, eax
call fcn.1003a4d0
push 6
xor eax, eax
mov dword [ebp - 0x654], 0
push str._Onx
lea ecx, [ebp - 0x664]
mov dword [ebp - 0x650], 7
mov word [ebp - 0x664], ax
call fcn.100042a0
mov ecx, dword [esi + 0x40]
mov dword [ebp - 4], 0
test ecx, ecx
jne 0x10026379
push 5
push 0x1008ed88
jmp 0x10026398
cmp dword [esi + 0x44], 8
lea eax, [esi + 0x30]
jb 0x10026384
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x664]
call fcn.1000f400
push 2
push 0x1008ed94
lea ecx, [ebp - 0x664]
call fcn.1000f400
cmp dword [ebp - 0x650], 8
lea eax, [ebp - 0x664]
push 1
cmovae eax, dword [ebp - 0x664]
push 0x1008d38c
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x100263ec
push 0
push 0
push 1
push 0
push str.cancel
call fcn.10024c60
mov ecx, eax
call fcn.1003a4d0
xor bl, bl
jmp 0x100267ac
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10059fd0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10059fd0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.1006101f
add esp, 8
test eax, eax
je 0x10026463
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea edi, [esi + 0x18]
push edi
push esi
call fcn.10080c80
xorps xmm0, xmm0
mov dword [ebp - 0x62c], 0
movq qword [ebp - 0x634], xmm0
add esp, 8
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0
cmp dword [esi + 0x58], 0
lea eax, [esi + 0x48]
mov byte [ebp - 4], 1
je 0x100264be
push eax
push 0
lea ecx, [ebp - 0x634]
call fcn.10004a40
push edi
push esi
sub esp, 0xc
lea eax, [ebp - 0x634]
mov ecx, esp
push eax
call fcn.10005f70
call fcn.1007ef20
mov eax, dword [esi + 0x40]
add esp, 0x14
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x10026653
lea edi, [esi + 0x30]
xor ecx, ecx
mov byte [ebp - 4], 2
add eax, 4
mov word [ebp - 0x64c], cx
push eax
lea ecx, [ebp - 0x64c]
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 7
mov dword [ebp - 0x668], 1
call fcn.10010230
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10026531
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x64c]
push eax
call fcn.1000f400
push 4
push str..lnk
lea ecx, [ebp - 0x64c]
call fcn.1000f400
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10059fd0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [ebp - 0x638], 8
lea eax, [ebp - 0x64c]
cmovae eax, dword [ebp - 0x64c]
push eax
lea eax, [ebp - 0x218]
push eax
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.1007fd00
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.10059fd0
add esp, 0x10
lea eax, [ebp - 0x628]
push 1
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [ebp - 0x638], 8
lea eax, [ebp - 0x64c]
cmovae eax, dword [ebp - 0x64c]
push eax
lea eax, [ebp - 0x628]
push eax
call ebx
lea eax, [ebp - 0x628]
push eax
call fcn.1007fd00
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10059fd0
add esp, 0x10
lea eax, [ebp - 0x420]
push 1
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [edi + 0x14], 8
jb 0x10026629
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x420]
push eax
call ebx
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1007fd50
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64c]
call fcn.10003900
cmp dword [esi + 0xa0], 0
mov ebx, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
je 0x1002668d
cmp dword [esi + 0xa4], 8
lea edi, [esi + 0x90]
mov eax, edi
jb 0x10026675
mov eax, dword [edi]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
cmp dword [edi + 0x14], 8
jb 0x10026685
mov edi, dword [edi]
push edi
push SysReAllocString
call ebx
cmp dword [esi + 0x88], 0
je 0x100266ad
cmp dword [esi + 0x8c], 8
lea eax, [esi + 0x78]
jb 0x100266a4
mov eax, dword [eax]
push eax
call fcn.10042480
add esp, 4
cmp dword [esi + 0xb8], 0
je 0x100266cf
cmp dword [esi + 0xbc], 8
lea eax, [esi + 0xa8]
jb 0x100266c7
mov eax, dword [eax]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov ecx, esi
call fcn.10024400
cmp dword [esi + 0x70], 0
je 0x10026740
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10059fd0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [esi + 0x74], 8
lea eax, [esi + 0x60]
jb 0x10026710
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10026740
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1007fd50
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1002674a
mov eax, dword [esi]
push str..tmp
push eax
call fcn.1007f950
add esp, 8
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10026762
mov eax, dword [esi]
push eax
lea eax, [esi + 0xc0]
push eax
call fcn.10081360
add esp, 8
push 0
push 0
push 1
push 0
push 0x1008cebc
call fcn.10024c60
mov ecx, eax
call fcn.1003a4d0
push 1
push 0x1008d38c
push 0x1008edac
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x634]
mov bl, 1
call fcn.1000eef0
mov edx, dword [ebp - 0x650]
cmp edx, 8
jb 0x100267e8
mov ecx, dword [ebp - 0x664]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100267de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026806
push edx
push ecx
call fcn.1002eba8
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ef19
mov esp, ebp
pop ebp
ret
call fcn.1005e18e
int3