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

Disassembly:
push ebp
push edi
mov ebp, edx
push esi
push ebx
mov ebx, eax
sub esp, 0xcc
mov esi, dword [esp + 0xe4]
mov edi, dword [esp + 0xe0]
mov dword [esp + 0x28], esi
call fcn.00451190
mov dword [esp + 0x64], esi
lea esi, [esp + 0x5c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], 0
mov dword [esp], esi
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], esi
call fcn.004500c0
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx + 0xc]
test ecx, ecx
jne 0x40b3f0
cmp al, 0x1b
movzx eax, al
ja case.0x40b3e7.0
jmp dword [eax*4 + 0x459d90]
mov dword [esp + 0x10], str.message_contained_no_type_code
mov dword [esp + 0xc], 5
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0040a0a0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1c
mov dword [esp], 1
call fcn.00450480
mov edx, dword [ebx + 4]
mov dword [eax + 8], 0x45a368
mov edi, dword [esp + 0x24]
mov ecx, dword [edx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
lea ecx, [edx + 4]
mov dword [eax + 0x14], ecx
lea ecx, [eax + 0x10]
add eax, 8
mov dword [edx + 4], ecx
mov edx, dword [eax + 8]
mov dword [edx + 4], ecx
mov dword [eax + 0x10], ebp
mov dword [eax - 4], edi
mov dword [eax - 8], 0
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edx
call fcn.00450200
mov esi, eax
mov dword [esp], edx
mov edi, edx
mov dword [esp + 0x28], eax
call fcn.004512f0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
xor esi, esi
mov dword [esp + 8], str.request:_SSH2_AGENTC_EXTENSION___.s_
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov eax, dword [esi*8 + 0x45a340]
mov edx, dword [esi*8 + 0x45a344]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.004508d0
test al, al
jne 0x40bf41
add esi, 1
cmp esi, 5
jne 0x40b4aa
mov dword [esp], edi
call fcn.004512f0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], str.unrecognised_extension_name__.s
mov dword [esp + 0xc], 5
mov dword [esp + 4], ebp
mov dword [esp + 0x18], ecx
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0040a0a0
jmp 0x40b414
mov dword [esp + 8], str.request:_SSH1_AGENTC_REQUEST_RSA_IDENTITIES
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 2
lea esi, [eax + 0xc]
mov dword [esp], esi
call fcn.0044fd50
xor ecx, ecx
mov edx, 1
mov eax, esi
mov dword [esp], 0
call fcn.0040aa70
mov dword [esp + 8], str.reply:_SSH1_AGENT_RSA_IDENTITIES_ANSWER
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
cmp byte [ebx + 8], 0
jne 0x40b414
xor esi, esi
jmp 0x40b5b7
call fcn.0040aa20
mov eax, dword [eax + 0x10]
add esi, 1
mov dword [esp], eax
call fcn.00434b80
mov dword [esp + 8], str.returned_key:__s
mov edi, eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov dword [esp], edi
call fcn.00450510
mov edx, esi
mov eax, 1
call fcn.0040a5a0
test eax, eax
jne 0x40b582
jmp 0x40b414
lea edi, [esp + 0x98]
mov dword [esp + 8], str.request:_SSH1_AGENTC_RSA_CHALLENGE
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
xor eax, eax
mov ecx, 0xa
mov edx, edi
mov dword [esp + 0x28], edi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.00434530
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.0042d0d0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], 0x10
mov dword [esp], eax
call fcn.00450080
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], edx
mov dword [esp], eax
call fcn.00450180
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx + 0xc]
test ecx, ecx
jne 0x40be05
cmp eax, 1
je 0x40be20
mov dword [esp + 0x10], str.response_type_other_than_1_not_supported
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], 5
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0040a0a0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0042c940
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004350f0
jmp 0x40b414
mov dword [esp + 8], str.request:_SSH1_AGENTC_ADD_RSA_IDENTITY
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004346c0
mov esi, eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00450200
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00450bf0
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x40bd45
mov dword [esp], esi
call fcn.00434d50
test al, al
je 0x40c0b1
cmp byte [ebx + 8], 0
je 0x40c2c2
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20
xor edi, edi
mov dword [esp], 1
call fcn.00450480
lea edx, [eax + 4]
mov dword [esp + 0x28], eax
mov dword [eax], 0
mov dword [eax + 0x1c], 0
xor ecx, ecx
and edx, 0xfffffffc
sub eax, edx
add eax, 0x20
and eax, 0xfffffffc
mov dword [edx + edi], ecx
add edi, 4
cmp edi, eax
jb 0x40b748
mov dword [esp + 8], 0
mov dword [esp + 4], 0x2c
mov dword [esp], 1
call fcn.00450480
mov edx, eax
lea eax, [eax + 4]
lea edi, [edx + 8]
mov dword [edx + 4], 0
mov dword [edx + 0x28], 0
and edi, 0xfffffffc
sub eax, edi
lea ecx, [eax + 0x28]
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov dword [edx], 1
mov dword [esp + 0x30], edx
call fcn.00451180
mov edi, eax
lea eax, [eax + 0xc]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00434f10
mov edx, dword [esp + 0x30]
mov dword [edx + 0xc], edi
call fcn.00451180
mov edi, eax
lea eax, [eax + 0xc]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00434f10
mov eax, dword [esp + 0x28]
mov dword [eax + 0x18], edi
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40b7fd
mov dword [esp], eax
call fcn.0044f480
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x1c], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x28
mov dword [esp], 1
call fcn.00450480
mov edi, dword [esp + 0x30]
mov dword [edi + 0x10], eax
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00434770
mov eax, dword [esp + 0x28]
mov edx, edi
call fcn.0040af20
test al, al
jne 0x40b8f3
mov dword [esp + 0x10], str.key_already_present
jmp 0x40bd4d
lea edi, [esp + 0x98]
mov dword [esp + 8], str.request:_SSH1_AGENTC_REMOVE_RSA_IDENTITY
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
xor eax, eax
mov ecx, 0xa
mov edx, edi
mov dword [esp + 0x28], edi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00434530
mov eax, dword [esp + 0x6c]
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x40bdd0
cmp byte [ebx + 8], 0
je 0x40c030
mov edi, dword [esp + 0x28]
mov eax, edi
call fcn.0040a330
mov dword [esp], edi
mov esi, eax
call fcn.004350f0
test esi, esi
jne 0x40bcb0
mov dword [esp + 0x10], str.key_not_found
jmp 0x40b3f8
mov dword [esp + 8], str.request:_SSH1_AGENTC_REMOVE_ALL_RSA_IDENTITIES
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov eax, 1
call fcn.0040b2a0
call fcn.004022c0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 6
add eax, 0xc
mov dword [esp], eax
call fcn.0044fd50
mov dword [esp + 8], str.reply:_SSH_AGENT_SUCCESS
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
jmp 0x40b414
mov dword [esp + 8], str.request:_SSH2_AGENTC_REQUEST_IDENTITIES
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 0xc
lea esi, [eax + 0xc]
mov dword [esp], esi
call fcn.0044fd50
xor ecx, ecx
mov eax, esi
mov edx, 2
mov dword [esp], 1
xor esi, esi
call fcn.0040aa70
mov dword [esp + 8], str.reply:_SSH2_AGENT_IDENTITIES_ANSWER
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
cmp byte [ebx + 8], 0
je 0x40b9dd
jmp 0x40b414
mov dword [esp + 8], 1
mov edx, dword [edi + 0x10]
add esi, 1
mov eax, dword [edi + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00409990
mov edx, dword [edi + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.returned_key:__s__s
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], edx
call fcn.00409f90
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00450510
mov edx, esi
mov eax, 2
call fcn.0040a5a0
test eax, eax
mov edi, eax
jne 0x40b991
jmp 0x40b414
mov dword [esp + 8], str.request:_SSH2_AGENTC_SIGN_REQUEST
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
cmp byte [0x465e2c], 0
jne 0x40bd80
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00450200
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x34], edx
mov dword [esp], eax
call fcn.00450200
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x40bdc0
mov dword [esp], eax
call fcn.00450180
cmp byte [ebx + 8], 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
mov esi, dword [eax + 0xc]
je 0x40c279
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
call fcn.0040a2d0
test eax, eax
mov dword [esp + 0x30], eax
je 0x40c4b9
test esi, esi
jne 0x40c20d
mov eax, dword [esp + 0x40]
mov dword [esp + 8], str.signature_flags__0x_08x
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.00409f90
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004511a0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x30
mov dword [esp], 1
call fcn.00450480
mov esi, eax
mov dword [eax + 0x1c], 0x45a370
mov eax, dword [ebx + 4]
mov edx, dword [eax + 4]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
lea edx, [eax + 4]
mov dword [esi + 0x28], edx
lea edx, [esi + 0x24]
mov dword [eax + 4], edx
mov eax, dword [esi + 0x24]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x30]
mov dword [esi + 0x2c], ebp
call fcn.0040aa20
mov edx, dword [esp + 0x3c]
mov dword [esi], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00451280
mov dword [esi + 4], eax
mov eax, dword [esp + 0x40]
mov byte [esi + 0x10], 5
mov dword [esi + 0xc], 0
mov dword [esi + 8], eax
lea eax, [esi + 0x1c]
jmp 0x40b469
mov dword [esp + 8], str.request:_SSH2_AGENTC_ADD_IDENTITY
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00450200
mov dword [esp + 8], 0
mov dword [esp + 4], 8
mov dword [esp], 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
call fcn.00450480
mov edx, dword [esp + 0x2c]
mov dword [eax], 0
mov edi, eax
mov dword [eax + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004070f0
test eax, eax
je 0x40c60e
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [eax + 8]
test eax, eax
mov dword [edi], eax
je 0x40be12
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00450200
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00450bf0
mov dword [edi + 4], eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x40c020
cmp byte [ebx + 8], 0
je 0x40c0be
mov eax, edi
call fcn.0040b010
test al, al
jne 0x40b8f3
mov dword [esp + 0x10], str.key_already_present
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], 5
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0040a0a0
mov eax, dword [edi]
test eax, eax
je 0x40bc3a
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0xc]
mov eax, dword [edi + 4]
test eax, eax
je 0x40bc49
mov dword [esp], eax
call fcn.00450510
mov dword [esp], edi
call fcn.00450510
jmp 0x40b414
mov dword [esp + 8], str.request:_SSH2_AGENTC_REMOVE_IDENTITY
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00450200
mov esi, eax
mov eax, dword [esp + 0x6c]
mov edi, edx
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x40bdc0
cmp byte [ebx + 8], 0
je 0x40c070
mov eax, esi
mov edx, edi
call fcn.0040a2d0
test eax, eax
mov esi, eax
je 0x40b8c8
mov eax, dword [esi + 0x1c]
mov dword [esp + 8], str.found_with_comment:__s
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.00409f90
mov eax, dword [0x465084]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00452710
call fcn.0040b170
call fcn.004022c0
mov eax, esi
call fcn.00409ea0
jmp 0x40b8f8
mov dword [esp + 8], str.request:_SSH2_AGENTC_REMOVE_ALL_IDENTITIES
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov eax, 2
call fcn.0040b2a0
call fcn.004022c0
jmp 0x40b8f8
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.request:_unknown_message_type__d
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov dword [esp + 0x10], str.unrecognised_message
jmp 0x40b3f8
mov dword [esp + 0x10], str.unable_to_decode_request
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], 5
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0040a0a0
mov dword [esp], esi
call fcn.004350f0
mov dword [esp], esi
call fcn.00450510
jmp 0x40b414
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x1041
mov dword [esp + 8], str.MobAgent_request
mov dword [esp + 4], str.An_application_has_requested_a_key_from_MobAgent._nDo_you_want_to_allow_it_
mov dword [esp], 0
call fcn.00453ba0
cmp eax, 1
jne 0x40b414
jmp 0x40ba15
mov dword [esp + 0x10], str.unable_to_decode_request
jmp 0x40b3f8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], str.unable_to_decode_request
mov dword [esp + 0xc], 5
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0040a0a0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004350f0
jmp 0x40b414
mov dword [esp + 0x10], str.unable_to_decode_request
jmp 0x40b66a
mov dword [esp + 0x10], str.key_setup_failed
jmp 0x40bc10
cmp byte [ebx + 8], 0
je 0x40c23b
mov eax, dword [esp + 0x28]
call fcn.0040a330
test eax, eax
je 0x40c2f1
call fcn.0040aa20
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004349e0
mov dword [esp], 0x45faa0
mov dword [esp + 0x40], eax
call dword [0x45faa0]
test eax, eax
mov esi, eax
je 0x40be72
mov eax, dword [eax]
mov dword [esp], esi
call dword [eax + 4]
mov edi, 0x1f
mov dword [esp + 0x44], ebx
mov ebx, edi
mov edi, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov dword [esp], edi
sub ebx, 1
call fcn.0042cde0
movzx eax, al
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.0044fd50
cmp ebx, 0xffffffff
jne 0x40be81
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.0044fce0
mov edx, dword [esi]
lea eax, [esp + 0x84]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 0x38], eax
call dword [edx + 0xc]
mov edx, dword [esi]
mov dword [esp], esi
call dword [edx + 0x10]
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 4
lea esi, [eax + 0xc]
mov dword [esp], esi
call fcn.0044fd50
mov eax, dword [esp + 0x38]
mov dword [esp + 8], 0x10
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0044fcd0
mov dword [esp + 8], str.reply:_SSH1_AGENT_RSA_RESPONSE
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov eax, dword [esp + 0x40]
test eax, eax
je 0x40b686
mov dword [esp], eax
call fcn.0042c940
jmp 0x40b686
cmp esi, 2
je 0x40c156
jbe 0x40c2fe
cmp esi, 3
je 0x40c563
cmp esi, 4
jne 0x40c0fe
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 6
lea esi, [eax + 0xc]
mov dword [esp], esi
call fcn.0044fd50
mov eax, esi
mov ecx, 1
mov edx, 2
mov dword [esp], 0
xor esi, esi
call fcn.0040aa70
mov dword [esp + 8], str.reply:_SSH2_AGENT_SUCCESS__key_list
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
cmp byte [ebx + 8], 0
je 0x40c001
jmp 0x40b414
mov eax, dword [edi + 0x18]
add esi, 1
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00409990
mov edx, dword [edi + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.returned_key:__s__s
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], edx
call fcn.00409f90
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00450510
mov edx, esi
mov eax, 2
call fcn.0040a5a0
test eax, eax
mov edi, eax
jne 0x40bfb2
jmp 0x40b414
mov dword [esp + 0x10], str.unable_to_decode_request
jmp 0x40bc10
mov eax, dword [esp + 0x28]
mov dword [esp + 0xb8], 0
mov dword [esp], eax
call fcn.00434b80
mov dword [esp + 8], str.unwanted_key:__s
mov esi, eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov dword [esp], esi
call fcn.00450510
jmp 0x40b8ab
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp], esi
call fcn.00409990
mov dword [esp + 8], str.unwanted_key:__s
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 0x28], eax
call fcn.00409f90
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00450510
jmp 0x40bc9d
mov dword [esp + 0x10], str.key_is_invalid
jmp 0x40bd4d
mov dword [esp + 4], 1
mov eax, dword [edi]
mov dword [esp], eax
call fcn.00409b00
mov esi, eax
mov eax, dword [edi + 4]
mov dword [esp + 8], str.submitted_key:__s__s
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 0x10], eax
call fcn.00409f90
mov dword [esp], esi
call fcn.00450510
jmp 0x40bbf9
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 6
xor edi, edi
lea esi, [eax + 0xc]
mov dword [esp], esi
call fcn.0044fd50
mov eax, dword [edi*8 + 0x45a340]
mov edx, dword [edi*8 + 0x45a344]
add edi, 1
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0044fef0
cmp edi, 5
jne 0x40c117
mov dword [esp + 8], str.reply:_SSH_AGENT_SUCCESS__names
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
jmp 0x40b414
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00450200
mov esi, eax
mov eax, dword [esp + 0x6c]
mov edi, edx
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x40c226
cmp byte [ebx + 8], 0
jne 0x40c1b7
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp], esi
call fcn.00409990
mov dword [esp + 8], str.key_to_re_encrypt:__s
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 0x28], eax
call fcn.00409f90
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00450510
mov eax, esi
mov edx, edi
call fcn.0040a2d0
test eax, eax
je 0x40c61b
mov edx, dword [eax + 0x1c]
mov dword [esp + 8], str.found_with_comment:__s
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], edx
call fcn.00409f90
mov eax, dword [esp + 0x28]
call fcn.0040aca0
test al, al
jne 0x40b8f3
mov dword [esp + 0x10], str.this_key_couldnt_be_re_encrypted
mov dword [esp + 0xc], 0x1c
jmp 0x40b400
mov dword [esp + 8], str.no_signature_flags
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
jmp 0x40baa6
mov dword [esp + 0x10], str.unable_to_decode_request
mov dword [esp + 0xc], 0x1c
jmp 0x40b400
mov eax, dword [esp + 0x28]
mov dword [esp + 0xb8], 0
mov dword [esp], eax
call fcn.00434b80
mov dword [esp + 8], str.requested_key:__s
mov esi, eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov dword [esp], esi
call fcn.00450510
jmp 0x40be2a
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00409990
mov dword [esp + 8], str.requested_key:__s
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 0x44], eax
call fcn.00409f90
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00450510
jmp 0x40ba69
mov dword [esp], esi
call fcn.00434b80
mov dword [esp + 8], str.submitted_key:__s
mov edi, eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov dword [esp], edi
call fcn.00450510
jmp 0x40b709
mov dword [esp + 0x10], str.key_not_found
jmp 0x40b66a
cmp esi, 1
jne 0x40c0fe
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00450200
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x40c226
call fcn.00451180
mov esi, eax
mov eax, dword [esp + 0x28]
lea edi, [esp + 0x70]
mov dword [esp + 4], 0
mov dword [esp + 0x74], 0
mov dword [esp], edi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x80], edi
mov dword [esp + 0x78], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x58]
mov dword [esp + 0xc], eax
lea eax, [esi + 0xc]
mov dword [esp + 8], eax
call fcn.00408090
test al, al
je 0x40c630
cmp byte [ebx + 8], 0
jne 0x40c3db
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [esp + 8], 1
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409990
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.add_ppk:__s__s
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], ecx
call fcn.00409f90
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00450510
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], 0
mov dword [esp], edi
mov dword [esp + 0x74], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], edi
call fcn.004089b0
test al, al
jne 0x40c661
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 0x80], edi
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 8], eax
call fcn.004074a0
test eax, eax
mov edi, eax
je 0x40c8d5
call fcn.0040b010
test al, al
je 0x40c887
call fcn.004022c0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 6
add eax, 0xc
mov dword [esp], eax
call fcn.0044fd50
mov dword [esp + 8], str.reply:_SSH_AGENT_SUCCESS__loaded_unencrypted_PPK_
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
test esi, esi
jne 0x40c87a
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00450510
jmp 0x40b414
mov dword [esp + 4], 0x4596e4
mov dword [esp], 0x4596e4
call dword [sym.imp.USER32.dll_FindWindowA]
sub esp, 8
test eax, eax
mov dword [esp + 0x30], eax
je 0x40b8c8
call fcn.00451200
mov esi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
lea eax, [esi + 0xc]
mov dword [esp], eax
call fcn.0044fce0
lea eax, [esp + 0x98]
mov edx, dword [esp + 0x30]
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x14], edx
mov dword [esp + 4], eax
call fcn.0040efa0
mov dword [esp], esi
call fcn.004511a0
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0x84]
cmp eax, 4
jle 0x40c556
cmp byte [esi + 4], 0xe
je 0x40c8ea
mov dword [esp], esi
call fcn.00450510
jmp 0x40b8c8
xor eax, eax
mov dword [esp + 0x30], ebx
xor esi, esi
xor edi, edi
mov ebx, eax
jmp 0x40c577
add ebx, 1
add esi, 1
mov eax, dword [0x465084]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00452290
test eax, eax
je 0x40c59a
call fcn.0040aca0
test al, al
jne 0x40c571
add edi, 1
jmp 0x40c574
mov eax, ebx
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x30]
test eax, eax
jne 0x40c5c1
test edi, edi
je 0x40c5c1
mov dword [esp + 0x10], str.no_key_could_be_re_encrypted
mov dword [esp + 0xc], 0x1c
jmp 0x40b400
call fcn.004022c0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 6
lea esi, [eax + 0xc]
mov dword [esp], esi
call fcn.0044fd50
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0044fde0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov dword [esp + 8], str.reply:_SSH_AGENT_SUCCESS___u_keys_re_encrypted___u_failures_
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.00409f90
jmp 0x40b414
mov dword [esp + 0x10], str.algorithm_unknown
jmp 0x40bc10
mov dword [esp + 0x10], str.key_not_found
mov dword [esp + 0xc], 0x1c
jmp 0x40b400
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], str.failed_to_extract_public_key_blob:__s
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], 0x1c
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0040a0a0
jmp 0x40c4a0
mov dword [esp + 0x84], 2
mov eax, dword [esi + 8]
xor edi, edi
mov edx, dword [esi + 4]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x90], edx
call fcn.0040a210
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x20
mov dword [esp], 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x40], eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xa8], eax
call fcn.00450480
lea edx, [eax + 4]
mov dword [esp + 0x48], eax
mov dword [eax], 0
mov dword [eax + 0x1c], 0
xor ecx, ecx
and edx, 0xfffffffc
sub eax, edx
add eax, 0x20
and eax, 0xfffffffc
mov dword [edx + edi], ecx
add edi, 4
cmp edi, eax
jb 0x40c721
mov dword [esp + 8], 0
mov dword [esp + 4], 0x2c
mov dword [esp], 1
call fcn.00450480
lea edi, [eax + 4]
mov ecx, eax
mov dword [eax], 0
mov dword [eax + 0x28], 0
mov edx, eax
xor eax, eax
and edi, 0xfffffffc
sub ecx, edi
add ecx, 0x2c
shr ecx, 2
rep stosd dword es:[edi], eax
cmp dword [esp + 0x40], 2
je 0x40c795
mov dword [esp + 8], 0x1d2
mov dword [esp + 4], str._MoTTY_pageant.c
mov dword [esp], str.sort.priv.ssh_version__2
mov dword [esp + 0x4c], edx
call fcn.00455fa0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], edx
mov dword [edx], eax
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00451280
mov edx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00451280
mov edi, dword [esp + 0x48]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0044f480
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x1c], eax
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.004512b0
mov edx, dword [esp + 0x40]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], edx
mov dword [esp], eax
call fcn.0044f480
mov edx, dword [esp + 0x28]
mov dword [edx + 0x18], eax
mov eax, edi
call fcn.0040af20
call fcn.004022c0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 6
add eax, 0xc
mov dword [esp], eax
call fcn.0044fd50
mov dword [esp + 8], str.reply:_SSH_AGENT_SUCCESS
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00409f90
mov dword [esp], esi
call fcn.004511a0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40c4a8
mov dword [esp], eax
call fcn.004511a0
jmp 0x40c4a8
mov dword [esp], esi
call fcn.004511a0
jmp 0x40c4a8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], str.key_already_present
mov dword [esp + 0xc], 0x1c
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0040a0a0
mov eax, dword [edi]
test eax, eax
je 0x40c8b9
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0xc]
mov eax, dword [edi + 4]
test eax, eax
je 0x40c8c8
mov dword [esp], eax
call fcn.00450510
mov dword [esp], edi
call fcn.00450510
jmp 0x40c4a0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], str.failed_to_decode_private_key:__s
mov dword [esp + 0x14], eax
jmp 0x40c640
sub eax, 4
mov dword [esp + 8], eax
lea eax, [esi + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
add eax, 0xc
mov dword [esp], eax
call fcn.0044fcd0
mov dword [esp], esi
call fcn.00450510
jmp 0x40b414