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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x4b97e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [ebx + 0x1c8]
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xe8], esi
test esi, esi
jne 0x40f18a
push pe_nt_image_headers32
push 1
call fcn.004060a0
mov ecx, dword [ebp - 0xd0]
add esp, 8
mov dword [ebx + 0x1c8], eax
mov dword [eax], esi
mov esi, dword [ebx + 0x1c8]
mov dword [ebp - 0xe8], esi
mov eax, dword [esi]
cmp eax, 0x11fb
jg 0x40ff1e
je 0x40fe68
cmp eax, 0x1112
jg 0x40f9e1
je 0x40f925
cmp eax, 0x1079
jg 0x40f73a
je 0x40f532
test eax, eax
je 0x40f205
cmp eax, 0x1016
jne case.0x40ff46.4624
test edi, edi
je 0x40f209
cmp dword [edi + 8], 2
je 0x40f222
push str.Public_key_packet_not_received
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0xc
pop edi
mov dword [esi], 0
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x40f1d2
pop edi
mov dword [esi], 0x1016
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
push str.Received_public_keys
push dword [ebx + 0x110]
call fcn.0043dc60
push 8
push edi
call fcn.0041ccf0
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x40f24a
push str.SSH_1_public_key_packet_stopped_before_random_cookie
jmp 0x40f1dd
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 4]
lea ecx, [esi + 0xc]
mov dword [ebp - 8], eax
lea eax, [esi + 0xb8]
push ecx
push eax
push edi
call fcn.004172d0
add esp, 0xc
test eax, eax
je 0x40f528
lea ecx, [esi + 0x10]
push ecx
lea eax, [esi + 0xdc]
push eax
push edi
call fcn.004172d0
add esp, 0xc
test eax, eax
je 0x40f528
push str.Host_key_fingerprint_is:
push dword [ebx + 0x110]
call fcn.0043dc60
mov eax, dword [0x49f5dc]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
lea edx, [ecx + 1]
mov ax, word [0x49f5e0]
add esp, 8
mov word [ebp - 0x58], ax
mov al, byte [0x49f5e2]
mov byte [ebp - 0x56], al
mov dword [esi + 0xfc], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f2d0
lea eax, [esi + 0xdc]
sub ecx, edx
push eax
mov eax, 0x50
sub eax, ecx
push eax
lea eax, [ebp - 0x5c]
add eax, ecx
push eax
call fcn.00432cb0
lea eax, [ebp - 0x5c]
push eax
push dword [ebx + 0x110]
call fcn.0043dc60
push edi
call fcn.0041cda0
push edi
mov dword [ebx + 0x40], eax
call fcn.0041cda0
push edi
mov dword [esi + 0x14], eax
call fcn.0041cda0
add esp, 0x20
mov dword [esi + 0x18], eax
test byte [ebx + 0x50], 8
je 0x40f32c
and eax, 0xfffffffb
mov dword [esi + 0x18], eax
lea eax, [ebp - 0xcc]
mov dword [ebx + 0x44], 1
push eax
call fcn.0042d310
push dword [esi + 0xe0]
lea eax, [ebp - 0xcc]
push dword [esi + 0x10]
push eax
call fcn.0042d3a0
push dword [esi + 0xbc]
lea eax, [ebp - 0xcc]
push dword [esi + 0xc]
push eax
call fcn.0042d3a0
push 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.0042d3a0
lea eax, [ebp - 0xcc]
push eax
lea eax, [esi + 0x2c]
push eax
call fcn.0042d1e0
add esp, 0x30
xor edi, edi
call fcn.00431980
mov byte [ebx + edi + 0x1c], al
inc edi
cmp edi, 0x20
jl 0x40f390
mov ecx, dword [esi + 0xe0]
lea edi, [esi + 0xdc]
lea eax, [ecx*8]
cmp dword [edi], eax
jg 0x40f51e
mov edx, dword [esi + 0xbc]
lea eax, [edx*8]
cmp dword [esi + 0xb8], eax
jg 0x40f51e
cmp ecx, edx
push 1
cmovle ecx, edx
push ecx
mov dword [esi + 4], ecx
call fcn.004060a0
push edi
mov dword [esi + 8], eax
call fcn.004334d0
push 1
push eax
call fcn.004060a0
mov edi, eax
lea eax, [esi + 0xdc]
push eax
push edi
call fcn.004333c0
lea eax, [esi + 0xdc]
push eax
lea eax, [ebp - 0x70]
push 0x64
push eax
call fcn.00432cb0
push 0
push 0
lea eax, [ebp - 0x70]
push eax
push ebx
call fcn.0041e210
add esp, 0x38
mov dword [esi + 0xb0], eax
test eax, eax
jne 0x40f44f
push str.Host_key_did_not_appear_in_manually_configured_list
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
push edi
call fcn.00406080
add esp, 0x10
jmp 0x40f1ec
jns 0x40f4b5
push 1
push ebx
call fcn.0041d490
push ebx
push 0x41c550
lea eax, [ebp - 0x70]
push eax
push edi
push 0x49c66c
push dword [ebx + 0xfc]
push dword [ebx + 0xf8]
push dword [ebx + 0x110]
call fcn.0043dd00
push edi
mov dword [esi + 0xb0], eax
call fcn.00406080
add esp, 0x2c
cmp dword [esi + 0xb0], 0
jge 0x40f56b
pop edi
mov dword [esi], 0x1079
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
push edi
call fcn.00406080
add esp, 4
xor edx, edx
mov ecx, dword [esi + 8]
mov al, byte [ebx + edx + 0x1c]
mov byte [edx + ecx], al
cmp edx, 0x10
jge 0x40f4d9
mov ecx, dword [esi + 8]
mov al, byte [esi + edx + 0x2c]
xor byte [ecx + edx], al
inc edx
cmp edx, 0x20
jl 0x40f4c0
mov eax, dword [esi + 0xe0]
mov ecx, dword [esi + 8]
cmp eax, dword [esi + 0xbc]
jle 0x40f59c
lea eax, [esi + 0xb8]
push eax
push 0x20
push ecx
call fcn.004332f0
add esp, 0xc
test eax, eax
je 0x40f730
mov ecx, dword [esi + 0xbc]
mov eax, 0xdc
jmp 0x40f5c1
push str.SSH_1_public_keys_were_badly_formatted
jmp 0x40f1dd
push str.Failed_to_read_SSH_1_public_keys_from_public_key_packet
jmp 0x40f1dd
test edi, edi
je 0x40f540
push str.Unexpected_data_from_server_while_waiting_for_user_host_key_response
jmp 0x40f1dd
cmp dword [ebp + 0x10], 0
jle 0x40f55f
pop edi
mov dword [esi], 0x1079
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x25c]
mov dword [esi + 0xb0], eax
push 0
push ebx
call fcn.0041d490
add esp, 8
cmp dword [esi + 0xb0], 0
jne 0x40f4be
push 1
push 0
push 0
push str.User_aborted_at_host_key_verification
push ebx
call fcn.0041c5a0
add esp, 0x14
jmp 0x40f1ec
lea eax, [esi + 0xdc]
push eax
push 0x20
push ecx
call fcn.004332f0
add esp, 0xc
test eax, eax
je 0x40f730
mov ecx, dword [esi + 0xe0]
mov eax, 0xb8
add eax, esi
push eax
mov eax, dword [esi + 8]
push ecx
push eax
call fcn.004332f0
add esp, 0xc
test eax, eax
je 0x40f730
push str.Encrypted_session_key
push dword [ebx + 0x110]
call fcn.0043dc60
xor edi, edi
add esp, 8
xor eax, eax
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xdc], eax
cmp eax, 7
jge 0x40f6bc
push eax
push 0x1f
push dword [ebx + 0x248]
call fcn.004030f0
add esp, 0xc
test eax, eax
jne 0x40f62d
mov ecx, 1
mov dword [ebp - 0xe0], ecx
jmp 0x40f6a5
cmp eax, 3
jne 0x40f647
push str.AES_not_supported_in_SSH_1__skipping
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
jmp 0x40f69f
sub eax, 1
je 0x40f67c
sub eax, 1
je 0x40f669
sub eax, 2
jne 0x40f68d
mov dword [esi + 0x3c], 2
mov dword [ebp - 0xd4], str.single_DES
jmp 0x40f68d
mov dword [esi + 0x3c], 6
mov dword [ebp - 0xd4], str.Blowfish
jmp 0x40f68d
mov dword [esi + 0x3c], 3
mov dword [ebp - 0xd4], str.3DES
mov ecx, dword [esi + 0x3c]
mov edx, 1
mov eax, edx
shl eax, cl
test dword [esi + 0x14], eax
cmovne edi, edx
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
test edi, edi
je 0x40f602
jmp 0x40f6dd
test edi, edi
jne 0x40f6d7
test byte [esi + 0x14], 8
mov eax, str.No_supported_ciphers_found
mov ecx, str.Server_violates_SSH_1_protocol_by_not_supporting_3DES_encryption
cmove eax, ecx
push eax
jmp 0x40f1dd
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x40f7ab
push 1
push ebx
call fcn.0041d490
mov eax, dword [ebp - 0xd4]
push ebx
push 0x41c550
push eax
push str.cipher
push dword [ebx + 0x110]
call fcn.0043d660
add esp, 0x1c
mov dword [esi + 0xb0], eax
test eax, eax
jns 0x40f77e
pop edi
mov dword [esi], 0x10cf
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
push str.SSH_1_public_key_encryptions_failed_due_to_bad_formatting
jmp 0x40f1dd
cmp eax, 0x10cf
jne case.0x40ff46.4624
test edi, edi
je 0x40f753
push str.Unexpected_data_from_server_while_waiting_for_user_response
jmp 0x40f1dd
cmp dword [ebp + 0x10], 0
jle 0x40f772
pop edi
mov dword [esi], 0x10cf
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x25c]
mov dword [esi + 0xb0], eax
push 0
push ebx
call fcn.0041d490
add esp, 8
cmp dword [esi + 0xb0], 0
jne 0x40f7ab
push 1
push 0
push 0
push str.User_aborted_at_cipher_warning
push ebx
call fcn.0041c5a0
add esp, 0x14
jmp 0x40f1ec
mov eax, dword [esi + 0x3c]
sub eax, 2
je 0x40f7cb
sub eax, 1
je 0x40f7c4
sub eax, 3
jne 0x40f7de
push str.Using_Blowfish_encryption
jmp 0x40f7d0
push str.Using_3DES_encryption
jmp 0x40f7d0
push str.Using_single_DES_encryption
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
mov eax, dword [esi + 4]
push 0
push dword [ebx + 0x44]
push 1
push eax
push dword [esi + 8]
lea ecx, [eax*8]
push 3
movzx eax, cl
push eax
push 2
sar ecx, 8
lea eax, [ebp - 0xc]
push ecx
push 2
push 8
push eax
push 3
push dword [esi + 0x3c]
push 2
push 3
push ebx
call fcn.00416c40
push str.Trying_to_enable_encryption...
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 0x4c
push dword [esi + 8]
call fcn.00406080
mov ecx, dword [esi + 0x3c]
add esp, 4
cmp ecx, 6
jne 0x40f843
mov eax, 0x4a40c8
jmp 0x40f853
cmp ecx, 2
mov eax, 0x4a56e4
mov edx, 0x4a56c8
cmovne eax, edx
mov dword [ebx + 0x54], eax
mov eax, dword [eax]
call eax
mov edx, eax
lea ecx, [ebx + 0x1c]
mov eax, dword [ebx + 0x54]
push ecx
mov dword [ebx + 0x58], edx
push edx
mov eax, dword [eax + 8]
call eax
mov eax, dword [ebx + 0x54]
push dword [eax + 0x18]
push str.Initialised__s_encryption
push ebx
call fcn.00416850
call fcn.00425540
push str.Installing_CRC_compensation_attack_detector
push dword [ebx + 0x110]
mov dword [ebx + 0x5c], eax
call fcn.0043dc60
mov eax, dword [esi + 0xc0]
add esp, 0x1c
test eax, eax
je 0x40f8b5
push eax
call fcn.00406080
add esp, 4
mov dword [esi + 0xc0], 0
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x40f8d2
push eax
call fcn.00406080
add esp, 4
mov dword [esi + 0xc4], 0
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x40f8ef
push eax
call fcn.00406080
add esp, 4
mov dword [esi + 0xe4], 0
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x40f929
push eax
call fcn.00406080
add esp, 4
mov dword [esi + 0xe8], 0
mov dword [esi], 0x1112
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x40f942
pop edi
mov dword [esi], 0x1112
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
cmp dword [edi + 8], 0xe
je 0x40f952
push str.Encryption_not_successfully_enabled
jmp 0x40f1dd
push str.Successfully_started_encryption
push dword [ebx + 0x110]
call fcn.0043dc60
push 1
call fcn.00467b05
push eax
call fcn.004681a4
push dword [ebx + 0x248]
call fcn.0040a510
add esp, 0x14
mov dword [ebx + 0x250], eax
lea edi, [ebx + 0x250]
test eax, eax
jne 0x40fa8b
push dword [ebx + 0x110]
call fcn.00405ed0
mov dword [esi + 0x54], eax
push str.SSH_login_name
mov dword [eax], 1
call fcn.00405a10
mov ecx, dword [esi + 0x54]
add esp, 8
push 1
push str.login_as:
mov dword [ecx + 4], eax
call fcn.00405a10
add esp, 4
push eax
push dword [esi + 0x54]
call fcn.00405370
push 0
push 0
push dword [esi + 0x54]
call fcn.004430a0
add esp, 0x18
jmp 0x40fa1e
sub eax, 0x1126
cmp eax, 0xae
ja case.0x40ff46.4624
movzx eax, byte [eax + 0x410e48]
jmp dword [eax*4 + 0x410e34]
test edi, edi
jne 0x40fa2c
push dword [ebp + 0x10]
push ecx
push dword [esi + 0x54]
call fcn.004430a0
mov dword [ebx + 0x100], edi
add esp, 0xc
lea edi, [ebx + 0x250]
test eax, eax
jns 0x40fa45
mov dword [ebx + 0x100], 1
pop edi
mov dword [esi], 0x1126
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x54]
test eax, eax
jne 0x40fa6b
push ecx
call fcn.00405be0
push 1
push 0
push 0
push str.No_username_provided
push ebx
call fcn.0041c5a0
add esp, 0x18
jmp 0x40f1ec
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.00405a10
mov dword [edi], eax
push dword [esi + 0x54]
call fcn.00405be0
mov eax, dword [ebx + 0x250]
add esp, 8
push 0
push eax
push 4
push 4
push ebx
call fcn.00416c40
push dword [edi]
push str.Sent_username___s_
call fcn.004059f0
mov edi, eax
push edi
push dword [ebx + 0x110]
call fcn.0043dc60
mov ecx, dword [0x4bc478]
add esp, 0x24
test cl, 4
je 0x40fadd
and ecx, 3
cmp cl, 3
je 0x40fadd
push edi
push ebx
call fcn.0040e7b0
push 0x49b7d8
push ebx
call fcn.0040e7b0
add esp, 0x10
push edi
call fcn.00406080
add esp, 4
mov dword [esi], 0x1143
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x40fb1c
pop edi
mov dword [esi], 0x1143
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x18]
shr eax, 2
not eax
and eax, 1
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
push 0x20
push dword [ebx + 0x248]
call fcn.00403060
push eax
mov dword [esi + 0xb4], eax
call fcn.0043f750
add esp, 0xc
test eax, eax
jne 0x40fca6
push dword [esi + 0xb4]
call fcn.0043f7b0
push eax
push str.Reading_key_file___.150s_
push ebx
call fcn.00416850
push dword [esi + 0xb4]
call fcn.0042e310
add esp, 0x14
mov dword [ebp - 0xdc], eax
cmp eax, 2
je 0x40fbf3
cmp eax, 8
je 0x40fbf3
push eax
call fcn.0042e6e0
push eax
push str.Unable_to_use_this_key_file___s_
push ebx
call fcn.00416850
mov ecx, dword [ebp - 0xdc]
push ecx
call fcn.0042e6e0
add esp, 0x14
push eax
push dword [esi + 0xb4]
call fcn.0043f7b0
add esp, 4
push eax
push str.Unable_to_use_key_file___.150s____s__r_n
call fcn.004059f0
mov edi, eax
push edi
push ebx
call fcn.0040e7b0
push edi
call fcn.00406080
mov edi, dword [ebp - 0xd8]
add esp, 0x18
mov dword [esi + 0x40], 0
jmp 0x410420
lea eax, [ebp - 0xd4]
push eax
lea eax, [esi + 0x48]
push eax
lea eax, [esi + 0x44]
push eax
lea ecx, [esi + 0x40]
push ecx
push dword [esi + 0xb4]
call fcn.0042f500
add esp, 0x14
test eax, eax
je 0x40fc4f
xor eax, eax
cmp dword [ebp - 0xdc], 2
sete al
mov dword [esi + 0x4c], eax
je 0x40fc37
push str.Key_file_contains_public_key_only
push ebx
call fcn.00416850
add esp, 8
push 0
push dword [esi + 0xb4]
call fcn.0042f450
add esp, 8
mov dword [esi + 0x50], eax
jmp 0x410420
push dword [ebp - 0xd4]
push str.Unable_to_load_key___s_
push ebx
call fcn.00416850
add esp, 0xc
push dword [ebp - 0xd4]
push dword [esi + 0xb4]
call fcn.0043f7b0
add esp, 4
push eax
push str.Unable_to_load_key_file___.150s____s__r_n
call fcn.004059f0
mov edi, eax
push edi
push ebx
call fcn.0040e7b0
push edi
call fcn.00406080
mov edi, dword [ebp - 0xd8]
add esp, 0x18
mov dword [esi + 0x40], 0
jmp 0x410420
mov dword [esi + 0x40], 0
jmp 0x410420
test edi, edi
je 0x40fcc0
push str.Unexpected_data_from_server_while_waiting_for_agent_response
jmp 0x40f1dd
cmp dword [ebp + 0x10], 0
jg 0x4104b2
mov edx, dword [ebx + 0x254]
lea edi, [esi + 0x70]
mov eax, dword [ebx + 0x258]
mov dword [ebp - 0xdc], edx
mov dword [edi], eax
jmp 0x4104d1
test edi, edi
je 0x4106e9
cmp dword [edi + 8], 7
mov eax, dword [ebx + 0x110]
je 0x40fd13
push str.Key_refused
push eax
call fcn.0043dc60
add esp, 8
inc dword [esi + 0x74]
mov eax, dword [esi + 0x74]
jmp 0x410557
push str.Received_RSA_challenge
push eax
call fcn.0043dc60
push edi
call fcn.00417290
add esp, 0xc
mov dword [esi + 0xa4], eax
test eax, eax
jne 0x40fd3b
push str.Servers_RSA_challenge_was_badly_formatted
jmp 0x40f1dd
push dword [esi + 0x8c]
call fcn.00424280
push dword [esi + 0x88]
lea edi, [eax + 5]
call fcn.00424280
push dword [esi + 0xa4]
add edi, eax
call fcn.00424280
push 1
lea ebx, [eax + 0x14]
add ebx, edi
lea eax, [ebx + 4]
push eax
call fcn.004060a0
mov ecx, ebx
mov dword [ebp - 0xd0], eax
sar ecx, 0x18
mov byte [eax], cl
lea edi, [eax + 4]
mov ecx, ebx
mov byte [eax + 3], bl
sar ecx, 0x10
mov byte [eax + 1], cl
mov ecx, ebx
sar ecx, 8
mov byte [eax + 2], cl
mov byte [edi], 3
push dword [esi + 0x88]
call fcn.004223a0
sar eax, 0x18
mov byte [edi + 1], al
push dword [esi + 0x88]
call fcn.004223a0
sar eax, 0x10
mov byte [edi + 2], al
push dword [esi + 0x88]
call fcn.004223a0
sar eax, 8
mov byte [edi + 3], al
push dword [esi + 0x88]
call fcn.004223a0
mov byte [edi + 4], al
add edi, 5
push dword [esi + 0x8c]
push edi
call fcn.00424300
push dword [esi + 0x88]
add edi, eax
push edi
call fcn.00424300
push dword [esi + 0xa4]
add edi, eax
push edi
call fcn.00424300
push dword [ebp - 0xe0]
movups xmm0, xmmword [esi + 0x2c]
add edi, eax
lea eax, [ebp - 0xe4]
push 0x41b420
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebx + 4]
mov ebx, dword [ebp - 0xd0]
push eax
movups xmmword [edi], xmm0
push ebx
mov dword [edi + 0x10], 0x1000000
call fcn.00442c40
mov edi, eax
add esp, 0x54
mov eax, dword [ebp - 0xe0]
push ebx
mov dword [eax + 0x6d0], edi
call fcn.00406080
add esp, 4
test edi, edi
jne 0x40fe75
mov edi, dword [ebp - 0xd8]
mov ebx, dword [ebp - 0xe0]
jmp 0x40fea6
test edi, edi
jne 0x40fcb6
cmp dword [ebp + 0x10], edi
jle 0x40fe8e
pop edi
mov dword [esi], 0x11fb
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x254]
mov eax, dword [ebx + 0x258]
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xe4], eax
test edi, edi
je 0x40ff0e
cmp byte [edi + 4], 4
mov eax, dword [ebx + 0x110]
jne 0x40fef5
push str.Sending_Pageants_response
push eax
call fcn.0043dc60
push 0
push 0x10
lea eax, [edi + 5]
push eax
push 3
push 8
push ebx
call fcn.00416c40
push edi
call fcn.00406080
add esp, 0x24
mov dword [esi], 0x120f
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
push str.Pageant_failed_to_answer_challenge
push eax
call fcn.0043dc60
push edi
call fcn.00406080
add esp, 0xc
jmp 0x40ffcf
push str.No_reply_received_from_Pageant
push dword [ebx + 0x110]
jmp 0x40ffc7
cmp eax, 0x12cf
jg 0x410354
je 0x4101a5
sub eax, 0x120f
cmp eax, 0xa5
ja case.0x40ff46.4624
movzx eax, byte [eax + 0x410f0c]
jmp dword [eax*4 + 0x410ef8]
test edi, edi
jne 0x40ff6a
pop edi
mov dword [esi], 0x120f
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
cmp dword [edi + 8], 0xe
mov eax, dword [ebx + 0x110]
jne 0x40ffc1
push str.Pageants_response_accepted
push eax
call fcn.0043dc60
add esp, 8
test byte [0x4bc478], 1
je 0x40ffb8
push str.Authenticated_using_RSA_key__
push ebx
call fcn.0040e7b0
push dword [esi + 0xac]
push dword [esi + 0xa8]
push ebx
call fcn.0040e720
push str.__from_agent_r_n
push ebx
call fcn.0040e7b0
add esp, 0x1c
mov dword [esi + 0x7c], 1
jmp 0x40ffcf
push str.Pageants_response_not_accepted
push eax
call fcn.0043dc60
add esp, 8
push dword [esi + 0x8c]
call fcn.00422d10
push dword [esi + 0x88]
call fcn.00422d10
push dword [esi + 0xa4]
call fcn.00422d10
add esp, 0xc
cmp dword [esi + 0x7c], 0
jne 0x410715
inc dword [esi + 0x74]
mov eax, dword [esi + 0x74]
jmp 0x410557
test edi, edi
jne 0x4109bf
push dword [ebp + 0x10]
push ecx
push dword [esi + 0x54]
call fcn.004430a0
add esp, 0xc
mov dword [ebx + 0x100], edi
jmp 0x41082f
test edi, edi
je 0x4109ed
mov eax, dword [edi + 8]
cmp eax, 0xf
jne 0x41004d
push str.Server_refused_our_public_key._r_n
push ebx
call fcn.0040e7b0
add esp, 8
jmp 0x410420
cmp eax, 7
je 0x41005c
push str.Bizarre_response_to_offer_of_public_key
jmp 0x40f1dd
push edi
call fcn.00417290
mov ecx, eax
add esp, 4
mov dword [ebp - 0xd0], ecx
test ecx, ecx
je 0x40fd31
lea eax, [esi + 0x80]
push eax
push ecx
call fcn.004332e0
push dword [esi + 0x90]
mov dword [ebp - 0xd8], eax
call fcn.00422d10
mov esi, dword [ebp - 0xd8]
add esp, 0xc
xor ebx, ebx
mov edi, 0x1f
push edi
push esi
call fcn.00422430
dec edi
mov byte [ebp + ebx - 0x2c], al
add esp, 8
lea ebx, [ebx + 1]
cmp edi, 0xffffffff
jg 0x4100a3
lea eax, [ebp - 0xcc]
push eax
call fcn.0042d310
push 0x20
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.0042d3a0
mov esi, dword [ebp - 0xe8]
push 0x10
lea eax, [esi + 0x2c]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.0042d3a0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042d1e0
mov ebx, dword [ebp - 0xe0]
lea eax, [ebp - 0x2c]
push 0
push 0x10
push eax
push 3
push 8
push ebx
call fcn.00416c40
push dword [ebp - 0xd0]
call fcn.00422d10
add esp, 0x40
push dword [ebp - 0xd8]
call fcn.00422d10
add esp, 4
mov dword [esi], 0x12b4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x41016a
pop edi
mov dword [esi], 0x12b4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
cmp eax, 0xf
jne 0x410192
test byte [0x4bc478], 1
je 0x410420
push str.Failed_to_authenticate_with_our_public_key._r_n
push ebx
call fcn.0040e7b0
add esp, 8
jmp 0x410420
cmp eax, 0xe
je 0x410a06
push str.Bizarre_response_to_RSA_authentication_response
jmp 0x40f1dd
test edi, edi
je 0x41097d
cmp dword [edi + 8], 0x28
je 0x4101e9
push str.TIS_authentication_declined
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
test byte [0x4bc478], 4
je 0x4101dd
push str.TIS_authentication_refused._r_n
push ebx
call fcn.0040e7b0
add esp, 8
mov dword [esi + 0x24], 1
jmp 0x410420
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xd0]
push eax
push edi
call fcn.0041cd20
mov edi, dword [ebp - 0xd0]
add esp, 0xc
test edi, edi
jne 0x410214
push str.TIS_challenge_packet_was_badly_formed
jmp 0x40f1dd
push str.Received_TIS_challenge
push dword [ebx + 0x110]
call fcn.0043dc60
mov eax, dword [esi + 0x54]
push str.SSH_TIS_authentication
mov dword [eax], 1
call fcn.00405a10
push dword [ebp - 0xd4]
mov ecx, dword [esi + 0x54]
push 0xa
push edi
mov dword [ecx + 4], eax
call fcn.0044a330
add esp, 0x18
test eax, eax
je 0x41027c
push 0x49b3f7
call fcn.00405a10
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd4]
push edi
push eax
push 0x49b474
call fcn.004059f0
mov edi, dword [ebp - 0xd0]
jmp 0x41029a
mov eax, dword [ebp - 0xd4]
push edi
push eax
push 0x49b474
call fcn.004059f0
push str.Response:
mov edi, eax
call fcn.00405a10
add esp, 0x10
mov dword [ebp - 0xd8], eax
cmp byte [edi], 0
mov ecx, 0x49b3f7
mov eax, 0x49fef0
cmove eax, ecx
push edi
push eax
push str.Using_TIS_authentication._s_s
call fcn.004059f0
mov ecx, dword [esi + 0x54]
push 0
push dword [ebp - 0xd8]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x54]
mov dword [eax + 0x10], 1
push dword [esi + 0x54]
call fcn.00405370
push edi
call fcn.00406080
add esp, 0x1c
push 0x25
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 8
test eax, eax
je 0x410b56
test dword [esi + 0x18], 0x10000
je 0x410b56
cmp dword [esi + 0x28], 0
jne 0x410b56
mov dword [esi + 0x5c], 0x48
push str.Requested_CryptoCard_authentication
push dword [ebx + 0x110]
call fcn.0043dc60
push 0
push 0x46
push ebx
call fcn.00416c40
add esp, 0x14
pop edi
mov dword [esi], 0x12fa
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
sub eax, 0x12fa
je 0x4103e9
sub eax, 0x3b
je 0x4103ca
sub eax, 0x8d
jne case.0x40ff46.4624
test edi, edi
je 0x410e18
mov eax, dword [edi + 8]
cmp eax, 0xf
jne 0x4103ab
test byte [0x4bc478], 1
je 0x410396
push str.Access_denied_r_n
push ebx
call fcn.0040e7b0
add esp, 8
push str.Authentication_refused
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
jmp 0x410420
cmp eax, 0xe
je 0x410420
push eax
push str.Strange_packet_received__type__d
call fcn.004059f0
push eax
push ebx
call fcn.0040e6e0
add esp, 0x10
jmp 0x40f1ec
test edi, edi
jne 0x410bcc
push dword [ebp + 0x10]
push ecx
push dword [esi + 0x54]
call fcn.004430a0
mov dword [ebx + 0x100], edi
jmp 0x410bbb
test edi, edi
je 0x41033b
cmp dword [edi + 8], 0x47
je 0x410a4d
push str.CryptoCard_authentication_declined
push dword [ebx + 0x110]
call fcn.0043dc60
push str.CryptoCard_authentication_refused._r_n
push ebx
call fcn.0040e7b0
add esp, 0x10
mov dword [esi + 0x28], 1
cmp dword [edi + 8], 0xf
jne 0x410a06
mov dword [esi + 0x5c], 9
push 0x1c
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 8
test eax, eax
je 0x410750
call fcn.00442c20
test eax, eax
je 0x410750
cmp dword [esi + 0x20], 0
jne 0x410750
mov dword [esi + 0x7c], 0
mov dword [esi + 0x20], 1
push str.Pageant_is_running._Requesting_keys.
push dword [ebx + 0x110]
call fcn.0043dc60
push ebx
push 0x41b420
lea edi, [esi + 0x70]
mov byte [esi + 0x60], 0
push edi
lea ecx, [ebp - 0xdc]
mov dword [esi + 0x61], 0x1010000
push ecx
lea eax, [esi + 0x60]
push 5
push eax
call fcn.00442c40
add esp, 0x20
mov dword [ebx + 0x6d0], eax
test eax, eax
je 0x4104cb
pop edi
mov dword [esi], 0x118e
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xdc]
mov dword [esi + 0x68], edx
test edx, edx
je 0x410733
cmp dword [edi], 5
jl 0x410733
cmp byte [edx + 4], 2
jne 0x410733
add edx, 5
mov dword [esi + 0x6c], edx
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
push ecx
call fcn.00406440
add esp, 4
mov dword [esi + 0x78], eax
test eax, eax
jns 0x41053b
push eax
push str.Pageant_reported_negative_key_count__d
push ebx
call fcn.00416850
add esp, 0xc
mov dword [esi + 0x78], 0
xor eax, eax
add dword [esi + 0x6c], 4
push eax
push str.Pageant_has__d_SSH_1_keys
push ebx
call fcn.00416850
add esp, 0xc
mov dword [esi + 0x74], 0
xor eax, eax
cmp eax, dword [esi + 0x78]
jge 0x410715
mov edi, dword [esi + 0x6c]
lea eax, [esi + 0x8c]
push eax
mov eax, dword [esi + 0x70]
lea ecx, [edi + 4]
sub eax, ecx
mov dword [esi + 0x6c], ecx
add eax, dword [esi + 0x68]
push eax
call fcn.00406440
add esp, 4
push eax
push dword [esi + 0x6c]
call fcn.004242a0
add esp, 0xc
test eax, eax
js 0x410702
add dword [esi + 0x6c], eax
lea eax, [esi + 0x88]
push eax
mov eax, dword [esi + 0x70]
sub eax, dword [esi + 0x6c]
add eax, dword [esi + 0x68]
push eax
call fcn.00406440
add esp, 4
push eax
push dword [esi + 0x6c]
call fcn.004242a0
add esp, 0xc
test eax, eax
js 0x410702
add dword [esi + 0x6c], eax
mov eax, dword [esi + 0x70]
mov edx, dword [esi + 0x6c]
sub eax, edx
add eax, dword [esi + 0x68]
cmp eax, 4
jl 0x410702
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
push ecx
call fcn.00406440
mov ecx, dword [esi + 0x6c]
add esp, 4
add ecx, 4
mov dword [esi + 0xac], eax
mov dword [esi + 0x6c], ecx
test eax, eax
js 0x410702
mov dword [ebp - 0xd0], eax
mov eax, dword [esi + 0x70]
sub eax, ecx
add eax, dword [esi + 0x68]
push eax
call fcn.00406440
mov ecx, dword [ebp - 0xd0]
add esp, 4
cmp eax, ecx
jl 0x410702
mov eax, dword [esi + 0x6c]
mov dword [esi + 0xa8], eax
add eax, ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x6c], eax
test ecx, ecx
je 0x4106c6
mov edx, dword [esi + 0x44]
sub edx, 4
jb 0x410671
nop dword [eax]
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x410676
add edi, 4
add ecx, 4
sub edx, 4
jae 0x410660
cmp edx, 0xfffffffc
je 0x4106ae
mov al, byte [edi]
cmp al, byte [ecx]
jne 0x4106a3
cmp edx, 0xfffffffd
je 0x4106ae
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x4106a3
cmp edx, 0xfffffffe
je 0x4106ae
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x4106a3
cmp edx, 0xffffffff
je 0x4106ae
mov al, byte [edi + 3]
cmp al, byte [ecx + 3]
je 0x4106ae
inc dword [esi + 0x74]
mov eax, dword [esi + 0x74]
jmp 0x410557
push dword [esi + 0x74]
push str.Pageant_key__d_matches_configured_key_file
push ebx
call fcn.00416850
add esp, 0xc
mov dword [esi + 0x1c], 1
push dword [esi + 0x74]
push str.Trying_Pageant_key__d
push ebx
call fcn.00416850
push 0
push dword [esi + 0x88]
push 5
push 6
push ebx
call fcn.00416c40
add esp, 0x20
pop edi
mov dword [esi], 0x11d4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
push str.Pageant_key_list_packet_was_truncated
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
push dword [esi + 0x68]
call fcn.00406080
add esp, 4
cmp dword [esi + 0x40], 0
je 0x410746
cmp dword [esi + 0x1c], 0
jne 0x410746
push str.Configured_key_file_not_in_Pageant
jmp 0x410738
push str.Failed_to_get_reply_from_Pageant
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
cmp dword [esi + 0x7c], 0
jne 0x410a06
cmp dword [esi + 0x40], 0
je 0x41091f
cmp dword [esi + 0x4c], 0
je 0x41091f
cmp dword [esi + 0x1c], 0
jne 0x41091f
test byte [0x4bc478], 1
je 0x410785
push str.Trying_public_key_authentication._r_n
push ebx
call fcn.0040e7b0
add esp, 8
push 0x20
push dword [ebx + 0x248]
call fcn.00403060
push eax
mov dword [esi + 0xb4], eax
call fcn.0043f7b0
push eax
push str.Trying_public_key___s_
push ebx
call fcn.00416850
add esp, 0x18
mov dword [esi + 0x1c], 1
xor eax, eax
test eax, eax
jne 0x4109d8
cmp dword [esi + 0x50], eax
jne 0x4107de
test byte [0x4bc478], 1
je 0x4107da
push str.No_passphrase_required._r_n
push ebx
call fcn.0040e7b0
add esp, 8
xor edi, edi
jmp 0x41085a
push dword [ebx + 0x110]
call fcn.00405ed0
mov dword [esi + 0x54], eax
push str.SSH_key_passphrase
mov dword [eax], 0
call fcn.00405a10
mov ecx, dword [esi + 0x54]
add esp, 8
push 0
mov dword [ecx + 4], eax
push dword [esi + 0x48]
push str.Passphrase_for_key___.100s_:
call fcn.004059f0
add esp, 8
push eax
push dword [esi + 0x54]
call fcn.00405370
push 0
push 0
push dword [esi + 0x54]
call fcn.004430a0
add esp, 0x18
test eax, eax
js 0x4109b5
mov ecx, dword [esi + 0x54]
je 0x410996
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.00405a10
push dword [esi + 0x54]
mov edi, eax
call fcn.00405be0
add esp, 8
push 0x20
push dword [ebx + 0x248]
call fcn.00403060
lea ecx, [ebp - 0xe4]
mov dword [esi + 0xb4], eax
push ecx
push edi
lea ecx, [esi + 0x80]
push ecx
push eax
call fcn.0042e780
add esp, 0x18
mov dword [ebp - 0xd0], eax
test edi, edi
je 0x4108b3
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410894
sub ecx, edx
push ecx
push edi
call fcn.0043fb70
push edi
call fcn.00406080
mov eax, dword [ebp - 0xd0]
add esp, 0xc
cmp eax, 1
jne 0x4108bd
jmp 0x4107b6
test eax, eax
je 0x4108dd
cmp eax, 0xffffffff
jne 0x4107b4
push str.Wrong_passphrase._r_n
push ebx
call fcn.0040e7b0
add esp, 8
jmp 0x4107b4
push str.Couldnt_load_private_key_from
push ebx
call fcn.0040e7b0
push dword [esi + 0xb4]
call fcn.0043f7b0
push eax
push ebx
call fcn.0040e7b0
push 0x49fd64
push ebx
call fcn.0040e7b0
push dword [ebp - 0xe4]
push ebx
call fcn.0040e7b0
push str._._r_n
push ebx
call fcn.0040e7b0
add esp, 0x2c
push dword [ebx + 0x110]
call fcn.00405ed0
mov dword [esi + 0x54], eax
push 0x25
push dword [ebx + 0x248]
call fcn.004030c0
add esp, 0xc
test eax, eax
je 0x4102e8
test byte [esi + 0x18], 0x20
je 0x4102e8
cmp dword [esi + 0x24], 0
jne 0x4102e8
mov dword [esi + 0x5c], 0x29
push str.Requested_TIS_authentication
push dword [ebx + 0x110]
call fcn.0043dc60
push 0
push 0x27
push ebx
call fcn.00416c40
add esp, 0x14
pop edi
mov dword [esi], 0x12cf
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
push ecx
call fcn.00405be0
push 1
push 0
push str.Unable_to_authenticate
push 0
push ebx
call fcn.0041c5a0
add esp, 0x18
jmp 0x40f1ec
mov dword [ebx + 0x100], 1
pop edi
mov dword [esi], 0x1259
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
push 0
push dword [esi + 0x88]
push 5
push 6
push ebx
call fcn.00416c40
add esp, 0x14
pop edi
mov dword [esi], 0x128e
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x40]
test eax, eax
je 0x410a1e
push eax
call fcn.00406080
push dword [esi + 0x48]
call fcn.00406080
add esp, 8
push str.Authentication_successful
push dword [ebx + 0x110]
call fcn.0043dc60
add esp, 8
pop edi
mov dword [esi], 0
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xd0]
push eax
push edi
call fcn.0041cd20
mov edi, dword [ebp - 0xd0]
add esp, 0xc
test edi, edi
jne 0x410a78
push str.CryptoCard_challenge_packet_was_badly_formed
jmp 0x40f1dd
push str.Received_CryptoCard_challenge
push dword [ebx + 0x110]
call fcn.0043dc60
mov eax, dword [esi + 0x54]
push str.SSH_CryptoCard_authentication
mov dword [eax], 1
call fcn.00405a10
mov ecx, dword [esi + 0x54]
push dword [ebp - 0xd4]
push 0xa
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x54]
push edi
mov dword [eax + 8], 0
call fcn.0044a330
add esp, 0x18
test eax, eax
je 0x410aea
push 0x49b3f7
call fcn.00405a10
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd4]
push edi
push eax
push 0x49b474
call fcn.004059f0
mov edi, dword [ebp - 0xd0]
jmp 0x410b08
mov eax, dword [ebp - 0xd4]
push edi
push eax
push 0x49b474
call fcn.004059f0
push str.Response:
mov edi, eax
call fcn.00405a10
add esp, 0x10
mov dword [ebp - 0xd8], eax
cmp byte [edi], 0
mov ecx, 0x49b3f7
mov eax, 0x49fef0
cmove eax, ecx
push edi
push eax
push str.Using_CryptoCard_authentication._s_s
call fcn.004059f0
mov ecx, dword [esi + 0x54]
push 0
push dword [ebp - 0xd8]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x54]
mov dword [eax + 0x10], 1
push dword [esi + 0x54]
call fcn.00405370
push edi
call fcn.00406080
add esp, 0x1c
cmp dword [esi + 0x5c], 9
jne 0x410baf
test byte [esi + 0x18], 8
jne 0x410b6c
push str.No_supported_authentication_methods_available
jmp 0x40f1dd
mov eax, dword [esi + 0x54]
push str.SSH_password
mov dword [eax], 1
call fcn.00405a10
mov ecx, dword [esi + 0x54]
add esp, 4
push 0
mov dword [ecx + 4], eax
push dword [ebx + 0xf8]
push dword [ebx + 0x250]
push str._s__ss_password:
call fcn.004059f0
add esp, 0xc
push eax
push dword [esi + 0x54]
call fcn.00405370
add esp, 0xc
push 0
push 0
push dword [esi + 0x54]
call fcn.004430a0
add esp, 0xc
test eax, eax
jns 0x410be5
mov dword [ebx + 0x100], 1
pop edi
mov dword [esi], 0x1335
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
jne 0x410bef
push dword [esi + 0x54]
jmp 0x410997
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x5c]
mov eax, dword [eax + 0x18]
cmp ecx, 9
jne 0x410dea
mov ecx, dword [ebx + 0x50]
test cl, 5
jne 0x410d2c
mov eax, dword [eax]
mov ecx, dword [eax + 8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410c15
sub ecx, edx
mov edx, 0xf
mov eax, ecx
mov dword [ebp - 0xd0], ecx
and eax, 0xfffffff8
mov dword [ebp - 0xd8], eax
cmp ecx, 0x10
jl 0x410c3c
lea edx, [eax + 7]
lea eax, [edx + 1]
mov dword [ebp - 0xdc], edx
push 1
push eax
call fcn.004060a0
mov ecx, dword [ebp - 0xd0]
mov edi, eax
xor eax, eax
mov dword [ebp - 0xe4], edi
add esp, 8
cmp ecx, 0x10
cmovge eax, dword [ebp - 0xd8]
mov dword [ebp - 0xd4], eax
cmp eax, dword [ebp - 0xdc]
jg 0x410d08
nop dword [eax]
cmp eax, ecx
jne 0x410c94
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x5c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x410cda
xor edi, edi
test eax, eax
jle 0x410cc9
mov ebx, dword [ebp - 0xd4]
mov esi, dword [ebp - 0xe4]
call fcn.00431980
mov byte [edi + esi], al
test al, al
je 0x410ca6
inc edi
cmp edi, ebx
jl 0x410ca6
mov esi, dword [ebp - 0xe8]
mov ebx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xd4]
mov edi, dword [ebp - 0xe4]
mov ecx, 0x20
mov byte [eax + edi], 0
mov eax, edi
push 0
push eax
push 4
push ecx
push ebx
call fcn.0040ea90
mov eax, dword [ebp - 0xd4]
add esp, 0x14
mov ecx, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd4], eax
cmp eax, dword [ebp - 0xdc]
jle 0x410c80
push str.Sending_password_with_camouflage_packets
push dword [ebx + 0x110]
call fcn.0043dc60
push ebx
call fcn.0041cbe0
push edi
call fcn.00406080
add esp, 0x10
jmp 0x410dfd
mov edi, dword [eax]
test cl, 4
jne 0x410da6
mov ecx, dword [edi + 8]
mov edi, ecx
lea edx, [edi + 1]
nop dword [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x410d40
sub edi, edx
cmp edi, 0x40
jae 0x410d85
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xd0], eax
mov edx, eax
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x410d60
inc edi
cmp edi, 0x40
jae 0x410d8b
call fcn.00431980
mov byte [ebp + edi - 0x4c], al
inc edi
cmp edi, 0x40
jb 0x410d74
jmp 0x410d8b
mov dword [ebp - 0xd0], ecx
push str.Sending_length_padded_password
push dword [ebx + 0x110]
call fcn.0043dc60
push 0
push edi
push dword [ebp - 0xd0]
jmp 0x410dd7
mov edi, dword [edi + 8]
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x410db0
push str.Sending_unpadded_password
push dword [ebx + 0x110]
sub edi, ecx
call fcn.0043dc60
mov eax, dword [esi + 0x54]
push 0
push edi
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
push dword [eax + 8]
push 3
push edi
push 1
push dword [esi + 0x5c]
push ebx
call fcn.00416c40
add esp, 0x28
jmp 0x410dfd
mov eax, dword [eax]
push 0
push dword [eax + 8]
push 4
push ecx
push ebx
call fcn.00416c40
add esp, 0x14
push str.Sent_password
push dword [ebx + 0x110]
call fcn.0043dc60
push dword [esi + 0x54]
call fcn.00405be0
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
mov dword [esi], 0x13c2
xor ecx, ebp
pop esi
pop ebx
call fcn.00449391
mov esp, ebp
pop ebp
ret