Function at 0x44fcef
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SoftwareSimonTathamPuTTYJumplist
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x44fd22
push 2
pop eax
jmp 0x44fee3
push esi
push edi
mov eax, 0xc8
push 1
push eax
mov dword [ebp - 0xc], eax
call fcn.0040bcdf
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
push str.Recent_sessions
push dword [ebp - 4]
call esi
cmp eax, 0xea
jne 0x44fd82
push edi
call fcn.0040bda9
push 1
push dword [ebp - 0xc]
call fcn.0040bcdf
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
push str.Recent_sessions
push dword [ebp - 4]
call esi
cmp eax, 2
je 0x44fdbb
cmp eax, ebx
jne 0x44fda3
cmp dword [ebp - 0x14], 7
je 0x44fdc0
push str.Recent_sessions
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x44fdbb
push edi
call fcn.0040bda9
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
pop eax
jmp 0x44fee1
mov byte [edi], bl
mov byte [edi + 1], bl
mov ecx, dword [ebp - 0xc]
dec ecx
cmp ecx, ebx
mov eax, edi
jle 0x44fddb
xor edx, edx
cmp byte [eax], bl
jne 0x44fdd5
cmp byte [eax + 1], bl
je 0x44fddb
inc eax
inc edx
cmp edx, ecx
jl 0x44fdcc
sub eax, edi
cmp eax, ecx
jl 0x44fde6
mov byte [edi], bl
mov byte [edi + 1], bl
cmp dword [ebp + 8], ebx
jne 0x44fdf7
cmp dword [ebp + 0xc], ebx
jne 0x44fe03
xor esi, esi
jmp 0x44feb9
push dword [ebp + 8]
call fcn.004521e0
pop ecx
inc eax
jmp 0x44fe05
xor eax, eax
mov ecx, dword [ebp - 0xc]
add eax, ecx
push 1
push eax
call fcn.0040bcdf
cmp dword [ebp + 8], ebx
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], edi
je 0x44fe37
push dword [ebp + 8]
push esi
call fcn.00453eb0
push esi
call fcn.004521e0
add esp, 0xc
lea esi, [eax + esi + 1]
cmp byte [edi], bl
je 0x44fe92
cmp dword [ebp + 0xc], ebx
je 0x44fe51
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.00452490
test eax, eax
pop ecx
pop ecx
je 0x44fe7b
push dword [ebp - 8]
call fcn.0044f2d8
cmp eax, ebx
pop ecx
je 0x44fe7b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
push esi
call fcn.00453eb0
push esi
call fcn.004521e0
add esp, 0xc
lea esi, [esi + eax + 1]
push dword [ebp - 8]
call fcn.004521e0
pop ecx
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax + 1]
cmp byte [eax], bl
mov dword [ebp - 8], eax
jne 0x44fe3b
mov byte [esi], bl
sub esi, dword [ebp - 0x10]
inc esi
push esi
push dword [ebp - 0x10]
push 7
push ebx
push str.Recent_sessions
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
mov esi, eax
call fcn.0040bda9
mov edi, dword [ebp - 0x10]
pop ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x44fec8
cmp esi, ebx
jne 0x44fec8
mov dword [eax], edi
jmp 0x44fecf
push edi
call fcn.0040bda9
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
and eax, 4
pop edi
pop esi
pop ebx
leave
ret