Function at 0x4ab1a0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3e87
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0xc4]
xor eax, eax
mov dword [ebp - 0xf8], ebx
push eax
push 0x5b6ea8
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
call fcn.00409db0
push 0x20119
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0
mov ecx, 0x26
mov dword [ebp - 0xec], 0
mov esi, str.SoftwareClassesCLSID054AAE20_4BEA_4347_8A35_64A533254A9DLocalServer32
lea edi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
push eax
xorps xmm0, xmm0
lea ecx, [ebp - 0xf4]
push 0x80000002
movq qword [ebp - 0xf4], xmm0
call fcn.0040dd20
push 0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xf8], 0x400
push 0x400
push eax
call fcn.00434a50
add esp, 8
lea ecx, [ebp - 0xf4]
push eax
push 0
call fcn.0044d9e0
test eax, eax
jne 0x4ab691
mov edx, dword [ebp - 0xb4]
test edx, edx
je 0x4ab691
mov esi, dword [ebp - 0xb0]
lea ecx, [ebp - 0xc4]
mov edi, dword [ebp - 0xc4]
cmp esi, 8
cmovae ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 0xac], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ab2c0
sub ecx, dword [ebp - 0xac]
sar ecx, 1
cmp ecx, edx
ja 0x4ab2f1
cmp esi, 8
mov dword [ebp - 0xb4], ecx
lea eax, [ebp - 0xc4]
cmovae eax, edi
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x4ab304
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0xc4]
lfence
call fcn.00434ab0
cmp dword [ebp - 0xb0], 8
lea eax, [ebp - 0xc4]
push 0x14
cmovae eax, dword [ebp - 0xc4]
push str._CommonProgramFiles_
push 0
push dword [ebp - 0xb4]
push eax
call fcn.00411900
add esp, 0x14
cmp eax, 0xffffffff
je 0x4ab60e
push 0x14
push eax
lea ecx, [ebp - 0xc4]
call fcn.0042f870
xor eax, eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
push eax
push eax
push str.CommonProgramW6432
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
je 0x4ab464
xorps xmm0, xmm0
mov dword [ebp - 0xe0], 0
movq qword [ebp - 0xe8], xmm0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
lea eax, [esi + 1]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xe8]
call fcn.004b0b80
push esi
mov esi, dword [ebp - 0xe8]
push esi
push str.CommonProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ab3e0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xdc]
call fcn.00409db0
mov byte [ebp - 4], 3
test esi, esi
je 0x4ab548
mov eax, dword [ebp - 0xe0]
sub eax, esi
sar eax, 1
lea ecx, [eax + eax]
mov eax, esi
mov byte [ebp - 4], 5
cmp ecx, 0x1000
jb 0x4ab437
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab6ff
push ecx
push esi
call fcn.0040a1a2
add esp, 8
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
jmp 0x4ab544
mov dword [ebp - 0xac], 0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 6
push eax
push 0
push 0
push 0x5c02ec
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x4ab51e
push 0
mov ecx, ebx
call fcn.004102c0
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], 7
test eax, eax
je 0x4ab4ad
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xc8]
mov byte [ebp - 4], 8
cmp eax, 8
jb 0x4ab4d9
inc eax
lea ecx, [ebp - 0xdc]
push eax
push dword [ebp - 0xdc]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0xcc], 0
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
call fcn.0040c880
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 4], 9
cmp eax, 8
jb 0x4ab6e1
inc eax
push eax
jmp 0x4ab6d0
push dword [ebp - 0xac]
lea ecx, [ebp - 0xdc]
call fcn.0040bef0
mov eax, dword [ebp - 0xac]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4ab544
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
jne 0x4ab5c5
push 0x5b6ea8
mov ecx, ebx
call fcn.004102c0
mov eax, dword [ebp - 0xc8]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x4ab580
inc eax
lea ecx, [ebp - 0xdc]
push eax
push dword [ebp - 0xdc]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0xcc], 0
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
call fcn.0040c880
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 4], 0xc
cmp eax, 8
jb 0x4ab6e1
inc eax
push eax
jmp 0x4ab6d0
cmp dword [ebp - 0xc8], 8
lea eax, [ebp - 0xdc]
push ecx
cmovae eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xc4]
push eax
push 1
call fcn.004195a0
mov eax, dword [ebp - 0xc8]
mov byte [ebp - 4], 0xd
cmp eax, 8
jb 0x4ab60a
inc eax
lea ecx, [ebp - 0xdc]
push eax
push dword [ebp - 0xdc]
call fcn.0040a5e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xb4]
cmp ecx, 2
jb 0x4ab662
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 0xc4]
mov esi, dword [ebp - 0xc4]
cmp edx, 8
cmovae eax, esi
cmp word [eax], 0x22
jne 0x4ab662
cmp edx, 8
lea eax, [ebp - 0xc4]
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x22
jne 0x4ab662
lea eax, [ecx - 2]
push eax
push 1
push ebx
lea ecx, [ebp - 0xc4]
lfence
call fcn.00410b80
jmp 0x4ab670
lea eax, [ebp - 0xc4]
mov ecx, ebx
push eax
call fcn.0040b170
lea ecx, [ebp - 0xf4]
call fcn.0040c880
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 4], 0xe
cmp eax, 8
jb 0x4ab6e1
inc eax
push eax
jmp 0x4ab6d0
xor eax, eax
mov dword [ebx + 0x10], 0
push eax
mov dword [ebx + 0x14], 7
mov ecx, ebx
push 0x5b6ea8
mov word [ebx], ax
call fcn.00409db0
lea ecx, [ebp - 0xf4]
call fcn.0040c880
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 4], 2
cmp ecx, 8
jb 0x4ab6e1
inc ecx
push ecx
push dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
call fcn.0040a5e0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret
call fcn.0056e2db
int3