Function at 0x44faaa
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 0x44fadd
push 2
pop eax
jmp 0x44fc9e
push esi
push edi
mov eax, 0xc8
push 1
push eax
mov dword [ebp - 0xc], eax
call fcn.0040bca9
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 0x44fb3d
push edi
call fcn.0040bd73
push 1
push dword [ebp - 0xc]
call fcn.0040bca9
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 0x44fb76
cmp eax, ebx
jne 0x44fb5e
cmp dword [ebp - 0x14], 7
je 0x44fb7b
push str.Recent_sessions
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x44fb76
push edi
call fcn.0040bd73
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
pop eax
jmp 0x44fc9c
mov byte [edi], bl
mov byte [edi + 1], bl
mov ecx, dword [ebp - 0xc]
dec ecx
cmp ecx, ebx
mov eax, edi
jle 0x44fb96
xor edx, edx
cmp byte [eax], bl
jne 0x44fb90
cmp byte [eax + 1], bl
je 0x44fb96
inc eax
inc edx
cmp edx, ecx
jl 0x44fb87
sub eax, edi
cmp eax, ecx
jl 0x44fba1
mov byte [edi], bl
mov byte [edi + 1], bl
cmp dword [ebp + 8], ebx
jne 0x44fbb2
cmp dword [ebp + 0xc], ebx
jne 0x44fbbe
xor esi, esi
jmp 0x44fc74
push dword [ebp + 8]
call fcn.00451fa0
pop ecx
inc eax
jmp 0x44fbc0
xor eax, eax
mov ecx, dword [ebp - 0xc]
add eax, ecx
push 1
push eax
call fcn.0040bca9
cmp dword [ebp + 8], ebx
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], edi
je 0x44fbf2
push dword [ebp + 8]
push esi
call fcn.00453c70
push esi
call fcn.00451fa0
add esp, 0xc
lea esi, [eax + esi + 1]
cmp byte [edi], bl
je 0x44fc4d
cmp dword [ebp + 0xc], ebx
je 0x44fc0c
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.00452250
test eax, eax
pop ecx
pop ecx
je 0x44fc36
push dword [ebp - 8]
call fcn.0044f093
cmp eax, ebx
pop ecx
je 0x44fc36
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
push esi
call fcn.00453c70
push esi
call fcn.00451fa0
add esp, 0xc
lea esi, [esi + eax + 1]
push dword [ebp - 8]
call fcn.00451fa0
pop ecx
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax + 1]
cmp byte [eax], bl
mov dword [ebp - 8], eax
jne 0x44fbf6
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.0040bd73
mov edi, dword [ebp - 0x10]
pop ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x44fc83
cmp esi, ebx
jne 0x44fc83
mov dword [eax], edi
jmp 0x44fc8a
push edi
call fcn.0040bd73
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