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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f38c
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x1006d090]
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 0x10007714
mov eax, dword [esi]
push str.InstallLocation
push eax
lea eax, [ebp - 0x230]
push 0x80000002
push eax
call fcn.10002890
add esp, 0x10
cmp dword [ebp - 0x220], 0
mov dword [ebp - 4], 0
jbe 0x1000777b
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100045a0
mov ecx, 1
add esp, 8
mov dword [ebp - 0x298], ecx
cmp dword [eax + 0x10], 0
ja 0x10007781
mov byte [ebp - 0x291], cl
jmp 0x10007788
mov ecx, dword [ebp - 0x298]
mov byte [ebp - 0x291], 0
test cl, 1
je 0x100077a1
and ecx, 0xfffffffe
mov dword [ebp - 0x298], ecx
lea ecx, [ebp - 0x248]
call fcn.100027b0
cmp byte [ebp - 0x291], 0
je 0x100077cd
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 0x100078df
cmp dword [ebp - 0x220], 0
ja 0x10007b19
cmp dword [esi + 0x14], 8
jb 0x100077ef
mov esi, dword [esi]
push str.InstallLocation
push esi
lea eax, [ebp - 0x248]
push 0x80000001
push eax
call fcn.10002890
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x10007846
mov ecx, eax
call fcn.100027b0
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.100027b0
cmp dword [ebp - 0x220], 0
jbe 0x10007896
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.100045a0
mov edx, dword [ebp - 0x298]
add esp, 8
or edx, 2
cmp dword [eax + 0x10], 0
ja 0x1000789c
mov byte [ebp - 0x291], 1
jmp 0x100078a3
mov edx, dword [ebp - 0x298]
mov byte [ebp - 0x291], 0
test dl, 2
je 0x100078b3
lea ecx, [ebp - 0x248]
call fcn.100027b0
cmp byte [ebp - 0x291], 0
je 0x100078df
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 0x10007b19
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1002cb20
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.10002af0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
call fcn.100047b0
add esp, 4
cmp byte [edi + 0x98], 0
mov byte [ebp - 4], 2
jne 0x100079cf
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.10003a50
add esp, 8
test al, al
je 0x100079cf
push 0
lea eax, [ebp - 0x278]
push 0x1c
push eax
call fcn.100046a0
add esp, 0xc
lea ecx, [ebp - 0x230]
push eax
call fcn.10002e80
jmp 0x10007a6e
lea eax, [ebp - 0x278]
push eax
call fcn.100047d0
add esp, 4
push 0x42
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders_
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.10002630
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.10002890
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x10007a5f
mov ecx, eax
call fcn.100027b0
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.100027b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x278]
call fcn.100027b0
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 0x10007aaa
push 0x16
push str.C:Program_Files__x86_
lea ecx, [ebp - 0x230]
call fcn.10002af0
cmp dword [ebp - 0x220], 0
jbe 0x10007aff
lea eax, [ebp - 0x230]
push eax
call fcn.100039b0
add esp, 4
test eax, eax
jne 0x10007ad8
push 1
push 0x1005565c
lea ecx, [ebp - 0x230]
call fcn.10002630
cmp dword [edi + 0x94], 8
lea ecx, [edi + 0x80]
jb 0x10007aed
mov ecx, dword [edi + 0x80]
push dword [edi + 0x90]
push ecx
lea ecx, [ebp - 0x230]
call fcn.10002630
lea ecx, [ebp - 0x248]
call fcn.100027b0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0
call fcn.100027b0
lea eax, [ebp - 0x230]
push eax
call fcn.100039b0
add esp, 4
test eax, eax
jne 0x10007b3e
push 1
push 0x1005565c
lea ecx, [ebp - 0x230]
call fcn.10002630
lea ecx, [edi + 8]
lea eax, [ebp - 0x230]
cmp ecx, eax
je 0x10007b65
cmp dword [ebp - 0x21c], 8
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.10002af0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x10007ba1
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007b97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007bbe
push edx
push ecx
call fcn.1001544a
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.10015a09
mov esp, ebp
pop ebp
ret
call fcn.10030c49
int3