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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100603d7
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x100811d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor edx, edx
lea esi, [edi + 0x80]
mov dword [ebp - 0x298], edx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1000a137
mov eax, dword [esi]
push str.InstallLocation
push eax
lea eax, [ebp - 0x230]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.10006880
add esp, 0x10
cmp dword [ebp - 0x220], 0
mov dword [ebp - 4], 0
jbe 0x1000a19e
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10006350
mov ecx, 1
add esp, 8
mov dword [ebp - 0x298], ecx
cmp dword [eax + 0x10], 0
ja 0x1000a1a4
mov byte [ebp - 0x291], cl
jmp 0x1000a1ab
mov ecx, dword [ebp - 0x298]
mov byte [ebp - 0x291], 0
test cl, 1
je 0x1000a1c4
and ecx, 0xfffffffe
mov dword [ebp - 0x298], ecx
lea ecx, [ebp - 0x248]
call fcn.100037c0
cmp byte [ebp - 0x291], 0
je 0x1000a1f0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], 0
cmovae eax, dword [ebp - 0x230]
xor ecx, ecx
mov word [eax], cx
cmp byte [edi + 0x98], 0
jne 0x1000a302
cmp dword [ebp - 0x220], 0
ja 0x1000a551
cmp dword [esi + 0x14], 8
jb 0x1000a212
mov esi, dword [esi]
push str.InstallLocation
push esi
lea eax, [ebp - 0x248]
push SysReAllocString
push eax
call fcn.10006880
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x1000a269
mov ecx, eax
call fcn.100037c0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x248]
call fcn.100037c0
cmp dword [ebp - 0x220], 0
jbe 0x1000a2b9
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10006350
mov edx, dword [ebp - 0x298]
add esp, 8
or edx, 2
cmp dword [eax + 0x10], 0
ja 0x1000a2bf
mov byte [ebp - 0x291], 1
jmp 0x1000a2c6
mov edx, dword [ebp - 0x298]
mov byte [ebp - 0x291], 0
test dl, 2
je 0x1000a2d6
lea ecx, [ebp - 0x248]
call fcn.100037c0
cmp byte [ebp - 0x291], 0
je 0x1000a302
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], 0
cmovae eax, dword [ebp - 0x230]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x220], 0
ja 0x1000a551
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1003b8a0
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]
xor eax, eax
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x24c], 7
push eax
call fcn.10003c60
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
call fcn.100078f0
add esp, 4
cmp byte [edi + 0x98], 0
mov byte [ebp - 4], 2
jne 0x1000a3f2
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.10007150
add esp, 8
test al, al
je 0x1000a3f2
push 0
lea eax, [ebp - 0x278]
push 0x1c
push eax
call fcn.100064f0
add esp, 0xc
lea ecx, [ebp - 0x230]
push eax
call fcn.10003820
jmp 0x1000a491
lea eax, [ebp - 0x278]
push eax
call fcn.10007ab0
add esp, 4
push 0x42
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders_
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.10003ae0
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 VariantInit
push eax
call fcn.10006880
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x1000a482
mov ecx, eax
call fcn.100037c0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x290]
call fcn.100037c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.100037c0
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 0x1000a4cd
push 0x16
push str.C:Program_Files__x86_
lea ecx, [ebp - 0x230]
call fcn.10003c60
cmp dword [ebp - 0x220], 0
jbe 0x1000a537
lea eax, [ebp - 0x230]
push eax
call fcn.100070b0
add esp, 4
test eax, eax
jne 0x1000a4fb
push 1
push 0x10066f44
lea ecx, [ebp - 0x230]
call fcn.10003ae0
lea eax, [ebp - 0x290]
push str.SOFT_NAME_EN
push eax
call fcn.1000e440
add esp, 8
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 4
jb 0x1000a51d
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x230]
call fcn.10003ae0
lea ecx, [ebp - 0x290]
call fcn.100037c0
lea ecx, [ebp - 0x248]
call fcn.100037c0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0
call fcn.100037c0
lea eax, [ebp - 0x230]
push eax
call fcn.100070b0
add esp, 4
test eax, eax
jne 0x1000a576
push 1
push 0x10066f44
lea ecx, [ebp - 0x230]
call fcn.10003ae0
lea ecx, [edi + 8]
lea eax, [ebp - 0x230]
cmp ecx, eax
je 0x1000a59d
cmp dword [ebp - 0x21c], 8
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.10003c60
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1000a5d9
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a5cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a5f6
push edx
push ecx
call fcn.100244c7
add esp, 8
mov al, 1
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.1002453b
mov esp, ebp
pop ebp
ret
call fcn.1003fc49
int3