Function at 0x44f724
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.004521e0
pop ecx
push 1
push dword [ebp + 8]
mov edi, eax
inc edi
call fcn.004521e0
push dword [ebp + 0x10]
mov esi, eax
call fcn.004521e0
pop ecx
lea eax, [esi + eax + 5]
pop ecx
lea eax, [eax + eax*2]
push eax
call fcn.0040bcdf
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.0044f6e2
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 0x44f79b
push ebx
call fcn.0040bda9
pop ecx
xor eax, eax
inc eax
jmp 0x44f942
push 1
push edi
mov dword [ebp - 0xc], edi
call fcn.0040bcdf
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 0x44f8f3
cmp eax, 0xea
je 0x44f8f3
push 0x464948
push dword [ebp + 0x10]
call fcn.00452490
test eax, eax
pop ecx
pop ecx
jne 0x44f8f3
push 0x468220
push ebx
call fcn.004543b0
lea eax, [eax + ebx + 1]
mov dword [ebp - 0x18], eax
lea eax, [edi + 0xa]
push 1
push eax
call fcn.0040bcdf
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 0x44f8ea
cmp dword [ebp - 0x14], 1
jne 0x44f8ea
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.004543b0
pop ecx
pop ecx
mov ecx, eax
push 4
cdq
pop ebx
idiv ebx
lea edx, [ecx - 1]
mov dword [ebp - 0x24], eax
jmp 0x44f876
cmp ecx, 1
jle 0x44f881
dec ecx
dec edx
mov eax, edx
xor eax, 3
cmp byte [eax + edi], 0x30
je 0x44f86f
xor ebx, ebx
test ecx, ecx
jle 0x44f89b
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 0x44f88b
mov eax, dword [ebp - 0x24]
lea edi, [edi + eax*4]
add esi, ecx
cmp byte [edi], 0
je 0x44f8ad
inc edi
mov byte [esi], 0x2c
inc esi
dec dword [ebp - 0x18]
mov byte [esi], 0
jne 0x44f84a
push dword [ebp + 0x14]
push dword [ebp - 4]
call fcn.00452490
test eax, eax
pop ecx
pop ecx
jne 0x44f8e7
push dword [ebp - 4]
call fcn.004521e0
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 0x44f8ea
mov ebx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0040bda9
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x14]
push dword [ebp - 4]
call fcn.00452490
push dword [ebp - 4]
mov esi, eax
call fcn.0040bda9
push ebx
call fcn.0040bda9
add esp, 0x10
cmp dword [ebp - 0x10], 0xea
je 0x44f93f
cmp dword [ebp - 0x10], 0
jne 0x44f793
cmp dword [ebp - 0x14], 1
jne 0x44f793
test esi, esi
jne 0x44f93f
xor eax, eax
jmp 0x44f942
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret