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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050b5c
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x1006e098]
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 + 0x68]
mov dword [ebp - 0x298], edx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10007a04
mov eax, dword [esi]
push str.InstallLocation
push eax
lea eax, [ebp - 0x230]
push 0x80000002
push eax
call fcn.100028b0
add esp, 0x10
cmp dword [ebp - 0x220], 0
mov dword [ebp - 4], 0
jbe 0x10007a6b
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10004640
mov ecx, 1
add esp, 8
mov dword [ebp - 0x298], ecx
cmp dword [eax + 0x10], 0
ja 0x10007a71
mov byte [ebp - 0x291], cl
jmp 0x10007a78
mov ecx, dword [ebp - 0x298]
mov byte [ebp - 0x291], 0
test cl, 1
je 0x10007a91
and ecx, 0xfffffffe
mov dword [ebp - 0x298], ecx
lea ecx, [ebp - 0x248]
call fcn.100027d0
cmp byte [ebp - 0x291], 0
je 0x10007abd
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 0x10007bcf
cmp dword [ebp - 0x220], 0
ja 0x10007e09
cmp dword [esi + 0x14], 8
jb 0x10007adf
mov esi, dword [esi]
push str.InstallLocation
push esi
lea eax, [ebp - 0x248]
push 0x80000001
push eax
call fcn.100028b0
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x10007b36
mov ecx, eax
call fcn.100027d0
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.100027d0
cmp dword [ebp - 0x220], 0
jbe 0x10007b86
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10004640
mov edx, dword [ebp - 0x298]
add esp, 8
or edx, 2
cmp dword [eax + 0x10], 0
ja 0x10007b8c
mov byte [ebp - 0x291], 1
jmp 0x10007b93
mov edx, dword [ebp - 0x298]
mov byte [ebp - 0x291], 0
test dl, 2
je 0x10007ba3
lea ecx, [ebp - 0x248]
call fcn.100027d0
cmp byte [ebp - 0x291], 0
je 0x10007bcf
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 0x10007e09
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1002e2b0
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.10002b10
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
call fcn.10004aa0
add esp, 4
cmp byte [edi + 0x98], 0
mov byte [ebp - 4], 2
jne 0x10007cbf
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.10003af0
add esp, 8
test al, al
je 0x10007cbf
push 0
lea eax, [ebp - 0x278]
push 0x1c
push eax
call fcn.10004740
add esp, 0xc
lea ecx, [ebp - 0x230]
push eax
call fcn.10002ea0
jmp 0x10007d5e
lea eax, [ebp - 0x278]
push eax
call fcn.10004ac0
add esp, 4
push 0x42
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders_
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.10002650
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.100028b0
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x10007d4f
mov ecx, eax
call fcn.100027d0
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.100027d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.100027d0
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 0x10007d9a
push 0x16
push str.C:Program_Files__x86_
lea ecx, [ebp - 0x230]
call fcn.10002b10
cmp dword [ebp - 0x220], 0
jbe 0x10007def
lea eax, [ebp - 0x230]
push eax
call fcn.10003a50
add esp, 4
test eax, eax
jne 0x10007dc8
push 1
push 0x100566bc
lea ecx, [ebp - 0x230]
call fcn.10002650
cmp dword [edi + 0x94], 8
lea ecx, [edi + 0x80]
jb 0x10007ddd
mov ecx, dword [edi + 0x80]
push dword [edi + 0x90]
push ecx
lea ecx, [ebp - 0x230]
call fcn.10002650
lea ecx, [ebp - 0x248]
call fcn.100027d0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0
call fcn.100027d0
lea eax, [ebp - 0x230]
push eax
call fcn.10003a50
add esp, 4
test eax, eax
jne 0x10007e2e
push 1
push 0x100566bc
lea ecx, [ebp - 0x230]
call fcn.10002650
lea ecx, [edi + 8]
lea eax, [ebp - 0x230]
cmp ecx, eax
je 0x10007e55
cmp dword [ebp - 0x21c], 8
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.10002b10
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x10007e91
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007e87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007eae
push edx
push ecx
call fcn.10016b0e
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.100170cd
mov esp, ebp
pop ebp
ret
call fcn.100323d9
int3