Function at 0x425af0
Capabilities:
Get common file path
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436100
mov eax, dword fs:[0]
push eax
sub esp, 0x738
mov eax, dword [0x441f9c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
xor edi, edi
mov dword [ebp - 0x6f4], eax
xor eax, eax
mov dword [ebp - 0x728], eax
mov dword [ebp - 0x6dc], eax
mov byte [ebp - 0x6f5], al
lea eax, [ebp - 0x6dc]
push eax
push edi
push edi
push 0x438f54
mov dword [ebp - 0x708], edi
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x425c44
mov edi, dword [ebp - 0x6dc]
push 0xc
call fcn.00434566
mov esi, eax
add esp, 4
test esi, esi
je 0x425b98
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x425b9a
test edi, edi
jne 0x427484
jmp 0x425b9a
xor esi, esi
mov dword [ebp - 0x6fc], esi
test esi, esi
je 0x427484
push dword [0x43e034]
lea ecx, [ebp - 0x6d4]
call fcn.00429600
lea eax, [ebp - 0x6d4]
push eax
lea ecx, [ebp - 0x6fc]
call fcn.004299c0
lea ecx, [ebp - 0x6d4]
call fcn.00429700
push 0x43867c
lea ecx, [ebp - 0x6d4]
call fcn.00429600
lea eax, [ebp - 0x6d4]
push eax
lea ecx, [ebp - 0x6fc]
call fcn.004299c0
lea ecx, [ebp - 0x6d4]
call fcn.00429700
push dword [0x43e038]
lea ecx, [ebp - 0x6d4]
call fcn.00429600
lea eax, [ebp - 0x6d4]
push eax
lea ecx, [ebp - 0x6fc]
call fcn.004299c0
lea ecx, [ebp - 0x6d4]
call fcn.00429700
mov edi, dword [ebp - 0x6fc]
mov byte [ebp - 0x6f5], 1
mov dword [ebp - 0x708], edi
push dword [ebp - 0x6dc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
or eax, 0xffffffff
cmp byte [ebp - 0x6f5], 0
jne 0x425c64
lea esi, [eax + 2]
jmp 0x427424
test edi, edi
je 0x425c6c
mov esi, dword [edi]
jmp 0x425c6e
xor esi, esi
mov ecx, esi
mov dword [ebp - 0x6dc], esi
xor eax, eax
mov dword [ebp - 0x6c0], 0
mov dword [ebp - 0x6bc], 7
mov word [ebp - 0x6d0], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425c96
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x6d0]
call fcn.0041faa0
push 0x104
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
add esp, 8
mov dword [ebp - 0x704], eax
xor esi, esi
test eax, eax
je 0x425cf4
mov edi, dword [ebp - 0x6dc]
movzx ecx, word [edi + esi*2]
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov word [edi + esi*2], ax
add esp, 4
inc esi
cmp esi, dword [ebp - 0x704]
jb 0x425cd3
mov edi, dword [ebp - 0x708]
mov edx, dword [ebp - 0x6dc]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x690], 0
mov dword [ebp - 0x68c], 7
mov word [ebp - 0x6a0], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425d20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6a0]
call fcn.0041faa0
cmp dword [ebp - 0x68c], 8
lea edx, [ebp - 0x6a0]
mov eax, dword [ebp - 0x690]
cmovae edx, dword [ebp - 0x6a0]
mov dword [ebp - 0x6d4], eax
test eax, eax
je 0x425d86
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea esi, [edx + ecx*2]
je 0x425d80
cmp esi, edx
je 0x425d86
sub esi, 2
cmp word [esi], 0x2e
jne 0x425d73
sub esi, edx
sar esi, 1
jmp 0x425d89
or esi, 0xffffffff
mov eax, dword [ebp - 0x6d4]
cmp eax, esi
jb 0x42748e
sub eax, esi
or edx, 0xffffffff
cmp eax, 0xffffffff
cmovb edx, eax
cmp dword [ebp - 0x68c], 8
lea eax, [ebp - 0x6a0]
cmovae eax, dword [ebp - 0x6a0]
lea ecx, [eax + esi*2]
mov eax, dword [ebp - 0x6d4]
sub eax, edx
mov dword [ebp - 0x690], eax
sub eax, esi
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x690]
lea esi, [ebp - 0x6a0]
add esp, 0xc
cmp dword [ebp - 0x68c], 8
cmovae esi, dword [ebp - 0x6a0]
test eax, eax
je 0x425e23
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [esi + ecx*2], 0x5c
lea edx, [esi + ecx*2]
je 0x425e1d
nop
cmp edx, esi
je 0x425e23
sub edx, 2
cmp word [edx], 0x5c
jne 0x425e10
or edx, 0xffffffff
push 0x8007000e
call fcn.0042eae0