Function at 0x100086a1
Capabilities:
Check if file exists
Get session user name
Persist via run registry key

Disassembly:
push 0x28c
mov eax, 0x1004e807
call fcn.100186c5
mov edi, ecx
xor ebx, ebx
lea esi, [edi + 0x80]
mov dword [ebp - 0x298], ebx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100086ca
mov eax, dword [esi]
push str.InstallLocation
push eax
lea eax, [ebp - 0x230]
push 0x80000002
push eax
call fcn.10006094
add esp, 0x10
and dword [ebp - 4], 0
cmp dword [ebp - 0x220], 0
jbe 0x10008723
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10006de5
xor ebx, ebx
inc ebx
pop ecx
cmp dword [eax + 0x10], 0
pop ecx
mov byte [ebp - 0x291], bl
jbe 0x1000872a
mov byte [ebp - 0x291], 0
test bl, 1
je 0x1000873d
lea ecx, [ebp - 0x248]
and ebx, 0xfffffffe
call fcn.10004033
cmp byte [ebp - 0x291], 0
je 0x10008766
and dword [ebp - 0x220], 0
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
xor ecx, ecx
mov word [eax], cx
cmp byte [edi + 0x98], 0
jne 0x10008835
cmp dword [ebp - 0x220], 0
ja 0x10008a5d
cmp dword [esi + 0x14], 8
jb 0x10008788
mov esi, dword [esi]
push str.InstallLocation
push esi
lea eax, [ebp - 0x248]
push 0x80000001
push eax
call fcn.10006094
add esp, 0x10
lea ecx, [ebp - 0x230]
push eax
call fcn.10003ec7
lea ecx, [ebp - 0x248]
call fcn.10004033
cmp dword [ebp - 0x220], 0
jbe 0x100087f5
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10006de5
pop ecx
or ebx, 2
mov byte [ebp - 0x291], 1
pop ecx
cmp dword [eax + 0x10], 0
jbe 0x100087fc
mov byte [ebp - 0x291], 0
test bl, 2
je 0x1000880c
lea ecx, [ebp - 0x248]
call fcn.10004033
cmp byte [ebp - 0x291], 0
je 0x10008835
and dword [ebp - 0x220], 0
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x220], 0
ja 0x10008a5d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1002f640
add esp, 0xc
mov dword [ebp - 0x298], 0x104
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push dword [ebp - 0x298]
and dword [ebp - 0x250], 0
lea ecx, [ebp - 0x260]
xor eax, eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x218]
push eax
call fcn.1000411b
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
call fcn.10006f90
pop ecx
cmp byte [edi + 0x98], 0
mov byte [ebp - 4], 2
jne 0x1000891c
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x260]
cmovae ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x24c], 8
push ecx
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.100067f3
pop ecx
pop ecx
test al, al
je 0x1000891c
push 0
lea eax, [ebp - 0x278]
push 0x1c
push eax
call fcn.10006f14
add esp, 0xc
lea ecx, [ebp - 0x230]
push eax
call fcn.10003ec7
jmp 0x1000898f
lea eax, [ebp - 0x278]
push eax
call fcn.10007138
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders_
mov byte [ebp - 4], 3
push esi
call fcn.10033e5f
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x278]
call fcn.10004080
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
push str.Local_AppData
cmovae eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x290]
push 0x80000003
push eax
call fcn.10006094
add esp, 0x10
lea ecx, [ebp - 0x230]
push eax
call fcn.10003ec7
lea ecx, [ebp - 0x290]
call fcn.10004033
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.10004033
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100089d2
mov esi, str.C:Program_Files__x86_
push esi
call fcn.10033e5f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.1000411b
cmp dword [ebp - 0x220], 0
jbe 0x10008a43
lea eax, [ebp - 0x230]
push eax
call fcn.1000678d
pop ecx
test eax, eax
jne 0x10008a08
push 0x10056320
call fcn.10033e5f
pop ecx
push eax
push 0x10056320
lea ecx, [ebp - 0x230]
call fcn.10004080
lea eax, [ebp - 0x290]
push str.SOFT_NAME_EN
push eax
call fcn.1000b0a0
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 4
jb 0x10008a29
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x230]
call fcn.10004080
lea ecx, [ebp - 0x290]
call fcn.10004033
lea ecx, [ebp - 0x248]
call fcn.10004033
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0
call fcn.10004033
lea eax, [ebp - 0x230]
push eax
call fcn.1000678d
pop ecx
test eax, eax
jne 0x10008a8a
push 0x10056320
call fcn.10033e5f
pop ecx
push eax
push 0x10056320
lea ecx, [ebp - 0x230]
call fcn.10004080
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [edi + 8]
call fcn.10003ef0
lea ecx, [ebp - 0x230]
call fcn.10004033
mov al, 1
call fcn.1001866f
ret