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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x184], esi
jne 0x41c194
push 0xfc
push 1
call fcn.0040b3b0
pop ecx
mov dword [edi + 0x184], eax
pop ecx
mov dword [eax], esi
mov ebx, dword [edi + 0x184]
mov eax, dword [ebx]
mov ecx, 0x1793
cmp eax, ecx
mov dword [ebp - 4], ebx
jg 0x41c46c
je 0x41c407
sub eax, esi
je 0x41c3ae
sub eax, 0x1671
je 0x41c39e
sub eax, 0xb9
je 0x41c360
sub eax, 0x19
je 0x41c2e5
sub eax, 0x19
je 0x41c2a1
sub eax, 0x12
jne 0x41c4a0
cmp dword [ebp + 0x14], esi
je 0x41d321
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x90]
cmp dword [eax + 8], 0
jne 0x41d3fe
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x48]
mov eax, dword [eax + 0x20]
mov ecx, dword [ecx + 0x20]
cmp eax, ecx
jle 0x41c219
mov ecx, eax
mov dword [ebx + 4], ecx
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
shl eax, 3
cmp ecx, eax
jle 0x41c232
mov dword [ebx + 4], eax
mov eax, dword [esi + 0x90]
cmp dword [eax + 0xc], 0
jne 0x41d32c
push str.Doing_Diffie_Hellman_group_exchange
push dword [esi + 0xd4]
call fcn.0043d0e9
mov dword [esi + 0x148], 2
mov eax, dword [ebx + 4]
dec eax
push 0x40
cdq
pop ecx
idiv ecx
mov edx, 0x200
push 0x1e
mov ecx, eax
shl edx, cl
mov dword [ebx + 8], edx
call fcn.00411daa
lea edi, [ebx + 0xec]
mov dword [edi], eax
push eax
mov eax, dword [ebx + 8]
call fcn.00411bfd
push dword [edi]
push esi
call fcn.0041deef
add esp, 0x18
mov ecx, 0x1793
mov dword [ebx], ecx
jmp 0x41dc87
cmp dword [ebp + 0x14], esi
je 0x41c2b0
push str.Unexpected_data_from_server_while_waiting_for_user_response
jmp 0x41d73c
cmp dword [ebp + 0x10], esi
jg 0x41c355
mov eax, dword [edi + 0x1f8]
mov dword [ebx + 0xf0], eax
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.00412b24
cmp dword [ebx + 0xf0], edi
jne 0x41d314
mov eax, str.User_aborted_at_cipher_warning
jmp 0x41d460
cmp dword [ebp + 0x14], esi
jne 0x41c2a6
cmp dword [ebp + 0x10], esi
jg 0x41d309
mov eax, dword [edi + 0x1f8]
mov dword [ebx + 0xf0], eax
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.00412b24
cmp dword [ebx + 0xf0], edi
je 0x41c2db
cmp dword [ebx + 0x14], 0
je 0x41d314
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
call fcn.00412b24
mov ecx, dword [ebx + 0x48]
mov eax, esi
push eax
push 0x412e1f
push dword [ecx + 0x18]
push str.server_to_client_cipher
push dword [eax + 0xd4]
call fcn.0043d37d
add esp, 0x14
test eax, eax
mov dword [ebx + 0xf0], eax
jge 0x41c2c5
mov dword [ebx], 0x175c
jmp 0x41dc87
cmp dword [ebp + 0x14], esi
jne 0x41c2a6
cmp dword [ebp + 0x10], esi
jg 0x41d2b7
mov eax, dword [edi + 0x1f8]
mov dword [ebx + 0xf0], eax
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.00412b24
cmp dword [ebx + 0xf0], edi
jne 0x41d2c5
mov eax, str.User_aborted_at_kex_warning
jmp 0x41d460
mov ecx, dword [ebp + 0x14]
cmp ecx, esi
je 0x41ccd2
jmp 0x41cce0
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x50], esi
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x54], esi
mov dword [ebx + 0xe8], esi
mov dword [ebx + 0xe4], esi
mov dword [ebx + 0xdc], esi
mov dword [ebx + 0xe0], esi
test byte [edi + 0x50], 2
mov edi, dword [ebp + 8]
je 0x41c3f4
mov dword [ebx + 0x3c], 0x4736a0
mov dword [ebx + 0x40], 3
jmp 0x41c81f
mov dword [ebx + 0x3c], 0x473690
mov dword [ebx + 0x40], 4
jmp 0x41c81f
mov eax, dword [ebp + 0x14]
cmp eax, esi
je 0x41c29a
cmp dword [eax + 8], 0x1f
je 0x41c422
push str.expected_key_exchange_group_packet_from_server
jmp 0x41d73c
mov esi, dword [ebp + 0x14]
call fcn.00412251
mov dword [ebx + 0x18], eax
call fcn.00412251
mov ecx, dword [ebx + 0x18]
test ecx, ecx
mov dword [ebx + 0x1c], eax
je 0x41c462
test eax, eax
je 0x41c462
push eax
push ecx
call fcn.004256dc
pop ecx
mov dword [edi + 0xbc], eax
pop ecx
mov dword [ebx + 0x34], 0x20
mov dword [ebx + 0x38], 0x21
jmp 0x41d367
push str.unable_to_read_mp_ints_from_incoming_group_packet
jmp 0x41dc75
sub eax, 0x17b6
je 0x41d71d
sub eax, 0x2c
je 0x41d4c1
sub eax, 0x52
je 0x41d475
sub eax, 0x2d
je 0x41d421
sub eax, 0x67
je 0x41c4a7
sub eax, 0x69
je 0x41c711
mov dword [ebx], esi
jmp 0x41dc87
mov eax, dword [ebp + 0x14]
cmp eax, esi
je 0x41dc68
cmp dword [eax + 8], 0x15
je 0x41c4c2
push str.expected_new_keys_packet_from_server
jmp 0x41d73c
mov eax, dword [edi + 0x6c]
cmp eax, esi
mov dword [edi + 0x620], esi
je 0x41c4d7
mov ecx, dword [edi + 0x64]
push eax
call dword [ecx + 4]
pop ecx
mov eax, dword [ebx + 0x48]
mov dword [edi + 0x64], eax
call dword [eax]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x7c]
cmp eax, esi
je 0x41c4f1
mov ecx, dword [edi + 0x74]
push eax
call dword [ecx + 4]
pop ecx
mov eax, dword [ebx + 0x50]
mov dword [edi + 0x74], eax
call dword [eax]
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x8c]
cmp eax, esi
je 0x41c511
mov ecx, dword [edi + 0x84]
push eax
call dword [ecx + 0x18]
pop ecx
mov eax, dword [ebx + 0x58]
mov dword [edi + 0x84], eax
call dword [eax + 0x14]
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
shl eax, 1
cmp eax, 0x40
jbe 0x41c54d
push 0x18e8
push str..._ssh.c
push str.sizeof_keyspace____ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0044c558
add esp, 0xc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x58]
push eax
push 0x44
lea esi, [ebx + 0x84]
push esi
push dword [ebx + 0x28]
call fcn.00413275
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x20]
add esp, 0x10
add eax, 7
push 8
cdq
pop ecx
idiv ecx
mov ecx, dword [edi + 0x90]
mov ecx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0xc]
shl ecx, 1
cmp eax, ecx
jle 0x41c5a0
push 0x18eb
push str..._ssh.c
push str._ssh__sccipher__keylen7____8___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0044c558
add esp, 0xc
mov eax, dword [edi + 0x64]
lea ecx, [ebp - 0x58]
push ecx
push dword [edi + 0x6c]
call dword [eax + 0xc]
lea eax, [ebp - 0x58]
push eax
push 0x42
push esi
push dword [ebx + 0x28]
call fcn.00413275
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov ecx, dword [edi + 0x64]
shl eax, 1
add esp, 0x18
cmp dword [ecx + 0x1c], eax
jle 0x41c5ec
push 0x18ef
push str..._ssh.c
push str.ssh__sccipher__blksize___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0044c558
add esp, 0xc
mov eax, dword [edi + 0x64]
lea ecx, [ebp - 0x58]
push ecx
push dword [edi + 0x6c]
call dword [eax + 8]
lea eax, [ebp - 0x58]
push eax
push 0x46
push esi
push dword [ebx + 0x28]
call fcn.00413275
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov ecx, dword [edi + 0x74]
shl eax, 1
add esp, 0x18
cmp dword [ecx + 0x28], eax
jle 0x41c638
push 0x18f3
push str..._ssh.c
push str.ssh__scmac__len___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0044c558
add esp, 0xc
mov eax, dword [edi + 0x74]
lea ecx, [ebp - 0x58]
push ecx
push dword [edi + 0x7c]
call dword [eax + 8]
lea eax, [ebp - 0x58]
push 0x40
push eax
call fcn.00446471
mov eax, dword [edi + 0x64]
push dword [eax + 0x28]
push str.Initialised__.200s_server__client_encryption
push edi
call fcn.004116f9
mov eax, dword [edi + 0x74]
push dword [eax + 0x2c]
push str.Initialised__.200s_server__client_MAC_algorithm
push edi
call fcn.004116f9
mov eax, dword [edi + 0x84]
mov eax, dword [eax + 0x24]
add esp, 0x28
test eax, eax
je 0x41c691
push eax
push str.Initialised__s_decompression
push edi
call fcn.004116f9
add esp, 0xc
push dword [ebx + 0x28]
call fcn.0042177a
lea esi, [edi + 0x63c]
mov eax, dword [esi]
test eax, eax
pop ecx
je 0x41c6c0
push eax
push dword [edi + 0xd4]
call fcn.0043d0e9
and dword [ebp + 0x14], 0
and dword [esi], 0
pop ecx
pop ecx
jmp 0x41c81f
and dword [edi + 0x630], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x638], eax
add edi, 0x1e4
push 0x18
push dword [edi]
call fcn.00402036
test eax, eax
pop ecx
pop ecx
je 0x41c711
mov esi, dword [ebp + 8]
push esi
push 0x413e22
push 0x18
push dword [edi]
call fcn.00402036
imul eax, eax, 0xea60
pop ecx
pop ecx
push eax
call fcn.0043754f
add esp, 0xc
mov dword [esi + 0x634], eax
mov eax, dword [ebp + 0x14]
xor esi, esi
cmp eax, esi
je 0x41c728
cmp dword [eax + 8], 0x14
je 0x41c72d
mov edi, dword [ebp + 8]
jmp 0x41c7e7
cmp dword [ebp + 0x10], esi
jge 0x41c720
cmp eax, esi
je 0x41c74b
mov eax, dword [ebp + 8]
push str.Server_initiated_key_re_exchange
push dword [eax + 0xd4]
call fcn.0043d0e9
pop ecx
pop ecx
jmp 0x41c81c
cmp dword [ebp + 0x10], 0xfffffffe
jne 0x41c784
lea edi, [ebx + 0xdc]
cmp dword [edi], esi
je 0x41c772
push 0x1949
push str..._ssh.c
push str._s__userauth_succeeded
call fcn.0044c558
add esp, 0xc
lea eax, [ebx + 0xe0]
cmp dword [eax], esi
mov dword [edi], 1
je 0x41c720
mov dword [eax], esi
mov edi, dword [ebp + 8]
test byte [edi + 0x50], 0x40
push dword [ebp + 0xc]
je 0x41c80e
push str.Server_bug_prevents_key_re_exchange___s_
push edi
call fcn.004116f9
and dword [edi + 0x624], 0
and dword [edi + 0x620], 0
lea esi, [edi + 0x1e4]
push 0x18
push dword [esi]
call fcn.00402036
add esp, 0x14
test eax, eax
je 0x41c7e5
push edi
push 0x413e22
push 0x18
push dword [esi]
call fcn.00402036
imul eax, eax, 0xea60
pop ecx
pop ecx
push eax
call fcn.0043754f
add esp, 0xc
mov dword [edi + 0x634], eax
xor esi, esi
lea eax, [edi + 0x1d8]
cmp dword [eax], esi
jne 0x41c803
push esi
push esi
push esi
push edi
mov dword [eax], 1
call fcn.00419759
add esp, 0x10
mov dword [ebx], 0x1931
jmp 0x41dc87
push str.Initiating_key_re_exchange___s_
push edi
call fcn.004116f9
add esp, 0xc
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [edi + 0x148], esi
mov dword [ebx + 0xa4], esi
push esi
push 0x17
push dword [edi + 0x1e4]
call fcn.004020b5
add esp, 0xc
sub eax, 0
je 0x41c89b
dec eax
je 0x41c888
dec eax
je 0x41c875
dec eax
je 0x41c862
dec eax
jne 0x41c8b4
mov eax, dword [ebx + 0xa4]
mov dword [ebx + eax*4 + 0xa8], 0x4681f4
jmp 0x41c8ae
mov eax, dword [ebx + 0xa4]
mov dword [ebx + eax*4 + 0xa8], 0x467cdc
jmp 0x41c8ae
mov eax, dword [ebx + 0xa4]
mov dword [ebx + eax*4 + 0xa8], 0x467c8c
jmp 0x41c8ae
mov eax, dword [ebx + 0xa4]
mov dword [ebx + eax*4 + 0xa8], 0x467c60
jmp 0x41c8ae
cmp esi, 4
jge 0x41c8b4
mov eax, dword [ebx + 0xa4]
and dword [ebx + eax*4 + 0xa8], 0
inc dword [ebx + 0xa4]
inc esi
cmp esi, 5
jl 0x41c82d
xor esi, esi
mov dword [ebx + 0xbc], esi
push esi
push 0x1d
push dword [edi + 0x1e4]
call fcn.004020b5
add esp, 0xc
sub eax, 0
je 0x41c965
dec eax
je 0x41c952
dec eax
je 0x41c93f
dec eax
je 0x41c92c
dec eax
je 0x41c906
dec eax
jne 0x41c97e
mov eax, dword [ebx + 0xbc]
mov dword [ebx + eax*4 + 0xc0], 0x4657e8
jmp 0x41c978
push 0x20
push dword [edi + 0x1e4]
call fcn.00402036
test eax, eax
pop ecx
pop ecx
je 0x41c97e
mov eax, dword [ebx + 0xbc]
mov dword [ebx + eax*4 + 0xc0], 0x4679f0
jmp 0x41c978
mov eax, dword [ebx + 0xbc]
mov dword [ebx + eax*4 + 0xc0], 0x465648
jmp 0x41c978
mov eax, dword [ebx + 0xbc]
mov dword [ebx + eax*4 + 0xc0], 0x466904
jmp 0x41c978
mov eax, dword [ebx + 0xbc]
mov dword [ebx + eax*4 + 0xc0], 0x4679e0
jmp 0x41c978
cmp esi, 5
jge 0x41c97e
mov eax, dword [ebx + 0xbc]
and dword [ebx + eax*4 + 0xc0], 0
inc dword [ebx + 0xbc]
inc esi
cmp esi, 6
jl 0x41c8c6
push 0x16
push dword [edi + 0x1e4]
call fcn.00402036
test eax, eax
pop ecx
pop ecx
je 0x41c9a7
mov dword [ebx + 0xd8], str.zlib
jmp 0x41c9b1
mov dword [ebx + 0xd8], str.none
xor eax, eax
inc eax
push 0x14
mov dword [edi + 0x128], eax
mov dword [edi + 0x630], eax
call fcn.00411daa
pop ecx
push 0x10
mov dword [ebx + 0xec], eax
pop esi
call fcn.00429148
push eax
push dword [ebx + 0xec]
call fcn.00411be8
dec esi
pop ecx
pop ecx
jne 0x41c9d1
mov esi, dword [ebx + 0xec]
call fcn.00411c30
xor eax, eax
cmp dword [ebx + 0xa4], eax
mov dword [ebp - 0xc], eax
jle 0x41ca65
lea ecx, [ebx + 0xa8]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edi, dword [ecx]
test edi, edi
je 0x41ca53
and dword [ebp + 0xc], 0
cmp dword [edi], 0
jle 0x41ca53
test eax, eax
je 0x41ca2f
mov esi, dword [ebx + 0xec]
push 0x45e544
call fcn.00411c3f
pop ecx
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
push dword [eax]
mov esi, dword [ebx + 0xec]
call fcn.00411c3f
xor eax, eax
inc eax
inc dword [ebp + 0xc]
pop ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edi]
jl 0x41ca1a
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], 4
cmp ecx, dword [ebx + 0xa4]
jl 0x41ca08
mov esi, dword [ebx + 0xec]
call fcn.00411c30
xor edi, edi
mov eax, dword [edi + 0x473688]
push dword [eax + 0x30]
mov esi, dword [ebx + 0xec]
call fcn.00411c3f
cmp edi, 4
pop ecx
jae 0x41ca9d
mov esi, dword [ebx + 0xec]
push 0x45e544
call fcn.00411c3f
pop ecx
add edi, 4
cmp edi, 8
jb 0x41ca72
mov dword [ebp - 0x14], 2
mov esi, dword [ebx + 0xec]
call fcn.00411c30
xor eax, eax
cmp dword [ebx + 0xbc], eax
mov dword [ebp - 0xc], eax
jle 0x41cb2b
lea ecx, [ebx + 0xc0]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov edi, dword [ecx]
test edi, edi
je 0x41cb19
and dword [ebp + 0xc], 0
cmp dword [edi], 0
jle 0x41cb19
test eax, eax
je 0x41caf4
mov esi, dword [ebx + 0xec]
push 0x45e544
call fcn.00411c3f
pop ecx
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
push dword [eax + 0x18]
mov esi, dword [ebx + 0xec]
call fcn.00411c3f
xor eax, eax
inc eax
inc dword [ebp + 0xc]
pop ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edi]
jl 0x41cadf
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], 4
cmp ecx, dword [ebx + 0xbc]
jl 0x41cacd
dec dword [ebp - 0x14]
jne 0x41caac
mov dword [ebp + 0xc], 2
mov esi, dword [ebx + 0xec]
call fcn.00411c30
xor edi, edi
cmp dword [ebx + 0x40], edi
jle 0x41cb81
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + edi*4]
push dword [eax + 0x24]
mov esi, dword [ebx + 0xec]
call fcn.00411c3f
mov eax, dword [ebx + 0x40]
dec eax
cmp edi, eax
pop ecx
jge 0x41cb7b
mov esi, dword [ebx + 0xec]
push 0x45e544
call fcn.00411c3f
pop ecx
inc edi
cmp edi, dword [ebx + 0x40]
jl 0x41cb4d
dec dword [ebp + 0xc]
jne 0x41cb3b
mov dword [ebp - 0x14], 2
mov esi, dword [ebx + 0xec]
call fcn.00411c30
mov eax, dword [ebx + 0xd8]
push dword [eax]
mov esi, dword [ebx + 0xec]
call fcn.00411c3f
xor edi, edi
cmp dword [ebx + 0xdc], edi
pop ecx
je 0x41cbe7
mov eax, dword [ebx + 0xd8]
cmp dword [eax + 4], edi
je 0x41cbe7
mov esi, dword [ebx + 0xec]
push 0x45e544
call fcn.00411c3f
mov eax, dword [ebx + 0xd8]
push dword [eax + 4]
mov esi, dword [ebx + 0xec]
call fcn.00411c3f
pop ecx
pop ecx
mov dword [ebp + 0xc], edi
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x4736ac]
cmp edi, dword [ebx + 0xd8]
je 0x41cc49
mov esi, dword [ebx + 0xec]
push 0x45e544
call fcn.00411c3f
push dword [edi]
mov esi, dword [ebx + 0xec]
call fcn.00411c3f
cmp dword [ebx + 0xdc], 0
pop ecx
pop ecx
je 0x41cc49
cmp dword [edi + 4], 0
je 0x41cc49
mov esi, dword [ebx + 0xec]
push 0x45e544
call fcn.00411c3f
push dword [edi + 4]
mov esi, dword [ebx + 0xec]
call fcn.00411c3f
pop ecx
pop ecx
add dword [ebp + 0xc], 4
cmp dword [ebp + 0xc], 8
jb 0x41cbea
dec dword [ebp - 0x14]
jne 0x41cb8d
mov esi, dword [ebx + 0xec]
call fcn.00411c30
mov esi, dword [ebx + 0xec]
call fcn.00411c30
push 0
push dword [ebx + 0xec]
call fcn.00411be8
push dword [ebx + 0xec]
xor eax, eax
call fcn.00411bfd
mov eax, dword [ebx + 0xec]
mov eax, dword [eax]
add eax, 0xfffffffb
push 1
push eax
mov dword [ebx + 0x30], eax
call fcn.0040b3b0
mov ecx, dword [ebx + 0xec]
push dword [ebx + 0x30]
mov dword [ebx + 0x2c], eax
mov ecx, dword [ecx + 0x10]
add ecx, 5
push ecx
push eax
call fcn.0044c930
push dword [ebx + 0xec]
push dword [ebp + 8]
call fcn.0041deef
add esp, 0x28
cmp dword [ebp + 0x14], 0
jne 0x41ccdd
mov dword [ebx], 0x1671
jmp 0x41dc87
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 8], 0x14
je 0x41ccf9
push str.expected_key_exchange_packet_from_server
call fcn.0040b852
push eax
mov eax, dword [ebp + 8]
jmp 0x41dc7d
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [edx + 0x90], eax
mov dword [edx + 0x94], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
add dword [ecx + 0x18], 0x10
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
mov esi, ecx
call fcn.0041217f
mov ebx, dword [ebp - 4]
xor eax, eax
cmp dword [ebx + 0xa4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
jle 0x41cdc7
lea eax, [ebx + 0xa8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
xor edi, edi
cmp esi, edi
jne 0x41cd66
mov dword [ebx + 0xc], 1
jmp 0x41cda9
cmp dword [esi], edi
jle 0x41cda9
cmp dword [ebp - 0x14], 0
jne 0x41cd7b
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
push dword [eax]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.004131d5
test eax, eax
pop ecx
jne 0x41cd9a
inc edi
cmp edi, dword [esi]
jl 0x41cd6a
jmp 0x41cda9
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x90], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x90], 0
jne 0x41cdc7
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x10], 4
cmp eax, dword [ebx + 0xa4]
jl 0x41cd52
mov esi, dword [ebp + 8]
cmp dword [esi + 0x90], 0
jne 0x41cdfd
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x41cddf
mov eax, str._null_
push eax
push str.Couldnt_agree_a_key_exchange_algorithm__available:__s_
call fcn.0040b852
push eax
mov eax, esi
call fcn.004143a5
add esp, 0xc
and dword [ebx], 0
jmp 0x41dc87
push dword [ebp - 8]
mov edi, dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.00413231
mov esi, dword [ebp + 0x14]
pop ecx
mov dword [ebx + 0xf4], eax
pop ecx
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.0041217f
mov edi, dword [ebp + 0xc]
xor ebx, ebx
xor esi, esi
mov eax, dword [esi*4 + 0x473688]
push dword [eax + 0x30]
mov eax, dword [ebp - 8]
mov ecx, edi
call fcn.004131d5
test eax, eax
pop ecx
jne 0x41ce4c
inc esi
cmp esi, 2
jb 0x41ce28
mov esi, dword [ebp + 8]
jmp 0x41ce5c
mov eax, dword [esi*4 + 0x473688]
mov esi, dword [ebp + 8]
mov dword [esi + 0x94], eax
cmp dword [esi + 0x94], ebx
jne 0x41ce8f
cmp edi, ebx
mov eax, edi
jne 0x41ce6f
mov eax, str._null_
push eax
push str.Couldnt_agree_a_host_key_algorithm__available:__s_
call fcn.0040b852
push eax
mov eax, esi
call fcn.004143a5
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [eax], ebx
jmp 0x41dc87
mov esi, dword [ebp - 4]
cmp dword [esi + 0xf4], ebx
je 0x41ceb5
push dword [ebp - 8]
mov eax, dword [0x473688]
push dword [eax + 0x30]
call fcn.00413231
test eax, eax
pop ecx
pop ecx
je 0x41ceb5
xor eax, eax
inc eax
jmp 0x41ceb7
xor eax, eax
mov dword [esi + 0xf4], eax
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.0041217f
mov esi, dword [ebp - 4]
and dword [ebp - 0xc], 0
cmp dword [esi + 0xbc], 0
jle 0x41cf3d
lea eax, [esi + 0xc0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
xor ebx, ebx
cmp edi, ebx
jne 0x41cef8
mov dword [esi + 0x10], 1
jmp 0x41cf25
cmp dword [edi], ebx
jle 0x41cf25
mov eax, dword [edi + 4]
mov eax, dword [eax + ebx*4]
push dword [eax + 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.004131d5
test eax, eax
pop ecx
jne 0x41cf1c
inc ebx
cmp ebx, dword [edi]
jl 0x41cefc
jmp 0x41cf25
mov eax, dword [edi + 4]
mov eax, dword [eax + ebx*4]
mov dword [esi + 0x44], eax
cmp dword [esi + 0x44], 0
jne 0x41cf6e
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x14], 4
cmp eax, dword [esi + 0xbc]
jl 0x41cee4
cmp dword [esi + 0x44], 0
jne 0x41cf6e
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x41cf4f
mov eax, str._null_
push eax
push str.Couldnt_agree_a_client_to_server_cipher__available:__s_
call fcn.0040b852
push eax
mov eax, dword [ebp + 8]
call fcn.004143a5
add esp, 0xc
and dword [esi], 0
jmp 0x41dc87
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.0041217f
mov edi, dword [ebp - 4]
and dword [ebp - 0xc], 0
cmp dword [edi + 0xbc], 0
jle 0x41cfee
lea eax, [edi + 0xc0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
xor ebx, ebx
cmp esi, ebx
jne 0x41cfa9
mov dword [edi + 0x14], 1
jmp 0x41cfd6
cmp dword [esi], ebx
jle 0x41cfd6
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*4]
push dword [eax + 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.004131d5
test eax, eax
pop ecx
jne 0x41cfcd
inc ebx
cmp ebx, dword [esi]
jl 0x41cfad
jmp 0x41cfd6
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*4]
mov dword [edi + 0x48], eax
cmp dword [edi + 0x48], 0
jne 0x41d01f
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x14], 4
cmp eax, dword [edi + 0xbc]
jl 0x41cf95
cmp dword [edi + 0x48], 0
jne 0x41d01f
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x41d000
mov eax, str._null_
push eax
push str.Couldnt_agree_a_server_to_client_cipher__available:__s_
call fcn.0040b852
push eax
mov eax, dword [ebp + 8]
call fcn.004143a5
add esp, 0xc
and dword [edi], 0
jmp 0x41dc87
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.0041217f
mov esi, dword [ebp - 4]
xor edi, edi
cmp dword [esi + 0x40], edi
jle 0x41d061
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edi*4]
push dword [eax + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.004131d5
test eax, eax
pop ecx
jne 0x41d058
inc edi
cmp edi, dword [esi + 0x40]
jl 0x41d037
jmp 0x41d061
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edi*4]
mov dword [esi + 0x4c], eax
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.0041217f
mov esi, dword [ebp - 4]
xor edi, edi
cmp dword [esi + 0x40], edi
jle 0x41d0a3
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edi*4]
push dword [eax + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.004131d5
test eax, eax
pop ecx
jne 0x41d09a
inc edi
cmp edi, dword [esi + 0x40]
jl 0x41d079
jmp 0x41d0a3
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edi*4]
mov dword [esi + 0x50], eax
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.0041217f
xor ebx, ebx
test ebx, ebx
mov edi, dword [ebp - 4]
jne 0x41d0c2
mov esi, dword [edi + 0xd8]
jmp 0x41d0c9
mov esi, dword [ebx*4 + 0x4736a8]
push dword [esi]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.004131d5
test eax, eax
pop ecx
jne 0x41d109
push dword [esi + 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.004131d5
test eax, eax
pop ecx
je 0x41d101
cmp dword [edi + 0xdc], 0
jne 0x41d109
mov dword [edi + 0xe0], 1
inc ebx
cmp ebx, 3
jb 0x41d0b3
jmp 0x41d10c
mov dword [edi + 0x54], esi
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.0041217f
xor ebx, ebx
test ebx, ebx
mov edi, dword [ebp - 4]
jne 0x41d12b
mov esi, dword [edi + 0xd8]
jmp 0x41d132
mov esi, dword [ebx*4 + 0x4736a8]
push dword [esi]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.004131d5
test eax, eax
pop ecx
jne 0x41d175
push dword [esi + 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
call fcn.004131d5
test eax, eax
pop ecx
je 0x41d16a
cmp dword [edi + 0xdc], 0
jne 0x41d175
mov dword [edi + 0xe0], 1
inc ebx
cmp ebx, 3
jb 0x41d11c
mov edi, dword [ebp - 4]
jmp 0x41d178
mov dword [edi + 0x58], esi
cmp dword [edi + 0xe0], 0
je 0x41d196
mov eax, dword [ebp + 8]
push str.Server_supports_delayed_compression__will_try_this_later
push dword [eax + 0xd4]
call fcn.0043d0e9
pop ecx
pop ecx
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 8]
lea ebx, [ebp + 0xc]
call fcn.0041217f
call fcn.0041217f
mov ecx, esi
call fcn.0041215c
test eax, eax
je 0x41d1c5
mov eax, dword [ebp - 4]
cmp dword [eax + 0xf4], 0
jne 0x41d1c5
xor eax, eax
inc eax
jmp 0x41d1c7
xor eax, eax
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov dword [ecx + 0xf8], eax
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
call dword [eax]
push dword [edi + 4]
mov dword [edi + 0xc], eax
call fcn.0044c220
push dword [edi + 4]
mov ecx, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [ecx + 0x1c]
mov ebx, eax
call fcn.00411ae3
push dword [edi + 8]
call fcn.0044c220
push dword [edi + 8]
mov ecx, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [ecx + 0x1c]
mov ebx, eax
call fcn.00411ae3
mov eax, dword [ebp - 4]
push dword [eax + 0x2c]
mov ecx, dword [edi + 0x90]
push dword [edi + 0xc]
mov ebx, dword [eax + 0x30]
mov esi, dword [ecx + 0x1c]
call fcn.00411ae3
mov eax, dword [ebp - 4]
push dword [eax + 0x2c]
call fcn.0040b470
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add esp, 0x24
cmp eax, 5
jle 0x41d26f
lea ebx, [eax - 5]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x10]
add eax, 5
push eax
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [eax + 0x1c]
call fcn.00411ae3
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
mov esi, dword [ebp + 8]
je 0x41d2c2
xor edi, edi
inc edi
call fcn.00412b24
mov eax, dword [esi + 0x90]
push esi
push 0x412e1f
push dword [eax]
push str.key_exchange_algorithm
push dword [esi + 0xd4]
call fcn.0043d37d
mov ecx, dword [ebp - 4]
add esp, 0x14
test eax, eax
mov dword [ecx + 0xf0], eax
mov ebx, ecx
jge 0x41c37e
mov dword [ebx], 0x172a
jmp 0x41dc87
mov ebx, dword [ebp - 4]
cmp dword [ebx + 0x10], 0
je 0x41c311
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
call fcn.00412b24
mov ecx, dword [ebx + 0x44]
mov eax, esi
push eax
push 0x412e1f
push dword [ecx + 0x18]
push str.client_to_server_cipher
push dword [eax + 0xd4]
call fcn.0043d37d
add esp, 0x14
test eax, eax
mov dword [ebx + 0xf0], eax
jge 0x41c2ff
mov dword [ebx], 0x1743
jmp 0x41dc87
cmp dword [ebx + 0xf8], 0
je 0x41c1f7
mov dword [ebx], 0x176e
jmp 0x41dc87
push eax
mov dword [esi + 0x148], 1
call fcn.004256a2
mov dword [esi + 0xbc], eax
mov dword [ebx + 0x34], 0x1e
mov dword [ebx + 0x38], 0x1f
mov eax, dword [esi + 0x90]
push dword [eax + 4]
push str.Using_Diffie_Hellman_with_standard_group___s_
push esi
call fcn.004116f9
add esp, 0x10
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 0x1c]
push dword [eax + 0x10]
push str.Doing_Diffie_Hellman_key_exchange_with_hash__s
push esi
call fcn.004116f9
push 2
push dword [esi + 0xd4]
call fcn.0043da49
mov eax, dword [ebx + 4]
shl eax, 1
push eax
push dword [esi + 0xbc]
call fcn.0042574b
push dword [ebx + 0x34]
mov dword [ebx + 0x20], eax
call fcn.00411daa
mov esi, eax
mov eax, dword [ebx + 0x20]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebx + 0xec], esi
call fcn.00411cff
mov dword [ebp + 0xc], eax
call fcn.00411c30
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
call fcn.00411c9c
push dword [ebp + 0xc]
call fcn.0040b470
push dword [ebx + 0xec]
mov esi, dword [ebp + 8]
push esi
call fcn.0041deef
push 1
push dword [esi + 0xd4]
call fcn.0043da49
add esp, 0x40
jmp 0x41d724
mov eax, dword [eax + 0x1c]
push dword [eax + 0x10]
push str.Doing_RSA_key_exchange_with_hash__s
push esi
call fcn.004116f9
add esp, 0xc
mov dword [esi + 0x148], 3
jmp 0x41d4c8
cmp dword [ebp + 0x14], esi
je 0x41d430
push str.Unexpected_data_from_server_while_waiting_for_user_host_key_response
jmp 0x41d73c
cmp dword [ebp + 0x10], esi
jg 0x41d9c1
mov eax, dword [edi + 0x1f8]
mov dword [ebx + 0xf0], eax
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.00412b24
cmp dword [ebx + 0xf0], edi
jne 0x41d9cc
mov eax, str.User_aborted_at_host_key_verification
xor edi, edi
push 1
push edi
push edi
call fcn.00415351
add esp, 0xc
mov dword [ebx], edi
jmp 0x41dc87
mov eax, dword [ebp + 0x14]
cmp eax, esi
je 0x41d712
cmp dword [eax + 8], 0x20
je 0x41d49a
push dword [ebx + 0x64]
call fcn.0040b470
mov dword [esp], str.expected_signature_packet_from_server
jmp 0x41d73c
lea edi, [ebx + 0x74]
add ebx, 0x60
mov esi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call fcn.0041217f
mov ebx, dword [ebp - 4]
push dword [ebx + 0x64]
call fcn.0040b470
mov edi, dword [ebp + 8]
pop ecx
jmp 0x41d8c6
mov eax, dword [ebp + 0x14]
cmp eax, esi
jne 0x41d4d3
mov dword [ebx], 0x17e2
jmp 0x41dc87
cmp dword [eax + 8], 0x1e
je 0x41d4e3
push str.expected_RSA_public_key_packet_from_server
jmp 0x41d73c
lea edi, [ebx + 0x70]
add ebx, 0x5c
mov esi, eax
mov dword [ebp - 0xc], edi
mov dword [ebp + 0xc], ebx
call fcn.0041217f
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
push dword [eax]
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov ebx, dword [ecx]
mov esi, dword [eax + 0x1c]
call fcn.00411ae3
mov ecx, dword [ebp - 0xc]
push dword [ecx]
mov ecx, dword [ebp + 0xc]
push dword [ecx]
mov eax, dword [edi + 0x94]
call dword [eax]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 0x14]
lea edi, [ecx + 0x78]
lea ebx, [ebp - 0x14]
mov dword [ecx + 0x7c], eax
mov dword [ebp + 0xc], edi
call fcn.0041217f
push 1
mov esi, edi
push dword [esi]
call fcn.0040b3b0
push dword [esi]
mov edi, dword [ebp - 4]
push dword [ebp - 0x14]
mov dword [edi + 0x64], eax
push eax
call fcn.0044c930
push dword [esi]
push dword [edi + 0x64]
call fcn.0042a954
add esp, 0x2c
test eax, eax
push dword [edi + 0x64]
mov dword [edi + 0x80], eax
jne 0x41d594
call fcn.0040b470
mov dword [esp], str.unable_to_parse_RSA_public_key_from_server
call fcn.0040b852
push eax
mov eax, dword [ebp + 8]
call fcn.004143a5
and dword [edi], 0
jmp 0x41dc85
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x90]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx]
mov esi, dword [eax + 0x1c]
call fcn.00411ae3
push dword [edi + 0x80]
call fcn.0042a63a
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
shl eax, 4
mov dword [ebp - 0xc], esi
sub esi, eax
sub esi, 0x31
lea eax, [esi - 1]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.00422cfb
add esp, 0x10
cmp esi, ebx
mov dword [edi + 0x28], eax
jle 0x41d61a
mov dword [ebp + 0xc], ebx
and dword [ebp + 0xc], 7
jne 0x41d5fd
call fcn.00429148
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
sar eax, cl
and eax, 1
push eax
push ebx
push dword [edi + 0x28]
call fcn.00422592
add esp, 0xc
inc ebx
cmp ebx, esi
jl 0x41d5ec
lea eax, [ebp + 0xc]
push eax
push dword [edi + 0x28]
call fcn.00411cff
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebx + 4]
push 1
push eax
mov dword [ebp - 8], eax
call fcn.0040b3b0
mov esi, eax
mov eax, ebx
sar eax, 0x18
mov byte [esi], al
mov eax, ebx
sar eax, 0x10
mov byte [esi + 1], al
mov eax, ebx
sar eax, 8
push ebx
push dword [ebp - 0x10]
mov byte [esi + 2], al
lea eax, [esi + 4]
push eax
mov dword [ebp - 0x18], esi
mov byte [esi + 3], bl
call fcn.0044c930
mov eax, dword [ebp - 0xc]
add eax, 7
push 8
pop ecx
cdq
idiv ecx
push 1
push eax
mov dword [ebp + 0xc], eax
call fcn.0040b3b0
push dword [edi + 0x80]
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push eax
push dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x90]
push esi
push dword [eax + 0x1c]
call fcn.0042a6fb
push 0x1f
call fcn.00411daa
lea ebx, [edi + 0xec]
add esp, 0x40
mov esi, eax
mov dword [ebx], eax
call fcn.00411c30
push dword [ebp - 0x14]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx]
call fcn.00411c9c
push dword [ebx]
mov esi, dword [ebp + 8]
push esi
call fcn.0041deef
push dword [ebp - 0x14]
mov eax, dword [esi + 0x90]
push dword [esi + 0xc]
mov esi, dword [eax + 0x1c]
mov ebx, edi
call fcn.00411ae3
push dword [ebp - 0x18]
call fcn.0040b470
push dword [ebp - 0x10]
call fcn.0040b470
push dword [ebp - 0x14]
call fcn.0040b470
mov eax, dword [ebp - 4]
push dword [eax + 0x80]
call fcn.0042a635
mov ebx, dword [ebp - 4]
add esp, 0x24
mov dword [ebx], 0x1834
jmp 0x41dc87
mov eax, dword [ebp + 0x14]
cmp eax, esi
jne 0x41d72f
mov dword [ebx], 0x17b6
jmp 0x41dc87
mov eax, dword [eax + 8]
cmp eax, dword [ebx + 0x38]
je 0x41d750
push str.expected_key_exchange_reply_packet_from_server
call fcn.0040b852
push eax
mov eax, edi
call fcn.004143a5
mov dword [ebx], esi
jmp 0x41dc85
mov eax, dword [ebp + 8]
push 2
push dword [eax + 0xd4]
call fcn.0043da49
mov esi, dword [ebp + 0x14]
lea edi, [ebx + 0x70]
add ebx, 0x5c
mov dword [ebp - 0xc], edi
mov dword [ebp + 0xc], ebx
call fcn.0041217f
mov ecx, dword [ebp - 0xc]
push dword [ecx]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x94]
mov ecx, ebx
push dword [ecx]
call dword [eax]
mov ebx, dword [ebp - 4]
add esp, 0x10
mov dword [ebx + 0x7c], eax
call fcn.00412251
test eax, eax
mov dword [ebx + 0x24], eax
jne 0x41d7a7
push str.unable_to_parse_key_exchange_reply_packet
jmp 0x41dc75
mov esi, dword [ebp + 0x14]
lea edi, [ebx + 0x74]
add ebx, 0x60
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call fcn.0041217f
mov esi, dword [ebp - 4]
push dword [esi + 0x24]
mov edi, dword [ebp + 8]
push dword [edi + 0xbc]
call fcn.0042585a
mov dword [esi + 0x28], eax
push 0
push dword [edi + 0xd4]
call fcn.0043da49
mov eax, dword [ebp + 0xc]
push dword [eax]
mov eax, dword [edi + 0x90]
mov ecx, dword [ebp - 0xc]
push dword [edi + 0xc]
mov ebx, dword [ecx]
mov esi, dword [eax + 0x1c]
call fcn.00411ae3
mov eax, dword [edi + 0x90]
mov ebx, dword [ebp - 4]
add esp, 0x18
cmp dword [eax + 0xc], 0
jne 0x41d864
mov ecx, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
mov edx, ecx
shr edx, 0x18
mov byte [ebp + 0xc], dl
mov edx, ecx
shr edx, 0x10
mov byte [ebp + 0xd], dl
mov edx, ecx
mov byte [ebp + 0xf], cl
push 4
lea ecx, [ebp + 0xc]
push ecx
push dword [edi + 0xc]
shr edx, 8
mov byte [ebp + 0xe], dl
call dword [eax + 4]
push dword [ebx + 0x18]
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [eax + 0x1c]
call fcn.004120f6
push dword [ebx + 0x1c]
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [eax + 0x1c]
call fcn.004120f6
add esp, 0x1c
push dword [ebx + 0x20]
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [eax + 0x1c]
call fcn.004120f6
push dword [ebx + 0x24]
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [eax + 0x1c]
call fcn.004120f6
push dword [edi + 0xbc]
call fcn.0042570c
push dword [ebx + 0x24]
call fcn.0042177a
mov eax, dword [edi + 0x90]
add esp, 0x18
cmp dword [eax + 0xc], 0
jne 0x41d8c3
mov esi, dword [ebp - 4]
push dword [esi + 0x1c]
call fcn.0042177a
push dword [esi + 0x18]
call fcn.0042177a
pop ecx
pop ecx
mov ebx, dword [ebp - 4]
push dword [ebx + 0x28]
mov eax, dword [edi + 0x90]
push dword [edi + 0xc]
mov esi, dword [eax + 0x1c]
call fcn.004120f6
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0xc], 0x20
pop ecx
pop ecx
jbe 0x41d902
push 0x1841
push str..._ssh.c
push str.ssh__kex__hash__hlen___sizeof_s__exchange_hash_
call fcn.0044c558
add esp, 0xc
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
lea esi, [ebx + 0x84]
push esi
push dword [edi + 0xc]
call dword [eax + 8]
and dword [edi + 0xbc], 0
mov eax, dword [ebx + 0x7c]
test eax, eax
pop ecx
pop ecx
je 0x41dc70
mov edx, dword [edi + 0x90]
mov edx, dword [edx + 0x1c]
push dword [edx + 0xc]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edi + 0x94]
push esi
push dword [edx]
mov edx, dword [ebp - 0x10]
push dword [edx]
push eax
call dword [ecx + 0x28]
add esp, 0x14
test eax, eax
je 0x41dc70
push dword [ebx + 0x7c]
mov eax, dword [edi + 0x94]
call dword [eax + 8]
push dword [ebx + 0x7c]
mov dword [ebx + 0x68], eax
mov eax, dword [edi + 0x94]
call dword [eax + 0x24]
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
mov dword [ebx + 0x6c], eax
call fcn.00412b24
mov eax, dword [esi + 0x94]
push esi
push 0x412e1f
push dword [ebx + 0x6c]
push dword [ebx + 0x68]
push dword [eax + 0x34]
push dword [esi + 0xc4]
push dword [esi + 0xc0]
push dword [esi + 0xd4]
call fcn.0043d25c
add esp, 0x28
test eax, eax
mov dword [ebx + 0xf0], eax
mov ebx, dword [ebp - 4]
jge 0x41d445
mov dword [ebx], 0x1861
jmp 0x41dc87
cmp dword [ebx + 0xe4], 0
mov edi, dword [ebp + 8]
jne 0x41d9f7
lea esi, [edi + 0xd4]
push str.Host_key_fingerprint_is:
push dword [esi]
call fcn.0043d0e9
push dword [ebx + 0x6c]
push dword [esi]
call fcn.0043d0e9
add esp, 0x10
push dword [ebx + 0x6c]
call fcn.0040b470
push dword [ebx + 0x68]
call fcn.0040b470
push dword [ebx + 0x7c]
mov eax, dword [edi + 0x94]
call dword [eax + 4]
add esp, 0xc
cmp dword [ebx + 0xe4], 0
jne 0x41da6f
push 0x20
lea eax, [ebx + 0x84]
push eax
lea eax, [edi + 0x98]
push eax
call fcn.0044c930
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
add esp, 0xc
cmp eax, 0x20
mov dword [edi + 0xb8], eax
jbe 0x41da65
push 0x1882
push str..._ssh.c
push str.ssh__v2_session_id_len___sizeof_ssh__v2_session_id_
call fcn.0044c558
add esp, 0xc
mov dword [ebx + 0xe4], 1
push 0x15
call fcn.00411daa
push eax
push edi
mov dword [ebx + 0xec], eax
call fcn.0041deef
mov eax, dword [edi + 0x68]
and dword [edi + 0x624], 0
add esp, 0xc
test eax, eax
je 0x41da9c
mov ecx, dword [edi + 0x60]
push eax
call dword [ecx + 4]
pop ecx
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x60], eax
call dword [eax]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x78]
test eax, eax
je 0x41dab6
mov ecx, dword [edi + 0x70]
push eax
call dword [ecx + 4]
pop ecx
mov eax, dword [ebx + 0x4c]
mov dword [edi + 0x70], eax
call dword [eax]
mov dword [edi + 0x78], eax
mov eax, dword [edi + 0x88]
test eax, eax
je 0x41dad6
mov ecx, dword [edi + 0x80]
push eax
call dword [ecx + 0xc]
pop ecx
mov eax, dword [ebx + 0x54]
mov dword [edi + 0x80], eax
call dword [eax + 8]
mov dword [edi + 0x88], eax
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
shl eax, 1
cmp eax, 0x40
jbe 0x41db12
push 0x18a6
push str..._ssh.c
push str.sizeof_keyspace____ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0044c558
add esp, 0xc
lea ecx, [ebp - 0x58]
push ecx
lea eax, [ebx + 0x84]
push 0x43
push eax
push dword [ebx + 0x28]
call fcn.00413275
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x60]
mov eax, dword [eax + 0x20]
add esp, 0x10
add eax, 7
push 8
cdq
pop esi
idiv esi
shl ecx, 1
cmp eax, ecx
jle 0x41db62
push 0x18a9
push str..._ssh.c
push str._ssh__cscipher__keylen7____8___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0044c558
add esp, 0xc
mov eax, dword [edi + 0x60]
lea ecx, [ebp - 0x58]
push ecx
push dword [edi + 0x68]
call dword [eax + 0xc]
lea eax, [ebp - 0x58]
push eax
push 0x41
lea esi, [ebx + 0x84]
push esi
push dword [ebx + 0x28]
call fcn.00413275
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov ecx, dword [edi + 0x60]
shl eax, 1
add esp, 0x18
cmp dword [ecx + 0x1c], eax
jle 0x41dbb4
push 0x18ad
push str..._ssh.c
push str.ssh__cscipher__blksize___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0044c558
add esp, 0xc
mov eax, dword [edi + 0x60]
lea ecx, [ebp - 0x58]
push ecx
push dword [edi + 0x68]
call dword [eax + 8]
lea eax, [ebp - 0x58]
push eax
push 0x45
push esi
push dword [ebx + 0x28]
call fcn.00413275
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov ecx, dword [edi + 0x70]
shl eax, 1
add esp, 0x18
cmp dword [ecx + 0x28], eax
jle 0x41dc00
push 0x18b1
push str..._ssh.c
push str.ssh__csmac__len___ssh__kex__hash__hlen__SSH2_MKKEY_ITERS
call fcn.0044c558
add esp, 0xc
mov eax, dword [edi + 0x70]
lea ecx, [ebp - 0x58]
push ecx
push dword [edi + 0x78]
call dword [eax + 8]
lea eax, [ebp - 0x58]
push 0x40
push eax
call fcn.00446471
mov eax, dword [edi + 0x60]
push dword [eax + 0x28]
push str.Initialised__.200s_client__server_encryption
push edi
call fcn.004116f9
mov eax, dword [edi + 0x70]
push dword [eax + 0x2c]
push str.Initialised__.200s_client__server_MAC_algorithm
push edi
call fcn.004116f9
mov eax, dword [edi + 0x80]
mov eax, dword [eax + 0x24]
add esp, 0x28
test eax, eax
je 0x41dc59
push eax
push str.Initialised__s_compression
push edi
call fcn.004116f9
add esp, 0xc
mov esi, dword [ebp + 8]
and dword [esi + 0x128], 0
call fcn.004152db
mov dword [ebx], 0x18c8
jmp 0x41dc87
push str.Servers_host_key_did_not_match_the_signature_supplied
call fcn.0040b852
push eax
mov eax, edi
call fcn.004143a5
and dword [ebx], 0
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret