Function at 0x449b69
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.0044c220
pop ecx
push 1
push dword [ebp + 8]
mov edi, eax
inc edi
call fcn.0044c220
push dword [ebp + 0x10]
mov esi, eax
call fcn.0044c220
pop ecx
lea eax, [esi + eax + 5]
pop ecx
lea eax, [eax + eax*2]
push eax
call fcn.0040b3b0
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.00449b27
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 0x449be0
push ebx
call fcn.0040b470
pop ecx
xor eax, eax
inc eax
jmp 0x449d87
push 1
push edi
mov dword [ebp - 0xc], edi
call fcn.0040b3b0
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 0x449d38
cmp eax, 0xea
je 0x449d38
push 0x45e4a0
push dword [ebp + 0x10]
call fcn.0044c4d0
test eax, eax
pop ecx
pop ecx
jne 0x449d38
push 0x4619e0
push ebx
call fcn.0044e930
lea eax, [eax + ebx + 1]
mov dword [ebp - 0x18], eax
lea eax, [edi + 0xa]
push 1
push eax
call fcn.0040b3b0
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 0x449d2f
cmp dword [ebp - 0x14], 1
jne 0x449d2f
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x18], 2
mov byte [esi], 0x30
inc esi
push 0x45dc64
mov byte [esi], 0x78
push edi
inc esi
call fcn.0044e930
pop ecx
pop ecx
mov ecx, eax
push 4
cdq
pop ebx
idiv ebx
lea edx, [ecx - 1]
mov dword [ebp - 0x24], eax
jmp 0x449cbb
cmp ecx, 1
jle 0x449cc6
dec ecx
dec edx
mov eax, edx
xor eax, 3
cmp byte [eax + edi], 0x30
je 0x449cb4
xor ebx, ebx
test ecx, ecx
jle 0x449ce0
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 0x449cd0
mov eax, dword [ebp - 0x24]
lea edi, [edi + eax*4]
add esi, ecx
cmp byte [edi], 0
je 0x449cf2
inc edi
mov byte [esi], 0x2c
inc esi
dec dword [ebp - 0x18]
mov byte [esi], 0
jne 0x449c8f
push dword [ebp + 0x14]
push dword [ebp - 4]
call fcn.0044c4d0
test eax, eax
pop ecx
pop ecx
jne 0x449d2c
push dword [ebp - 4]
call fcn.0044c220
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 0x449d2f
mov ebx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0040b470
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x14]
push dword [ebp - 4]
call fcn.0044c4d0
push dword [ebp - 4]
mov esi, eax
call fcn.0040b470
push ebx
call fcn.0040b470
add esp, 0x10
cmp dword [ebp - 0x10], 0xea
je 0x449d84
cmp dword [ebp - 0x10], 0
jne 0x449bd8
cmp dword [ebp - 0x14], 1
jne 0x449bd8
test esi, esi
jne 0x449d84
xor eax, eax
jmp 0x449d87
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret