Function at 0x407ba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov esi, edx
mov ebp, ecx
mov ebx, dword [esp + 0xa0]
mov eax, dword [0x464010]
xor eax, esp
mov dword [esp + 0x88], eax
call fcn.0040e970
mov edi, eax
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x80], 0
lea ebx, [esp + 0x74]
mov dword [esp + 0x84], ebx
push ebx
call fcn.0040e160
add esp, 4
mov ecx, dword [esp + 0x84]
cmp dword [ecx + 0xc], 0
mov dword [esp + 4], esi
mov dword [esp], edi
je 0x407c98
push str.message_contained_no_type_code
push 5
push edi
push esi
push ebp
call fcn.0040a300
add esp, 0x14
mov edi, ebp
push 0
push 0x1c
push 1
call fcn.0040e430
add esp, 0xc
mov ebx, eax
lea ebp, [eax + 8]
mov dword [eax + 8], 0x4512f8
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
lea ecx, [ebx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 4]
lea edx, [eax + 4]
mov dword [ebx + 0x14], edx
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x10]
mov dword [eax + 4], ecx
mov eax, dword [esp + 4]
mov dword [ebx + 0x18], eax
mov eax, dword [esp]
mov dword [ebx + 4], eax
mov dword [ebx], 0
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0043208f
mov eax, ebp
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 8], ebp
movzx eax, al
mov edx, eax
add dl, 0xff
cmp dl, 0x1a
ja case.0x407cb0.254
movzx edx, dl
jmp dword [edx*4 + 0x451330]
push str.request:_SSH1_AGENTC_REQUEST_RSA_IDENTITIES
push esi
mov edi, dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0xc
mov ebx, dword [esp]
add ebx, 0xc
push 2
push ebx
call fcn.0040de80
add esp, 8
mov ecx, ebx
mov edx, 1
push 0
call fcn.00407560
add esp, 4
push str.reply:_SSH1_AGENT_RSA_IDENTITIES_ANSWER
push esi
push edi
call fcn.0040a390
add esp, 0xc
cmp byte [edi + 8], 0
jne 0x407c2c
xor ebp, ebp
lea esi, [esp + 0x3c]
jmp 0x407d39
push dword [ebx + 0x10]
call fcn.00411bf0
add esp, 4
mov ebx, eax
push eax
push str.returned_key:__s
push dword [esp + 0xc]
push edi
call fcn.0040a390
add esp, 0x10
push ebx
call fcn.0040e4c0
add esp, 4
add ebp, 1
mov dword [esp + 0x4c], 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0x45c400
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0x45c400
push esi
push 4
push 0
lea eax, [esp + 0x58]
push eax
push dword [0x464c1c]
call fcn.004109c0
add esp, 0x14
test eax, eax
je 0x407d83
mov eax, dword [esp + 0x3c]
jmp 0x407d91
push dword [0x464c1c]
call fcn.004101a0
add esp, 4
add eax, ebp
push eax
push dword [0x464c1c]
call fcn.004108f0
add esp, 8
test eax, eax
je 0x407c2c
cmp dword [eax], 1
jne 0x407c2c
push 0
push eax
push dword [0x464c20]
call fcn.00410ec0
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x407d0d
push 0x107
push 0x45d15c
push str.priv___Public_and_private_trees_out_of_sync__
call fcn.0043bf69
add esp, 0xc
jmp 0x407d0d
push eax
push str.request:_unknown_message_type__d
push esi
mov edi, dword [esp + 0x14]
push edi
call fcn.0040a390
add esp, 0x10
push str.unrecognised_message
jmp 0x4082bb
push str.request:_SSH1_AGENTC_RSA_CHALLENGE
push esi
mov edi, dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0xc
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
lea eax, [esp + 0x4c]
push 0
push eax
push dword [esp + 0x8c]
call fcn.00411710
add esp, 0xc
push dword [esp + 0x84]
call fcn.00414280
add esp, 4
mov dword [esp + 0xc], eax
push 0x10
push dword [esp + 0x88]
call fcn.0040e120
add esp, 8
mov ebx, eax
mov ebp, edx
push dword [esp + 0x84]
call fcn.0040e1d0
add esp, 4
mov ecx, dword [esp + 0x84]
cmp dword [ecx + 0xc], 0
je 0x408563
push str.unable_to_decode_request
jmp 0x408848
push str.request:_SSH1_AGENTC_ADD_RSA_IDENTITY
push esi
mov edi, dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0xc
push dword [esp + 0x84]
call fcn.00411840
add esp, 4
mov ebp, eax
push dword [esp + 0x84]
call fcn.0040e260
add esp, 4
push edx
push eax
call fcn.0040e800
add esp, 8
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x84]
cmp dword [eax + 0xc], 0
je 0x40868c
push str.unable_to_decode_request
push 5
push dword [esp + 8]
push esi
jmp 0x4089b0
push str.request:_SSH1_AGENTC_REMOVE_RSA_IDENTITY
push esi
mov edi, dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0xc
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
lea ebp, [esp + 0x4c]
push 0
push ebp
push dword [esp + 0x8c]
call fcn.00411710
add esp, 0xc
mov eax, dword [esp + 0x84]
cmp dword [eax + 0xc], 0
je 0x4086fd
push str.unable_to_decode_request
push 5
push dword [esp + 8]
push esi
push edi
call fcn.0040a300
add esp, 0x14
push ebp
jmp 0x408869
push str.request:_SSH1_AGENTC_REMOVE_ALL_RSA_IDENTITIES
push esi
mov edi, dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0xc
mov ecx, 1
jmp 0x4082df
push str.request:_SSH2_AGENTC_REQUEST_IDENTITIES
push esi
mov edi, dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0xc
mov ebx, dword [esp]
add ebx, 0xc
push 0xc
push ebx
call fcn.0040de80
add esp, 8
mov ecx, ebx
mov edx, 2
push 0
call fcn.00407560
add esp, 4
push str.reply:_SSH2_AGENT_IDENTITIES_ANSWER
push esi
push edi
call fcn.0040a390
add esp, 0xc
cmp byte [edi + 8], 0
jne 0x407c2c
xor esi, esi
mov dword [esp + 0x4c], 2
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0x45c400
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0x45c400
lea eax, [esp + 0x3c]
push eax
push 4
push 0
lea eax, [esp + 0x58]
push eax
push dword [0x464c1c]
call fcn.004109c0
add esp, 0x14
test eax, eax
je 0x408095
mov eax, dword [esp + 0x3c]
jmp 0x4080a3
push dword [0x464c1c]
call fcn.004101a0
add esp, 4
add eax, esi
push eax
push dword [0x464c1c]
call fcn.004108f0
add esp, 8
test eax, eax
je 0x407c2c
mov ebx, eax
cmp dword [eax], 2
jne 0x407c2c
push 1
push dword [ebx + 0x10]
push dword [ebx + 0xc]
call fcn.004071d0
add esp, 0xc
mov ebp, eax
push dword [ebx + 0x1c]
push eax
push str.returned_key:__s__s
push dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0x14
push ebp
call fcn.0040e4c0
add esp, 4
add esi, 1
jmp 0x408047
push str.request:_SSH2_AGENTC_SIGN_REQUEST
push esi
mov edi, dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0xc
push dword [esp + 0x84]
call fcn.0040e260
add esp, 4
mov ebx, eax
mov ebp, edx
push dword [esp + 0x84]
call fcn.0040e260
add esp, 4
mov ecx, dword [esp + 0x84]
cmp dword [ecx + 0xc], 0
jne 0x4082b6
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
push ecx
call fcn.0040e1d0
add esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x84]
mov esi, dword [eax + 0xc]
cmp byte [edi + 8], 0
jne 0x40819a
push 1
push ebp
push ebx
call fcn.004071d0
add esp, 0xc
mov dword [esp + 0x14], eax
push eax
push str.requested_key:__s
push dword [esp + 0xc]
push edi
call fcn.0040a390
add esp, 0x10
push dword [esp + 0x14]
call fcn.0040e4c0
add esp, 4
mov ecx, ebx
mov edx, ebp
call fcn.0040a460
test eax, eax
je 0x4087d1
test esi, esi
mov esi, dword [esp + 4]
mov ebx, dword [esp]
mov dword [esp + 0x14], eax
je 0x4089c4
push str.no_signature_flags
push esi
mov edi, dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0xc
jmp 0x4089db
push str.request:_SSH2_AGENTC_ADD_IDENTITY
push esi
mov edi, dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0xc
push dword [esp + 0x84]
call fcn.0040e260
add esp, 4
mov dword [esp + 0xc], eax
mov esi, edx
push 0
push 8
push 1
call fcn.0040e430
add esp, 0xc
mov ebp, eax
mov dword [eax], 0
mov dword [eax + 4], 0
push esi
push dword [esp + 0x10]
call fcn.00404c10
add esp, 8
test eax, eax
je 0x40874d
push ebx
push eax
call dword [eax + 8]
add esp, 8
mov dword [ebp], eax
test eax, eax
mov edi, dword [esp]
je 0x408832
push dword [esp + 0x84]
call fcn.0040e260
add esp, 4
push edx
push eax
call fcn.0040e800
add esp, 8
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x84]
cmp dword [eax + 0xc], 0
mov esi, dword [esp + 4]
je 0x408880
push str.unable_to_decode_request
jmp 0x408a69
push str.request:_SSH2_AGENTC_REMOVE_IDENTITY
push esi
mov edi, dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0xc
push dword [esp + 0x84]
call fcn.0040e260
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x84]
cmp dword [eax + 0xc], 0
je 0x408762
push str.unable_to_decode_request
push 5
push dword [esp + 8]
push esi
jmp 0x408824
push str.request:_SSH2_AGENTC_REMOVE_ALL_IDENTITIES
push esi
mov edi, dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0xc
mov ecx, 2
call fcn.00409250
call fcn.00401060
mov eax, dword [esp]
add eax, 0xc
push 6
push eax
call fcn.0040de80
add esp, 8
push str.reply:_SSH_AGENT_SUCCESS
push esi
push edi
call fcn.0040a390
add esp, 0xc
jmp 0x407c2c
push ecx
call fcn.0040e260
add esp, 4
mov ebx, esi
mov esi, eax
mov ebp, edx
push edx
call fcn.00421730
add esp, 4
push esi
push eax
push 0x45c236
push ebx
mov edi, dword [esp + 0x18]
push edi
call fcn.0040a390
add esp, 0x14
push 5
push str.query
push ebp
push esi
call fcn.0040e680
add esp, 0x10
test al, al
je 0x4083bc
mov esi, dword [esp]
add esi, 0xc
push 6
push esi
call fcn.0040de80
add esp, 8
push 5
push str.query
push esi
call fcn.0040df80
add esp, 0xc
push 0x23
push str.add_ppk_putty.projects.tartarus.org
push esi
call fcn.0040df80
add esp, 0xc
push 0x25
push str.reencrypt_putty.projects.tartarus.org
push esi
call fcn.0040df80
add esp, 0xc
push 0x29
push str.reencrypt_all_putty.projects.tartarus.org
push esi
call fcn.0040df80
add esp, 0xc
push 0x29
push str.list_extended_putty.projects.tartarus.org
push esi
call fcn.0040df80
add esp, 0xc
push str.reply:_SSH_AGENT_SUCCESS__names
push ebx
jmp 0x408300
push 0x23
push str.add_ppk_putty.projects.tartarus.org
push ebp
push esi
call fcn.0040e680
add esp, 0x10
test al, al
je 0x4087da
push dword [esp + 0x84]
call fcn.0040e260
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x84]
cmp dword [eax + 0xc], 0
jne 0x408815
mov esi, edx
call fcn.0040e910
mov ebx, eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
lea edx, [esp + 0x4c]
mov dword [esp + 0x5c], edx
add eax, 0xc
lea esi, [esp + 0x3c]
lea ecx, [esp + 0x38]
push esi
push ecx
push eax
push 0
push edx
call fcn.00405f20
add esp, 0x14
test al, al
je 0x408bd7
cmp byte [edi + 8], 0
mov dword [esp + 0x10], ebx
jne 0x408485
push 1
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.004071d0
add esp, 0xc
mov ebx, eax
push dword [esp + 0x38]
push eax
push str.add_ppk:__s__s
push dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0x14
push ebx
mov ebx, dword [esp + 0x14]
call fcn.0040e4c0
add esp, 4
mov dword [esp + 0x4c], ebp
mov esi, dword [esp + 0xc]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
lea eax, [esp + 0x4c]
mov dword [esp + 0x5c], eax
push 0
push eax
call fcn.00406a90
add esp, 8
test al, al
je 0x408cd7
mov dword [esp + 0x24], 2
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x24]
call fcn.0040a790
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], edx
mov edx, ebp
push esi
push eax
push dword [esp + 0x24]
push ebx
push dword [esp + 0x30]
push dword [esp + 0x28]
call fcn.0040a850
add esp, 0x18
call fcn.00401060
mov eax, dword [esp]
add eax, 0xc
push 6
push eax
call fcn.0040de80
add esp, 8
push str.reply:_SSH_AGENT_SUCCESS
push dword [esp + 8]
push edi
call fcn.0040a390
add esp, 0xc
push dword [esp + 0x10]
call fcn.0040e9d0
add esp, 4
mov eax, dword [esp + 0x18]
mov ebx, eax
test eax, eax
jne 0x408e1e
jmp 0x408e27
mov dword [esp + 0x10], ebp
cmp eax, 1
jne 0x408843
cmp byte [edi + 8], 0
mov ebp, ebx
lea ebx, [esp + 0x4c]
jne 0x4085ac
mov dword [esp + 0x6c], 0
push ebx
call fcn.00411bf0
add esp, 4
mov ebx, eax
push eax
push str.requested_key:__s
push esi
push edi
call fcn.0040a390
add esp, 0x10
push ebx
lea ebx, [esp + 0x50]
call fcn.0040e4c0
add esp, 4
lea ecx, [esp + 0x4c]
call fcn.0040a3e0
test eax, eax
je 0x408aa8
mov dword [esp + 0x18], ebp
mov ecx, eax
call fcn.0040a2c0
push dword [eax + 0x10]
push dword [esp + 0x10]
call fcn.004119d0
add esp, 8
mov ebp, eax
push 0x451828
call dword [0x451828]
add esp, 4
mov ebx, eax
test eax, eax
je 0x4085f6
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
add esp, 4
mov esi, 0x1f
push esi
push ebp
call fcn.00413380
add esp, 8
movzx eax, al
push eax
push dword [ebx + 4]
call fcn.0040de80
add esp, 8
add esi, 0xffffffff
jb 0x4085fb
push dword [esp + 0x10]
push dword [esp + 0x1c]
push dword [ebx + 4]
call fcn.0040de00
add esp, 0xc
mov eax, dword [ebx]
lea esi, [esp + 0x3c]
push esi
push ebx
call dword [eax + 0xc]
add esp, 8
mov eax, dword [ebx]
push ebx
call dword [eax + 0x10]
add esp, 4
mov ebx, dword [esp]
add ebx, 0xc
push 4
push ebx
call fcn.0040de80
add esp, 8
push 0x10
push esi
push ebx
call fcn.0040de00
add esp, 0xc
push str.reply:_SSH1_AGENT_RSA_RESPONSE
push dword [esp + 8]
push edi
call fcn.0040a390
add esp, 0xc
test ebp, ebp
lea ebx, [esp + 0x4c]
je 0x40885c
push ebp
call fcn.004132d0
add esp, 4
jmp 0x40885c
push ebp
call fcn.00411ef0
add esp, 4
test al, al
je 0x408876
cmp byte [edi + 8], 0
jne 0x4086ca
push ebp
call fcn.00411bf0
add esp, 4
mov ebx, eax
push eax
push str.submitted_key:__s
push dword [esp + 0xc]
push edi
call fcn.0040a390
add esp, 0x10
push ebx
call fcn.0040e4c0
add esp, 4
mov ecx, ebp
call fcn.0040a4c0
test al, al
je 0x4089a1
call fcn.00401060
mov eax, dword [esp]
add eax, 0xc
push 6
push eax
call fcn.0040de80
add esp, 8
push str.reply:_SSH_AGENT_SUCCESS
push dword [esp + 8]
jmp 0x408300
cmp byte [edi + 8], 0
jne 0x408732
mov dword [esp + 0x6c], 0
push ebp
call fcn.00411bf0
add esp, 4
mov ebx, eax
push eax
push str.unwanted_key:__s
push dword [esp + 0xc]
push edi
call fcn.0040a390
add esp, 0x10
push ebx
call fcn.0040e4c0
add esp, 4
mov ecx, ebp
call fcn.0040a3e0
mov ebx, eax
push ebp
call fcn.004121c0
add esp, 4
test ebx, ebx
jne 0x4087a3
jmp 0x4087d1
push str.algorithm_unknown
push 5
push dword [esp + 8]
mov esi, dword [esp + 0x10]
push esi
jmp 0x408a71
mov ebp, edx
cmp byte [edi + 8], 0
jne 0x408794
push 1
push ebp
push ebx
call fcn.004071d0
add esp, 0xc
mov esi, eax
push eax
push str.unwanted_key:__s
push dword [esp + 0xc]
push edi
call fcn.0040a390
add esp, 0x10
push esi
call fcn.0040e4c0
add esp, 4
mov ecx, ebx
mov edx, ebp
call fcn.0040a460
test eax, eax
je 0x4087d1
mov ebx, eax
push dword [ebx + 0x1c]
push str.found_with_comment:__s
mov esi, dword [esp + 0xc]
push esi
push edi
call fcn.0040a390
add esp, 0x10
mov ecx, ebx
call fcn.0040a770
call fcn.00401060
mov ecx, ebx
call fcn.00408fc0
jmp 0x4082e9
push str.key_not_found
push 5
jmp 0x40881c
push 0x25
push str.reencrypt_putty.projects.tartarus.org
push ebp
push esi
call fcn.0040e680
add esp, 0x10
test al, al
je 0x4088eb
push dword [esp + 0x84]
call fcn.0040e260
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x84]
cmp dword [eax + 0xc], 0
je 0x408bf8
push str.unable_to_decode_request
push 0x1c
push dword [esp + 8]
push dword [esp + 0x10]
push edi
call fcn.0040a300
add esp, 0x14
jmp 0x407c2c
push str.key_setup_failed
push 5
push edi
mov esi, dword [esp + 0x10]
jmp 0x408a6c
push str.response_type_other_than_1_not_supported
push 5
push dword [esp + 8]
push esi
push edi
call fcn.0040a300
add esp, 0x14
lea ebx, [esp + 0x4c]
push dword [esp + 0xc]
call fcn.004132d0
add esp, 4
push ebx
call fcn.004121c0
add esp, 4
jmp 0x407c2c
push 0x459bf8
jmp 0x4089a6
mov eax, dword [esp + 8]
cmp byte [eax + 8], 0
jne 0x4088b8
push 1
push dword [ebp]
call fcn.004072d0
add esp, 8
mov ebx, eax
push dword [ebp + 4]
push eax
push str.submitted_key:__s__s
push esi
push dword [esp + 0x18]
call fcn.0040a390
add esp, 0x14
push ebx
call fcn.0040e4c0
add esp, 4
mov ecx, ebp
call fcn.0040a5e0
test al, al
je 0x408a64
call fcn.00401060
mov eax, edi
add eax, 0xc
push 6
push eax
call fcn.0040de80
add esp, 8
push str.reply:_SSH_AGENT_SUCCESS
push esi
mov edi, dword [esp + 0x10]
jmp 0x408300
push 0x29
push str.reencrypt_all_putty.projects.tartarus.org
push ebp
push esi
call fcn.0040e680
add esp, 0x10
test al, al
je 0x408ac2
push 0
push dword [0x464c1c]
call fcn.004108f0
add esp, 8
test eax, eax
je 0x408d54
mov dword [esp + 0xc], 0
mov esi, 1
xor ebp, ebp
jmp 0x40894a
add ebp, 1
push esi
push dword [0x464c1c]
call fcn.004108f0
add esp, 8
add esi, 1
test eax, eax
je 0x408c92
push 0
push eax
push dword [0x464c20]
call fcn.00410ec0
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x408978
push 0x107
push 0x45d15c
push str.priv___Public_and_private_trees_out_of_sync__
call fcn.0043bf69
add esp, 0xc
cmp dword [ebx], 2
jne 0x40892d
cmp dword [ebx + 0x14], 0
je 0x40892d
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x40899a
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
add esp, 4
mov dword [ebx + 0x10], 0
add dword [esp + 0xc], 1
jmp 0x408930
push str.key_already_present
push 5
push dword [esp + 8]
push dword [esp + 0x10]
push edi
call fcn.0040a300
add esp, 0x14
push ebp
call fcn.004121c0
jmp 0x408a97
push dword [esp + 0xc]
push str.signature_flags__0x_08x
push esi
mov edi, dword [esp + 0x14]
push edi
call fcn.0040a390
add esp, 0x10
push ebx
call fcn.0040e9d0
add esp, 4
push 0
push 0x30
push 1
call fcn.0040e430
add esp, 0xc
mov ebx, eax
lea ebp, [eax + 0x1c]
mov dword [eax + 0x1c], 0x4512f0
mov eax, dword [edi + 4]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
lea ecx, [ebx + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 4]
lea edx, [eax + 4]
mov dword [ebx + 0x28], edx
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x24]
mov dword [eax + 4], ecx
mov dword [ebx + 0x2c], esi
mov ecx, dword [esp + 0x14]
call fcn.0040a2c0
mov dword [ebx], eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.0040eae0
add esp, 8
mov dword [ebx + 4], eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 8], eax
mov byte [ebx + 0x10], 5
add ebx, 0xc
jmp 0x407c77
push str.key_already_present
push 5
push edi
push esi
mov edi, dword [esp + 0x18]
push edi
call fcn.0040a300
add esp, 0x14
mov eax, dword [ebp]
test eax, eax
je 0x408a8a
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
add esp, 4
mov eax, dword [ebp + 4]
test eax, eax
je 0x408a9a
push eax
call fcn.0040e4c0
add esp, 4
push ebp
call fcn.0040e4c0
add esp, 4
jmp 0x407c2c
push str.key_not_found
push 5
push dword [esp + 8]
push esi
push edi
call fcn.0040a300
add esp, 0x14
jmp 0x40885c
push 0x29
push str.list_extended_putty.projects.tartarus.org
push ebp
push esi
call fcn.0040e680
add esp, 0x10
test al, al
je 0x408caf
mov ebx, dword [esp]
add ebx, 0xc
push 6
push ebx
call fcn.0040de80
add esp, 8
mov ecx, ebx
mov edx, 2
push 1
call fcn.00407560
add esp, 4
push str.reply:_SSH2_AGENT_SUCCESS__key_list
push dword [esp + 8]
push edi
call fcn.0040a390
add esp, 0xc
cmp byte [edi + 8], 0
jne 0x407c2c
xor esi, esi
mov dword [esp + 0x4c], 2
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0x45c400
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0x45c400
lea eax, [esp + 0x3c]
push eax
push 4
push 0
lea eax, [esp + 0x58]
push eax
push dword [0x464c1c]
call fcn.004109c0
add esp, 0x14
test eax, eax
je 0x408b69
mov eax, dword [esp + 0x3c]
jmp 0x408b77
push dword [0x464c1c]
call fcn.004101a0
add esp, 4
add eax, esi
push eax
push dword [0x464c1c]
call fcn.004108f0
add esp, 8
test eax, eax
je 0x407c2c
mov ebx, eax
cmp dword [eax], 2
jne 0x407c2c
mov eax, dword [ebx + 0x18]
push 1
push dword [eax + 8]
push dword [eax + 4]
call fcn.004071d0
add esp, 0xc
mov ebp, eax
push dword [ebx + 0x1c]
push eax
push str.returned_key:__s__s
push dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0x14
push ebp
call fcn.0040e4c0
add esp, 4
add esi, 1
jmp 0x408b1b
push dword [esp + 0x3c]
push str.failed_to_extract_public_key_blob:__s
push 0x1c
push dword [esp + 0xc]
push dword [esp + 0x14]
push edi
call fcn.0040a300
add esp, 0x18
jmp 0x408e1a
mov ebp, edx
cmp byte [edi + 8], 0
jne 0x408c2a
push 1
push ebp
push ebx
call fcn.004071d0
add esp, 0xc
mov esi, eax
push eax
push str.key_to_re_encrypt:__s
push dword [esp + 0xc]
push edi
call fcn.0040a390
add esp, 0x10
push esi
call fcn.0040e4c0
add esp, 4
mov ecx, ebx
mov edx, ebp
call fcn.0040a460
test eax, eax
je 0x408d97
mov ebx, eax
push dword [eax + 0x1c]
push str.found_with_comment:__s
mov esi, dword [esp + 0xc]
push esi
push edi
call fcn.0040a390
add esp, 0x10
mov ecx, ebx
call fcn.004091c0
test al, al
mov ebx, edi
mov edi, dword [esp]
je 0x408da1
call fcn.00401060
mov eax, edi
add eax, 0xc
push 6
push eax
call fcn.0040de80
add esp, 8
push str.reply:_SSH_AGENT_SUCCESS
push esi
push ebx
call fcn.0040a390
add esp, 0xc
mov edi, ebx
jmp 0x407c2c
cmp dword [esp + 0xc], 0
jne 0x408d5e
test ebp, ebp
je 0x408d5e
push str.no_key_could_be_re_encrypted
jmp 0x40881a
push ebp
call fcn.00421730
add esp, 4
push esi
push eax
push 0x45c213
push 5
push dword [esp + 0x10]
push dword [esp + 0x18]
push edi
call fcn.0040a300
add esp, 0x1c
jmp 0x407c2c
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], ecx
lea eax, [esp + 0x3c]
push eax
push 0
push ecx
call fcn.00404ec0
add esp, 0xc
test eax, eax
je 0x408dba
mov ebx, eax
mov ecx, eax
call fcn.0040a5e0
test al, al
mov esi, dword [esp + 4]
mov edi, dword [esp]
je 0x408dd8
call fcn.00401060
mov eax, edi
add eax, 0xc
push 6
push eax
call fcn.0040de80
add esp, 8
push 0x45c1d1
push esi
mov edi, dword [esp + 0x10]
push edi
call fcn.0040a390
add esp, 0xc
jmp 0x408e16
mov dword [esp + 0xc], 0
xor ebp, ebp
call fcn.00401060
mov esi, dword [esp]
add esi, 0xc
push 6
push esi
call fcn.0040de80
add esp, 8
push ebp
push esi
call fcn.0040def0
add esp, 8
push ebp
push dword [esp + 0x10]
push 0x45bb8c
push dword [esp + 0x10]
push edi
call fcn.0040a390
jmp 0x40882a
push str.key_not_found
jmp 0x40881a
push str.this_key_couldnt_be_re_encrypted
push 0x1c
push edi
push esi
push ebx
call fcn.0040a300
add esp, 0x14
mov edi, ebx
jmp 0x407c2c
push dword [esp + 0x3c]
push str.failed_to_decode_private_key:__s
push 0x1c
push dword [esp + 0xc]
push dword [esp + 0x14]
push edi
call fcn.0040a300
add esp, 0x18
jmp 0x408e16
push str.key_already_present
push 0x1c
push edi
push esi
mov edi, dword [esp + 0x18]
push edi
call fcn.0040a300
add esp, 0x14
mov eax, dword [ebx]
test eax, eax
je 0x408dfd
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x408e0d
push eax
call fcn.0040e4c0
add esp, 4
push ebx
call fcn.0040e4c0
add esp, 4
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x408e27
push ebx
call fcn.0040e9d0
add esp, 4
push dword [esp + 0x38]
jmp 0x408a9b