Function at 0x42c3d8
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.0042d810
pop ecx
push 1
push dword [ebp + 8]
mov edi, eax
inc edi
call fcn.0042d810
push dword [ebp + 0x10]
mov esi, eax
call fcn.0042d810
pop ecx
lea eax, [esi + eax + 5]
pop ecx
lea eax, [eax + eax*2]
push eax
call fcn.00403bc7
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.0042c396
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 0x42c44f
push ebx
call fcn.00403c87
pop ecx
xor eax, eax
inc eax
jmp 0x42c5f6
push 1
push edi
mov dword [ebp - 0xc], edi
call fcn.00403bc7
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 0x42c5a7
cmp eax, 0xea
je 0x42c5a7
push 0x438728
push dword [ebp + 0x10]
call fcn.0042dac0
test eax, eax
pop ecx
pop ecx
jne 0x42c5a7
push 0x43bc68
push ebx
call fcn.0042fb00
lea eax, [eax + ebx + 1]
mov dword [ebp - 0x18], eax
lea eax, [edi + 0xa]
push 1
push eax
call fcn.00403bc7
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 0x42c59e
cmp dword [ebp - 0x14], 1
jne 0x42c59e
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x18], 2
mov byte [esi], 0x30
inc esi
push 0x43812c
mov byte [esi], 0x78
push edi
inc esi
call fcn.0042fb00
pop ecx
pop ecx
mov ecx, eax
push 4
cdq
pop ebx
idiv ebx
lea edx, [ecx - 1]
mov dword [ebp - 0x24], eax
jmp 0x42c52a
cmp ecx, 1
jle 0x42c535
dec ecx
dec edx
mov eax, edx
xor eax, 3
cmp byte [eax + edi], 0x30
je 0x42c523
xor ebx, ebx
test ecx, ecx
jle 0x42c54f
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 0x42c53f
mov eax, dword [ebp - 0x24]
lea edi, [edi + eax*4]
add esi, ecx
cmp byte [edi], 0
je 0x42c561
inc edi
mov byte [esi], 0x2c
inc esi
dec dword [ebp - 0x18]
mov byte [esi], 0
jne 0x42c4fe
push dword [ebp + 0x14]
push dword [ebp - 4]
call fcn.0042dac0
test eax, eax
pop ecx
pop ecx
jne 0x42c59b
push dword [ebp - 4]
call fcn.0042d810
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 0x42c59e
mov ebx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00403c87
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x14]
push dword [ebp - 4]
call fcn.0042dac0
push dword [ebp - 4]
mov esi, eax
call fcn.00403c87
push ebx
call fcn.00403c87
add esp, 0x10
cmp dword [ebp - 0x10], 0xea
je 0x42c5f3
cmp dword [ebp - 0x10], 0
jne 0x42c447
cmp dword [ebp - 0x14], 1
jne 0x42c447
test esi, esi
jne 0x42c5f3
xor eax, eax
jmp 0x42c5f6
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret