Function at 0x447453
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 0x447486
push 2
pop eax
jmp 0x447643
push esi
push edi
mov eax, 0xc8
push 1
push eax
mov dword [ebp - 0xc], eax
call fcn.0040a6b0
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 0x4474e6
push edi
call fcn.0040a770
push 1
push dword [ebp - 0xc]
call fcn.0040a6b0
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 0x44751f
cmp eax, ebx
jne 0x447507
cmp dword [ebp - 0x14], 7
je 0x447524
push str.Recent_sessions
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x44751f
push edi
call fcn.0040a770
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
pop eax
jmp 0x447641
mov byte [edi], bl
mov byte [edi + 1], bl
mov ecx, dword [ebp - 0xc]
dec ecx
cmp ecx, ebx
mov eax, edi
jle 0x44753f
xor edx, edx
cmp byte [eax], bl
jne 0x447539
cmp byte [eax + 1], bl
je 0x44753f
inc eax
inc edx
cmp edx, ecx
jl 0x447530
sub eax, edi
cmp eax, ecx
jl 0x44754a
mov byte [edi], bl
mov byte [edi + 1], bl
cmp dword [ebp + 8], ebx
jne 0x44755b
cmp dword [ebp + 0xc], ebx
jne 0x447567
xor esi, esi
jmp 0x44761d
push dword [ebp + 8]
call fcn.00449600
pop ecx
inc eax
jmp 0x447569
xor eax, eax
mov ecx, dword [ebp - 0xc]
add eax, ecx
push 1
push eax
call fcn.0040a6b0
cmp dword [ebp + 8], ebx
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], edi
je 0x44759b
push dword [ebp + 8]
push esi
call fcn.0044a1e0
push esi
call fcn.00449600
add esp, 0xc
lea esi, [eax + esi + 1]
cmp byte [edi], bl
je 0x4475f6
cmp dword [ebp + 0xc], ebx
je 0x4475b5
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.00449d20
test eax, eax
pop ecx
pop ecx
je 0x4475df
push dword [ebp - 8]
call fcn.00446b08
cmp eax, ebx
pop ecx
je 0x4475df
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
push esi
call fcn.0044a1e0
push esi
call fcn.00449600
add esp, 0xc
lea esi, [esi + eax + 1]
push dword [ebp - 8]
call fcn.00449600
pop ecx
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax + 1]
cmp byte [eax], bl
mov dword [ebp - 8], eax
jne 0x44759f
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.0040a770
mov edi, dword [ebp - 0x10]
pop ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x447628
mov dword [eax], edi
jmp 0x44762f
push edi
call fcn.0040a770
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