Function at 0x44f4df
Capabilities:
Encode data using xor
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push dword [ebp + 0x14]
call fcn.00451fa0
pop ecx
push 1
push dword [ebp + 8]
mov edi, eax
inc edi
call fcn.00451fa0
push dword [ebp + 0x10]
mov esi, eax
call fcn.00451fa0
pop ecx
lea eax, [esi + eax + 5]
pop ecx
lea eax, [eax + eax*2]
push eax
call fcn.0040bca9
push dword [ebp + 0x10]
mov ebx, eax
push dword [ebp + 0xc]
mov esi, ebx
push dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
call fcn.0044f49d
add esp, 0x14
lea eax, [ebp - 8]
push eax
push str.SoftwareSimonTathamPuTTYSshHostKeys
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x44f556
push ebx
call fcn.0040bd73
pop ecx
xor eax, eax
inc eax
jmp 0x44f6fd
push 1
push edi
mov dword [ebp - 0xc], edi
call fcn.0040bca9
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
push dword [ebp - 8]
call esi
test eax, eax
mov dword [ebp - 0x10], eax
je 0x44f6ae
cmp eax, 0xea
je 0x44f6ae
push 0x464948
push dword [ebp + 0x10]
call fcn.00452250
test eax, eax
pop ecx
pop ecx
jne 0x44f6ae
push 0x468220
push ebx
call fcn.00454170
lea eax, [eax + ebx + 1]
mov dword [ebp - 0x18], eax
lea eax, [edi + 0xa]
push 1
push eax
call fcn.0040bca9
add esp, 0x10
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0xc], edi
push dword [ebp - 8]
call esi
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x44f6a5
cmp dword [ebp - 0x14], 1
jne 0x44f6a5
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x18], 2
mov byte [esi], 0x30
inc esi
push 0x464110
mov byte [esi], 0x78
push edi
inc esi
call fcn.00454170
pop ecx
pop ecx
mov ecx, eax
push 4
cdq
pop ebx
idiv ebx
lea edx, [ecx - 1]
mov dword [ebp - 0x24], eax
jmp 0x44f631
cmp ecx, 1
jle 0x44f63c
dec ecx
dec edx
mov eax, edx
xor eax, 3
cmp byte [eax + edi], 0x30
je 0x44f62a
xor ebx, ebx
test ecx, ecx
jle 0x44f656
lea edx, [ecx + esi - 1]
mov eax, ebx
xor eax, 3
mov al, byte [eax + edi]
inc ebx
mov byte [edx], al
dec edx
cmp ebx, ecx
jl 0x44f646
mov eax, dword [ebp - 0x24]
lea edi, [edi + eax*4]
add esi, ecx
cmp byte [edi], 0
je 0x44f668
inc edi
mov byte [esi], 0x2c
inc esi
dec dword [ebp - 0x18]
mov byte [esi], 0
jne 0x44f605
push dword [ebp + 0x14]
push dword [ebp - 4]
call fcn.00452250
test eax, eax
pop ecx
pop ecx
jne 0x44f6a2
push dword [ebp - 4]
call fcn.00451fa0
mov ebx, dword [ebp - 0x1c]
pop ecx
inc eax
push eax
push dword [ebp - 4]
push 1
push 0
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x44f6a5
mov ebx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0040bd73
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x14]
push dword [ebp - 4]
call fcn.00452250
push dword [ebp - 4]
mov esi, eax
call fcn.0040bd73
push ebx
call fcn.0040bd73
add esp, 0x10
cmp dword [ebp - 0x10], 0xea
je 0x44f6fa
cmp dword [ebp - 0x10], 0
jne 0x44f54e
cmp dword [ebp - 0x14], 1
jne 0x44f54e
test esi, esi
jne 0x44f6fa
xor eax, eax
jmp 0x44f6fd
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret