Function at 0x4344e2
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x654
push edi
mov dword [ebp - 0x63c], ecx
mov dword [ebp - 0x628], 0
mov eax, dword [ebp - 0x63c]
mov ecx, dword [eax + 0x208]
push ecx
mov edx, dword [ebp - 0x63c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
je 0x43452a
mov dword [ebp - 0x628], 1
jmp 0x43456a
mov ecx, dword [ebp - 0x63c]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x208]
mov dword [ebp - 0x638], edx
mov eax, dword [ebp + 8]
imul eax, eax, 0x18
mov ecx, dword [eax + 0x4def70]
push ecx
mov edx, dword [ebp - 0x638]
add edx, 1
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x43456a
mov dword [ebp - 0x628], 1
cmp dword [ebp - 0x628], 0
jne 0x43457a
xor eax, eax
jmp 0x434826
mov word [ebp - 0x620], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x61e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x210], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x104
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x18
mov edx, dword [ecx + 0x4def70]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp + 8]
imul eax, eax, 0x18
mov ecx, dword [eax + 0x4def68]
push ecx
push 0x4e185c
push 0x104
lea edx, [ebp - 0x620]
push edx
call fcn.00434a60
add esp, 0x10
mov dword [ebp - 8], 0
lea eax, [ebp - 0x620]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43461e
mov dword [ebp - 0x640], 0
jmp 0x434665
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov dword [ebp - 0x630], edx
mov eax, dword [ebp - 0x630]
add eax, 3
and al, 0xfc
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x644], esp
mov eax, dword [ebp - 0x630]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x644]
push edx
call fcn.00415510
mov dword [ebp - 0x640], eax
mov eax, dword [ebp - 0x640]
push eax
push 0x2d2
push str.Fix_SYSTEM_reg__1__d__RegPath_:_s
call fcn.00401ab0
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x634]
push ecx
push 0x4e18cc
lea edx, [ebp - 0x620]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov word [ebp - 0x418], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x416]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x624], 0x208
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x418]
push ecx
push 0
push 0x4e18e0
lea edx, [ebp - 0x620]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x418]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x434706
mov dword [ebp - 0x648], 0
jmp 0x43474d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov dword [ebp - 0x630], edx
mov eax, dword [ebp - 0x630]
add eax, 3
and al, 0xfc
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x64c], esp
mov eax, dword [ebp - 0x630]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x64c]
push edx
call fcn.00415510
mov dword [ebp - 0x648], eax
mov eax, dword [ebp - 0x648]
push eax
push 0x2e5
push str.Fix_SYSTEM_reg__1__d__RegPath_n_Old_value_:_s
call fcn.00401ab0
add esp, 0xc
lea ecx, [ebp - 0x210]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x434781
mov dword [ebp - 0x650], 0
jmp 0x4347c8
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x630], eax
mov eax, dword [ebp - 0x630]
add eax, 3
and al, 0xfc
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x654], esp
mov ecx, dword [ebp - 0x630]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x654]
push eax
call fcn.00415510
mov dword [ebp - 0x650], eax
mov ecx, dword [ebp - 0x650]
push ecx
push 0x2ea
push str.Fix_SYSTEM_reg__1__d__RegPath_n__New_value_:_s
call fcn.00401ab0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.ntdll.dll_wcslen]
add esp, 4
shl eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x634]
push ecx
push 0x4e1954
lea edx, [ebp - 0x620]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x434824
mov eax, 1
jmp 0x434826
xor eax, eax
lea esp, [ebp - 0x658]
pop edi
mov esp, ebp
pop ebp
ret 8