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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100502ec
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x1006e090]
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 0x10007824
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 0x1000788b
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10004620
mov ecx, 1
add esp, 8
mov dword [ebp - 0x298], ecx
cmp dword [eax + 0x10], 0
ja 0x10007891
mov byte [ebp - 0x291], cl
jmp 0x10007898
mov ecx, dword [ebp - 0x298]
mov byte [ebp - 0x291], 0
test cl, 1
je 0x100078b1
and ecx, 0xfffffffe
mov dword [ebp - 0x298], ecx
lea ecx, [ebp - 0x248]
call fcn.100027b0
cmp byte [ebp - 0x291], 0
je 0x100078dd
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 0x100079ef
cmp dword [ebp - 0x220], 0
ja 0x10007c29
cmp dword [esi + 0x14], 8
jb 0x100078ff
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 0x10007956
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 0x100079a6
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10004620
mov edx, dword [ebp - 0x298]
add esp, 8
or edx, 2
cmp dword [eax + 0x10], 0
ja 0x100079ac
mov byte [ebp - 0x291], 1
jmp 0x100079b3
mov edx, dword [ebp - 0x298]
mov byte [ebp - 0x291], 0
test dl, 2
je 0x100079c3
lea ecx, [ebp - 0x248]
call fcn.100027b0
cmp byte [ebp - 0x291], 0
je 0x100079ef
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 0x10007c29
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1002da90
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.10004830
add esp, 4
cmp byte [edi + 0x98], 0
mov byte [ebp - 4], 2
jne 0x10007adf
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.10003ad0
add esp, 8
test al, al
je 0x10007adf
push 0
lea eax, [ebp - 0x278]
push 0x1c
push eax
call fcn.10004720
add esp, 0xc
lea ecx, [ebp - 0x230]
push eax
call fcn.10002e80
jmp 0x10007b7e
lea eax, [ebp - 0x278]
push eax
call fcn.10004850
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 0x10007b6f
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 0x10007bba
push 0x16
push str.C:Program_Files__x86_
lea ecx, [ebp - 0x230]
call fcn.10002af0
cmp dword [ebp - 0x220], 0
jbe 0x10007c0f
lea eax, [ebp - 0x230]
push eax
call fcn.10003a30
add esp, 4
test eax, eax
jne 0x10007be8
push 1
push 0x1005667c
lea ecx, [ebp - 0x230]
call fcn.10002630
cmp dword [edi + 0x94], 8
lea ecx, [edi + 0x80]
jb 0x10007bfd
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.10003a30
add esp, 4
test eax, eax
jne 0x10007c4e
push 1
push 0x1005667c
lea ecx, [ebp - 0x230]
call fcn.10002630
lea ecx, [edi + 8]
lea eax, [ebp - 0x230]
cmp ecx, eax
je 0x10007c75
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 0x10007cb1
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007ca7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007cce
push edx
push ecx
call fcn.100162e0
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.1001689f
mov esp, ebp
pop ebp
ret
call fcn.10031bb9
int3