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

Disassembly:
sub esp, 0x1a8
push ebx
push ebp
mov ebp, dword [esp + 0x1b4]
push esi
xor esi, esi
mov dword [esp + 0x10], 0
push edi
mov eax, dword [ebp + 0x1c0]
lea edi, [ebp + 0x4c8]
mov ebx, dword [ebp]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x18], esi
mov ecx, dword [ebx + 0x14c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], esi
mov byte [eax], 0
lea ebx, [ebx]
mov eax, dword [edi + 0x14]
dec eax
cmp eax, 0x3a
ja case.0x46cc5d.16
jmp dword [eax*4 + 0x46fd34]
push 0
push dword [edi + 0xb0]
mov dword [edi + 0x48], 0
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0
call fcn.004a2b90
add esp, 8
mov dword [ebp + 0x4dc], 2
push dword [esp + 0x54]
push dword [edi + 0xb0]
call fcn.004a29d0
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jne 0x46f76a
mov dword [ebp + 0x4dc], 3
push ebp
call fcn.0046c840
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x46e7ff
mov dword [ebp + 0x4dc], 4
jmp 0x46e7ff
mov ecx, dword [ebp + 0x170]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ccf5
sub ecx, edx
push ecx
call fcn.00479470
push eax
push dword [ebp + 0x170]
push dword [edi + 0xb0]
call fcn.004a4e80
add esp, 0x10
mov dword [edi], eax
test eax, eax
jne 0x46cd84
push dword [edi + 0xb0]
call fcn.004a4e00
add esp, 4
test eax, eax
je 0x46cd52
push str.SSH_user_accepted_with_no_authentication_n
push ebx
mov byte [edi + 0x10], 1
call fcn.00477080
add esp, 8
mov dword [ebp + 0x4dc], 0x11
jmp 0x46e7ff
push dword [edi + 0xb0]
call fcn.004a2ac0
add esp, 4
cmp eax, 0xffffffdb
je 0x46f739
push eax
mov dword [ebp + 0x4dc], 0x3a
call fcn.0046c260
add esp, 4
mov dword [edi + 0x1c], eax
jmp 0x46e7ff
push eax
push str.SSH_authentication_methods_available:__s_n
push ebx
call fcn.00477080
add esp, 0xc
mov dword [ebp + 0x4dc], 5
jmp 0x46e7ff
mov byte [edi + 0x10], 0
test byte [ebx + 0x940], 1
je 0x46d0a6
push str.publickey
push dword [edi]
call fcn.004d0ef0
add esp, 8
test eax, eax
je 0x46d0a6
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov eax, dword [ebx + 0xa18]
mov byte [esp + 0x2b], 0
test eax, eax
je 0x46cdf6
push eax
call dword [0x59c9b0]
add esp, 4
jmp 0x46cf29
push str.HOME
call fcn.00487aa0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x46cead
push eax
push str._s_.ssh_id_rsa
call fcn.00485390
add esp, 8
mov dword [edi + 0xc], eax
test eax, eax
je 0x46ce5b
push 4
push eax
call fcn.004c717e
add esp, 8
test eax, eax
je 0x46cea0
push dword [edi + 0xc]
call dword [0x59c9a8]
push dword [esp + 0x24]
mov dword [edi + 0xc], 0
push str._s_.ssh_id_dsa
call fcn.00485390
add esp, 0xc
mov dword [edi + 0xc], eax
test eax, eax
jne 0x46ce72
push dword [esp + 0x20]
mov byte [esp + 0x2f], 1
call dword [0x59c9a8]
add esp, 4
jmp 0x46cf2c
push 4
push eax
call fcn.004c717e
add esp, 8
test eax, eax
je 0x46cea0
push dword [edi + 0xc]
call dword [0x59c9a8]
push dword [esp + 0x24]
mov dword [edi + 0xc], 0
call dword [0x59c9a8]
add esp, 8
jmp 0x46cead
push dword [esp + 0x20]
call dword [0x59c9a8]
add esp, 4
cmp dword [edi + 0xc], 0
jne 0x46cf2c
push str.id_rsa
call dword [0x59c9b0]
add esp, 4
mov dword [edi + 0xc], eax
test eax, eax
je 0x46cf2c
push 4
push eax
call fcn.004c717e
add esp, 8
test eax, eax
je 0x46cf2c
push dword [edi + 0xc]
call dword [0x59c9a8]
push str.id_dsa
mov dword [edi + 0xc], 0
call dword [0x59c9b0]
add esp, 8
mov dword [edi + 0xc], eax
test eax, eax
je 0x46cf2c
push 4
push eax
call fcn.004c717e
add esp, 8
test eax, eax
je 0x46cf2c
push dword [edi + 0xc]
call dword [0x59c9a8]
push 0x4e16c0
mov dword [edi + 0xc], 0
call dword [0x59c9b0]
add esp, 8
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0xa1c]
test eax, eax
je 0x46cf4c
cmp byte [eax], 0
je 0x46cf4c
push eax
call dword [0x59c9b0]
add esp, 4
mov dword [edi + 8], eax
test eax, eax
je 0x46cfa6
cmp byte [esp + 0x2b], 0
jne 0x46cfa6
cmp dword [edi + 0xc], 0
je 0x46cfa6
mov eax, dword [ebx + 0x888]
mov dword [edi + 4], eax
test eax, eax
jne 0x46cf6d
mov dword [edi + 4], 0x4e16c0
mov eax, dword [edi + 8]
test eax, eax
je 0x46cf83
push eax
push str.Using_SSH_public_key_file__s_n
push ebx
call fcn.00477080
add esp, 0xc
push dword [edi + 0xc]
push str.Using_SSH_private_key_file__s_n
push ebx
call fcn.00477080
mov ecx, ebp
mov eax, 6
add esp, 0xc
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
push dword [edi + 0xc]
call dword [0x59c9a8]
push dword [edi + 8]
mov dword [edi + 0xc], 0
call dword [0x59c9a8]
mov dword [edi + 8], 0
add esp, 8
mov dword [ebp + 0x4dc], 0x3a
mov dword [edi + 0x1c], 0x1b
jmp 0x46e7ff
mov ecx, dword [ebp + 0x170]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46cfe8
push dword [edi + 4]
sub ecx, edx
push dword [edi + 0xc]
push dword [edi + 8]
push ecx
call fcn.00479470
add esp, 4
push eax
push dword [ebp + 0x170]
push dword [edi + 0xb0]
call fcn.004a5270
mov esi, eax
add esp, 0x18
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
push dword [edi + 8]
call dword [0x59c9a8]
push dword [edi + 0xc]
mov dword [edi + 8], 0
call dword [0x59c9a8]
add esp, 8
mov dword [edi + 0xc], 0
test esi, esi
jne 0x46d072
push str.Initialized_SSH_public_key_authentication_n
push ebx
mov byte [edi + 0x10], 1
call fcn.00477080
mov ecx, ebp
mov eax, 0x11
add esp, 8
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x20]
push str.SSH_public_key_authentication_failed:__s_n
push ebx
call fcn.00477080
add esp, 0x1c
xor esi, esi
mov dword [esp + 0x18], esi
mov ecx, ebp
mov eax, 7
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
test byte [ebx + 0x940], 2
je 0x46d0e6
push str.password
push dword [edi]
call fcn.004d0ef0
add esp, 8
test eax, eax
je 0x46d0e6
mov ecx, ebp
mov eax, 8
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
mov ecx, ebp
xor esi, esi
mov eax, 0xc
mov dword [esp + 0x18], esi
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
mov ecx, dword [ebp + 0x174]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46d107
mov esi, dword [ebp + 0x170]
sub ecx, edx
lea edx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x46d120
push 0
push ecx
sub esi, edx
call fcn.00479470
add esp, 4
push eax
push dword [ebp + 0x174]
push esi
call fcn.00479470
add esp, 4
push eax
push dword [ebp + 0x170]
push dword [edi + 0xb0]
call fcn.004a5210
mov esi, eax
add esp, 0x18
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jne 0x46d0e6
push str.Initialized_password_authentication_n
push ebx
mov byte [edi + 0x10], 1
call fcn.00477080
mov ecx, ebp
mov eax, 0x11
add esp, 8
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
test byte [ebx + 0x940], 4
je 0x46d1b5
push str.hostbased
push dword [edi]
call fcn.004d0ef0
add esp, 8
test eax, eax
mov eax, 0xd
jne 0x46d1ba
mov eax, 9
mov ecx, ebp
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
mov dword [ebp + 0x4dc], 9
jmp 0x46e7ff
test byte [ebx + 0x940], 0x10
je 0x46d222
push str.publickey
push dword [edi]
call fcn.004d0ef0
add esp, 8
test eax, eax
je 0x46d222
mov eax, dword [edi + 0xc0]
test eax, eax
jne 0x46d231
push dword [edi + 0xb0]
call fcn.004ab0b0
add esp, 4
mov dword [edi + 0xc0], eax
test eax, eax
jne 0x46d231
push str.Could_not_create_agent_object_n
push ebx
call fcn.00477080
add esp, 8
mov dword [ebp + 0x4dc], 0xe
jmp 0x46e7ff
push eax
call fcn.004aaf90
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jns 0x46d271
push str.Failure_connecting_to_agent_n
push ebx
call fcn.00477080
add esp, 8
mov eax, 0xe
xor esi, esi
mov dword [ebp + 0x4dc], eax
mov dword [esp + 0x18], esi
jmp 0x46f72c
mov eax, 0xa
mov dword [ebp + 0x4dc], eax
jmp 0x46f72c
push dword [edi + 0xc0]
call fcn.004ab120
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jns 0x46d2c5
push str.Failure_requesting_identities_to_agent_n
push ebx
call fcn.00477080
add esp, 8
mov dword [ebp + 0x4dc], 0xe
xor esi, esi
mov dword [esp + 0x18], esi
jmp 0x46e7ff
mov dword [ebp + 0x4dc], 0xb
mov dword [edi + 0xc8], 0
jmp 0x46f72c
push dword [edi + 0xc8]
lea eax, [edi + 0xc4]
push eax
push dword [edi + 0xc0]
call fcn.004ab060
mov esi, eax
add esp, 0xc
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jne 0x46d35d
push dword [edi + 0xc4]
push dword [ebp + 0x170]
push dword [edi + 0xc0]
call fcn.004ab150
mov esi, eax
add esp, 0xc
test esi, esi
js 0x46f7bb
mov dword [esp + 0x18], esi
cmp esi, 1
jne 0x46d366
push str.No_identity_would_match_n
push ebx
call fcn.00477080
add esp, 8
xor esi, esi
mov eax, 0xe
mov dword [esp + 0x18], esi
mov dword [ebp + 0x4dc], eax
jmp 0x46e7ff
jns 0x46d330
push str.Failure_requesting_identities_to_agent_n
jmp 0x46d33e
test esi, esi
jne 0x46d347
push str.Agent_based_authentication_successful_n
push ebx
mov byte [edi + 0x10], 1
call fcn.00477080
mov eax, 0x11
add esp, 8
mov dword [ebp + 0x4dc], eax
jmp 0x46e7ff
test byte [ebx + 0x940], 8
je 0x46d3ad
push str.keyboard_interactive
push dword [edi]
call fcn.004d0ef0
add esp, 8
test eax, eax
mov eax, 0xf
jne 0x46d3b2
mov eax, 0x11
mov ecx, ebp
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
mov ecx, dword [ebp + 0x170]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46d3c8
sub ecx, edx
push 0x46c210
push ecx
call fcn.00479470
add esp, 4
push eax
push dword [ebp + 0x170]
push dword [edi + 0xb0]
call fcn.004a4e20
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jne 0x46d419
push str.Initialized_keyboard_interactive_authentication_n
push ebx
mov byte [edi + 0x10], 1
call fcn.00477080
add esp, 8
mov dword [ebp + 0x4dc], 0x11
jmp 0x46f72c
cmp byte [edi + 0x10], 0
jne 0x46d452
push str.Authentication_failure
push ebx
call fcn.00476fc0
mov dword [ebp + 0x4dc], 0x3a
add esp, 8
mov dword [edi + 0x1c], 0x43
jmp 0x46e7ff
push str.Authentication_complete_n
push ebx
call fcn.00477080
push 5
push dword [ebp]
call fcn.00484160
mov eax, dword [esp + 0x64]
add esp, 0x10
mov dword [ebp + 0x30c], eax
mov eax, dword [ebp + 0x2e8]
mov dword [ebp + 0x310], 0xffffffff
cmp dword [eax + 0x40], 0x20
jne 0x46d499
mov dword [ebp + 0x4dc], 0x12
jmp 0x46e7ff
push str.SSH_CONNECT_phase_done_n
push ebx
call fcn.00477080
add esp, 8
mov dword [ebp + 0x4dc], 0
jmp 0x46e7ff
push dword [edi + 0xb0]
call fcn.004ab750
add esp, 4
mov dword [edi + 0xb8], eax
test eax, eax
jne 0x46d525
push dword [edi + 0xb0]
mov dword [esp + 0x14], eax
call fcn.004a2ac0
add esp, 4
cmp eax, 0xffffffdb
je 0x46f739
push 0
push 0
lea eax, [esp + 0x18]
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x20]
push str.Failure_initializing_sftp_session:__s
push ebx
call fcn.00476fc0
mov dword [ebp + 0x4dc], 0x3a
add esp, 0x1c
mov dword [edi + 0x1c], 2
jmp 0x46e7ff
mov dword [ebp + 0x4dc], 0x13
jmp 0x46e7ff
push 2
push 0x103
lea eax, [esp + 0xbc]
push eax
push 1
call fcn.00479470
add esp, 4
push eax
push 0x4e9a24
push dword [edi + 0xb8]
call fcn.004acb80
mov esi, eax
add esp, 0x18
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jg 0x46f7e1
push dword [edi + 0xb8]
call fcn.004ab7d0
push eax
call fcn.00479450
add esp, 8
test eax, eax
je 0x46d5a7
push eax
call fcn.0046c470
mov ecx, eax
mov dword [esp + 0x18], eax
add esp, 4
mov dword [edi + 0x1c], ecx
jmp 0x46f722
mov ecx, 0x4f
mov dword [esp + 0x14], ecx
mov dword [edi + 0x1c], ecx
jmp 0x46f722
push ecx
push dword [edi + 0x30]
push ebp
call fcn.00487e10
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x46d5e1
mov dword [edi + 0x1c], ecx
mov dword [ebp + 0x4dc], 0
jmp 0x46e7ff
cmp dword [ebx + 0x800], 0
je 0x46d613
push str.Sending_quote_commands_n
push ebx
call fcn.00477080
mov eax, dword [ebx + 0x800]
mov ecx, ebp
mov dword [edi + 0x20], eax
add esp, 8
mov eax, 0x16
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
mov ecx, ebp
mov eax, 0x20
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
cmp dword [ebx + 0x804], 0
je 0x46d657
push str.Sending_quote_commands_n
push ebx
call fcn.00477080
mov eax, dword [ebx + 0x804]
mov ecx, ebp
mov dword [edi + 0x20], eax
add esp, 8
mov eax, 0x16
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
mov ecx, ebp
xor eax, eax
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
mov byte [edi + 0x2c], 0
mov dword [esp + 0x1c], eax
cmp byte [eax], 0x2a
jne 0x46d681
inc eax
mov byte [edi + 0x2c], 1
mov dword [esp + 0x1c], eax
push eax
push 0x4ea4c0
call fcn.0047a510
add esp, 8
test eax, eax
je 0x46d77c
mov ecx, dword [esp + 0x24]
push dword [ecx]
push str.257___s__is_current_directory._n
call fcn.00485390
mov edx, eax
add esp, 8
mov dword [esp + 0x10], edx
test edx, edx
jne 0x46d6d2
mov dword [ebp + 0x4dc], 0x2e
mov dword [esp + 0x14], 0x1b
mov dword [edi + 0x18], 0xffffffff
jmp 0x46e7ff
cmp byte [ebx + 0xade], 0
je 0x46d71c
push 4
push str.PWD_n
push 2
push ebx
call fcn.00476f30
mov edx, dword [esp + 0x20]
add esp, 0x10
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46d700
sub ecx, dword [esp + 0x2c]
push ecx
push edx
push 1
push ebx
call fcn.00476f30
mov edx, dword [esp + 0x20]
add esp, 0x10
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46d725
sub ecx, dword [esp + 0x2c]
push ecx
push edx
push 2
push ebp
call fcn.00476f00
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x28], eax
call dword [0x59c9a8]
mov ecx, dword [esp + 0x28]
add esp, 0x14
test ecx, ecx
je 0x46d76d
mov dword [ebp + 0x4dc], 0x2e
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], ecx
jmp 0x46e7ff
mov dword [ebp + 0x4dc], 0x17
jmp 0x46e7ff
push 0x20
push dword [esp + 0x20]
call fcn.004396f0
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x46d7bd
push str.Syntax_error_in_SFTP_command._Supply_parameter_s__
push ebx
call fcn.00476fc0
add esp, 8
mov dword [ebp + 0x4dc], 0x2e
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0x15
jmp 0x46e7ff
push dword [edi + 0x30]
lea eax, [edi + 0x24]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00487c40
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x46d80f
cmp eax, 0x1b
mov eax, str.Out_of_memory
je 0x46d7e8
mov eax, str.Syntax_error:_Bad_first_parameter
push eax
push ebx
call fcn.00476fc0
mov eax, dword [esp + 0x1c]
add esp, 8
mov dword [ebp + 0x4dc], 0x2e
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], eax
jmp 0x46e7ff
push 6
push 0x4ea544
push dword [esp + 0x24]
call fcn.0047a570
add esp, 0xc
test eax, eax
jne 0x46da30
push 6
push 0x4ea54c
push dword [esp + 0x24]
call fcn.0047a570
add esp, 0xc
test eax, eax
jne 0x46da30
push 6
push 0x4ea554
push dword [esp + 0x24]
call fcn.0047a570
add esp, 0xc
test eax, eax
jne 0x46da30
push 3
push 0x4ea594
push dword [esp + 0x24]
call fcn.0047a570
add esp, 0xc
test eax, eax
jne 0x46d9eb
push 8
push str.symlink
push dword [esp + 0x24]
call fcn.0047a570
add esp, 0xc
test eax, eax
jne 0x46d9eb
push 6
push str.mkdir
push dword [esp + 0x24]
call fcn.0047a570
add esp, 0xc
test eax, eax
je 0x46d8bc
mov dword [ebp + 0x4dc], 0x1b
jmp 0x46e7ff
push 7
push str.rename
push dword [esp + 0x24]
call fcn.0047a570
add esp, 0xc
test eax, eax
je 0x46d946
push dword [edi + 0x30]
lea eax, [edi + 0x28]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00487c40
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x46d937
mov eax, str.Out_of_memory
cmp ecx, 0x1b
je 0x46d900
mov eax, str.Syntax_error_in_rename:_Bad_second_parameter
push eax
push ebx
call fcn.00476fc0
push dword [edi + 0x24]
call dword [0x59c9a8]
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [edi + 0x24], 0
mov dword [ebp + 0x4dc], 0x2e
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], eax
jmp 0x46e7ff
mov dword [ebp + 0x4dc], 0x1c
jmp 0x46e7ff
push 6
push str.rmdir
push dword [esp + 0x24]
call fcn.0047a570
add esp, 0xc
test eax, eax
je 0x46d96c
mov dword [ebp + 0x4dc], 0x1d
jmp 0x46e7ff
push 3
push 0x4ea620
push dword [esp + 0x24]
call fcn.0047a570
add esp, 0xc
test eax, eax
je 0x46d992
mov dword [ebp + 0x4dc], 0x1e
jmp 0x46e7ff
push 8
push str.statvfs
push dword [esp + 0x24]
call fcn.0047a570
add esp, 0xc
test eax, eax
je 0x46d9b8
mov dword [ebp + 0x4dc], 0x1f
jmp 0x46e7ff
push str.Unknown_SFTP_command
push ebx
call fcn.00476fc0
push dword [edi + 0x24]
call dword [0x59c9a8]
push dword [edi + 0x28]
mov dword [edi + 0x24], 0
call dword [0x59c9a8]
add esp, 0x10
mov dword [edi + 0x28], 0
jmp 0x46d7a0
push dword [edi + 0x30]
lea eax, [edi + 0x28]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00487c40
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x46da21
mov eax, str.Out_of_memory
cmp ecx, 0x1b
je 0x46d900
mov eax, str.Syntax_error_in_ln_symlink:_Bad_second_parameter
jmp 0x46d900
mov dword [ebp + 0x4dc], 0x1a
jmp 0x46e7ff
push dword [edi + 0x30]
lea eax, [edi + 0x28]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00487c40
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x46da66
mov eax, str.Out_of_memory
cmp ecx, 0x1b
je 0x46d900
mov eax, str.Syntax_error_in_chgrp_chmod_chown:_Bad_second_parameter
jmp 0x46d900
xor eax, eax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], eax
mov dword [ebp + 0x4dc], 0x18
jmp 0x46e7ff
push dword [edi + 0x24]
call dword [0x59c9a8]
push dword [edi + 0x28]
mov dword [edi + 0x24], 0
call dword [0x59c9a8]
mov eax, dword [edi + 0x20]
add esp, 8
mov dword [edi + 0x28], 0
mov eax, dword [eax + 4]
mov dword [edi + 0x20], eax
test eax, eax
je 0x46dada
mov dword [ebp + 0x4dc], 0x16
jmp 0x46e7ff
mov eax, dword [edi + 0x18]
cmp eax, 0xffffffff
je 0x46daf4
mov dword [ebp + 0x4dc], eax
mov dword [edi + 0x18], 0xffffffff
jmp 0x46e7ff
mov dword [ebp + 0x4dc], 0x20
jmp 0x46e7ff
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
mov byte [edi + 0x2c], 0
mov dword [esp + 0x20], eax
cmp byte [eax], 0x2a
jne 0x46db1e
inc eax
mov byte [edi + 0x2c], 1
mov dword [esp + 0x20], eax
push 5
push str.chmod
push eax
call fcn.0047a570
add esp, 0xc
test eax, eax
jne 0x46db7f
mov ecx, dword [edi + 0x28]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46db38
lea eax, [edi + 0x60]
sub ecx, edx
push eax
push 0
push ecx
call fcn.00479470
add esp, 4
push eax
push dword [edi + 0x28]
push dword [edi + 0xb8]
call fcn.004ac530
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
je 0x46db7f
cmp byte [edi + 0x2c], 0
je 0x46f845
push 5
push str.chgrp
push dword [esp + 0x28]
call fcn.0047a570
add esp, 0xc
test eax, eax
je 0x46dc26
push 0xa
push 0
push dword [edi + 0x24]
call fcn.004c5a15
add esp, 0xc
mov dword [edi + 0x74], eax
mov dword [edi + 0x60], 2
test eax, eax
jne 0x46dd07
mov eax, dword [edi + 0x24]
movzx eax, byte [eax]
push eax
call fcn.00487b60
add esp, 4
test eax, eax
jne 0x46dd07
cmp byte [edi + 0x2c], al
jne 0x46dd07
push dword [edi + 0x24]
call dword [0x59c9a8]
push dword [edi + 0x28]
mov dword [edi + 0x24], 0
call dword [0x59c9a8]
push str.Syntax_error:_chgrp_gid_not_a_number
push ebx
mov dword [edi + 0x28], 0
call fcn.00476fc0
mov dword [ebp + 0x4dc], 0x2e
add esp, 0x10
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0x15
jmp 0x46f72c
push 5
push str.chmod
push dword [esp + 0x28]
call fcn.0047a570
add esp, 0xc
test eax, eax
je 0x46dc98
push 8
push 0
push dword [edi + 0x24]
call fcn.004c5a15
add esp, 0xc
mov dword [edi + 0x78], eax
mov dword [edi + 0x60], 4
test eax, eax
jne 0x46dd07
mov eax, dword [edi + 0x24]
movzx eax, byte [eax]
push eax
call fcn.00487b60
add esp, 4
test eax, eax
jne 0x46dd07
push dword [edi + 0x24]
call dword [0x59c9a8]
push dword [edi + 0x28]
mov dword [edi + 0x24], 0
call dword [0x59c9a8]
push str.Syntax_error:_chmod_permissions_not_a_number
jmp 0x46dbf9
push 5
push str.chown
push dword [esp + 0x28]
call fcn.0047a570
add esp, 0xc
test eax, eax
je 0x46dd07
push 0xa
push 0
push dword [edi + 0x24]
call fcn.004c5a15
add esp, 0xc
mov dword [edi + 0x70], eax
mov dword [edi + 0x60], 2
test eax, eax
jne 0x46dd07
mov eax, dword [edi + 0x24]
movzx eax, byte [eax]
push eax
call fcn.00487b60
add esp, 4
test eax, eax
jne 0x46dd07
cmp byte [edi + 0x2c], al
jne 0x46dd07
push dword [edi + 0x24]
call dword [0x59c9a8]
push dword [edi + 0x28]
mov dword [edi + 0x24], 0
call dword [0x59c9a8]
push str.Syntax_error:_chown_uid_not_a_number
jmp 0x46dbf9
mov dword [ebp + 0x4dc], 0x19
jmp 0x46f72c
mov ecx, dword [edi + 0x28]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46dd20
lea eax, [edi + 0x60]
sub ecx, edx
push eax
push 2
push ecx
call fcn.00479470
add esp, 4
push eax
push dword [edi + 0x28]
push dword [edi + 0xb8]
call fcn.004ac530
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
je 0x46dd67
cmp byte [edi + 0x2c], 0
je 0x46f8b6
mov dword [ebp + 0x4dc], 0x17
jmp 0x46f72c
mov ecx, dword [edi + 0x28]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46dd80
mov esi, dword [edi + 0x24]
sub ecx, edx
lea edx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x46dd90
push 0
push ecx
sub esi, edx
call fcn.00479470
add esp, 4
push eax
push dword [edi + 0x28]
push esi
call fcn.00479470
add esp, 4
push eax
push dword [edi + 0x24]
push dword [edi + 0xb8]
call fcn.004acb80
mov esi, eax
add esp, 0x18
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
je 0x46dd67
cmp byte [edi + 0x2c], 0
je 0x46f8f7
mov dword [ebp + 0x4dc], 0x17
jmp 0x46f72c
mov ecx, dword [edi + 0x24]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ddf5
push dword [ebx + 0x93c]
sub ecx, edx
push ecx
call fcn.00479470
add esp, 4
push eax
push dword [edi + 0x24]
push dword [edi + 0xb8]
call fcn.004ab7f0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
je 0x46dd67
cmp byte [edi + 0x2c], 0
je 0x46f93b
mov dword [ebp + 0x4dc], 0x17
jmp 0x46f72c
mov ecx, dword [edi + 0x28]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46de55
mov esi, dword [edi + 0x24]
sub ecx, edx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x46de64
push 7
push ecx
sub esi, edx
call fcn.00479470
add esp, 4
push eax
push dword [edi + 0x28]
push esi
call fcn.00479470
add esp, 4
push eax
push dword [edi + 0x24]
push dword [edi + 0xb8]
call fcn.004abc50
mov esi, eax
add esp, 0x18
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
je 0x46dd67
cmp byte [edi + 0x2c], 0
je 0x46f978
mov dword [ebp + 0x4dc], 0x17
jmp 0x46f72c
mov ecx, dword [edi + 0x24]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ded0
sub ecx, edx
push ecx
call fcn.00479470
push eax
push dword [edi + 0x24]
push dword [edi + 0xb8]
call fcn.004abf70
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
je 0x46dd67
cmp byte [edi + 0x2c], 0
je 0x46f9bc
mov dword [ebp + 0x4dc], 0x17
jmp 0x46f72c
mov ecx, dword [edi + 0x24]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46df27
sub ecx, edx
push ecx
call fcn.00479470
push eax
push dword [edi + 0x24]
push dword [edi + 0xb8]
call fcn.004acee0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
je 0x46dd67
cmp byte [edi + 0x2c], 0
je 0x46f9f9
mov dword [ebp + 0x4dc], 0x17
jmp 0x46f72c
mov ecx, dword [edi + 0x24]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46df80
lea eax, [esp + 0x58]
sub ecx, edx
push eax
push ecx
call fcn.00479470
add esp, 4
push eax
push dword [edi + 0x24]
push dword [edi + 0xb8]
call fcn.004ac830
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
je 0x46e003
cmp byte [edi + 0x2c], 0
jne 0x46e0f9
push dword [edi + 0xb8]
call fcn.004ab7d0
push eax
call fcn.00479450
push dword [edi + 0x24]
mov esi, eax
call dword [0x59c9a8]
push esi
mov dword [edi + 0x24], 0
call fcn.0046c4e0
push eax
push str.statvfs_command_failed:__s
push ebx
call fcn.00476fc0
add esp, 0x1c
jmp 0x46f88d
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push dword [esp + 0xac]
push str.statvfs:_nf_bsize:__llu_nf_frsize:__llu_nf_blocks:__llu_nf_bfree:__llu_nf_bavail:__llu_nf_files:__llu_nf_ffree:__llu_nf_favail:__llu_nf_fsid:__llu_nf_flag:__llu_nf_namemax:__llu_n
call fcn.00485390
mov edx, eax
add esp, 0x5c
mov dword [esp + 0x2c], edx
test edx, edx
je 0x46d6b4
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e0c1
sub ecx, dword [esp + 0x10]
push ecx
push edx
push 2
push ebp
call fcn.00476f00
push dword [esp + 0x3c]
mov dword [esp + 0x28], eax
call dword [0x59c9a8]
mov ecx, dword [esp + 0x28]
add esp, 0x14
test ecx, ecx
je 0x46e0f9
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], ecx
mov dword [ebp + 0x4dc], 0x17
jmp 0x46f72c
xor ecx, ecx
cmp byte [ebx + 0xac9], cl
sete cl
add ecx, 0x21
mov dword [ebp + 0x4dc], ecx
jmp 0x46e7ff
mov ecx, dword [ecx]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e126
lea eax, [esp + 0x58]
sub ecx, edx
push eax
push 0
push ecx
call fcn.00479470
mov ecx, dword [esp + 0x30]
add esp, 4
push eax
push dword [ecx]
push dword [edi + 0xb8]
call fcn.004ac530
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jne 0x46e177
mov eax, dword [esp + 0x78]
mov dword [ebx + 0x1050], eax
mov dword [ebx + 0x1054], esi
mov dword [ebp + 0x4dc], 0x22
jmp 0x46f72c
cmp byte [ebx + 0xadd], 0
je 0x46e19e
mov dword [ebp + 0x4dc], 0x23
jmp 0x46e7ff
mov edx, dword [ecx]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e1b0
sub ecx, dword [esp + 0x10]
xor eax, eax
cmp byte [edx + ecx - 1], 0x2f
setne al
dec eax
and eax, 0xfffffffb
add eax, 0x2c
mov dword [ebp + 0x4dc], eax
jmp 0x46e7ff
mov esi, dword [ebx + 0xfa0]
mov edx, esi
mov ecx, dword [ebx + 0xfa4]
mov eax, esi
or eax, ecx
je 0x46e28d
mov eax, ecx
test eax, eax
jg 0x46e28d
jl 0x46e203
test esi, esi
jae 0x46e28d
mov esi, dword [esp + 0x24]
mov ecx, dword [esi]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e210
lea eax, [esp + 0x58]
sub ecx, edx
push eax
push 0
push ecx
call fcn.00479470
add esp, 4
push eax
push dword [esi]
push dword [edi + 0xb8]
call fcn.004ac530
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
je 0x46e267
xor edx, edx
mov dword [ebx + 0xfa0], 0
mov dword [ebx + 0xfa4], 0
xor ecx, ecx
jmp 0x46e28d
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
test ecx, ecx
jl 0x46fa36
jg 0x46e281
test edx, edx
jb 0x46fa36
mov dword [ebx + 0xfa0], edx
mov dword [ebx + 0xfa4], ecx
cmp byte [ebx + 0xacc], 0
je 0x46e29d
mov edx, 0xe
jmp 0x46e2b3
test ecx, ecx
jl 0x46e2ae
jg 0x46e2a7
test edx, edx
je 0x46e2ae
mov edx, 6
jmp 0x46e2b3
mov edx, 0x1a
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e2c0
push 0
push dword [ebx + 0x938]
sub ecx, esi
push edx
push ecx
call fcn.00479470
add esp, 4
push eax
mov eax, dword [esp + 0x34]
push dword [eax]
push dword [edi + 0xb8]
call fcn.004abae0
add esp, 0x18
mov dword [edi + 0xbc], eax
test eax, eax
jne 0x46e3ff
push dword [edi + 0xb0]
call fcn.004a2ac0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
cmp esi, 0xffffffe1
jne 0x46e338
push dword [edi + 0xb8]
call fcn.004ab7d0
push eax
call fcn.00479450
add esp, 8
mov edx, eax
jmp 0x46e33b
or edx, 0xffffffff
cmp dword [edi + 0x48], 0
je 0x46e36e
push edx
mov dword [ebp + 0x4dc], 0x2e
call fcn.0046c470
push edx
mov dword [edi + 0x1c], eax
call fcn.0046c4e0
push eax
push str.Creating_the_dir_file_failed:__s
push ebx
call fcn.00476fc0
add esp, 0x14
jmp 0x46f72c
cmp edx, 2
je 0x46e37d
cmp edx, 4
je 0x46e37d
cmp edx, 0xa
jne 0x46e3bf
cmp dword [ebx + 0x924], 0
je 0x46e3bf
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e393
sub ecx, dword [esp + 0x10]
cmp ecx, 1
jbe 0x46e3bf
xor esi, esi
mov dword [edi + 0x48], 1
mov dword [esp + 0x18], esi
mov dword [ebp + 0x4dc], 0x24
jmp 0x46e7ff
push edx
mov dword [ebp + 0x4dc], 0x2e
call fcn.0046c470
add esp, 4
mov dword [edi + 0x1c], eax
test eax, eax
jne 0x46e3e3
mov dword [edi + 0x1c], 0x4f
or edx, 0xffffffff
push edx
call fcn.0046c4e0
push esi
push edx
push eax
push str.Upload_failed:__s___d__d_
push ebx
call fcn.00476fc0
add esp, 0x18
jmp 0x46f72c
cmp dword [ebx + 0xfa4], 0
jl 0x46e591
jg 0x46e41b
cmp dword [ebx + 0xfa0], 0
jbe 0x46e591
cmp dword [ebp + 0x380], 0
je 0x46e45b
push 1
push ebx
call fcn.004656d0
mov eax, dword [ebp + 0x380]
push 0
push dword [ebx + 0xfa4]
push dword [ebx + 0xfa0]
push dword [ebp + 0x384]
call eax
mov esi, eax
push 0
push ebx
mov dword [esp + 0x54], esi
call fcn.004656d0
add esp, 0x20
jmp 0x46e45f
mov esi, dword [esp + 0x34]
test esi, esi
je 0x46e532
xor eax, eax
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
cmp esi, 2
jne 0x46fa74
lea esp, [esp]
mov ecx, dword [ebx + 0xfa0]
mov esi, dword [ebx + 0x8fc]
sub ecx, eax
mov eax, dword [ebx + 0xfa4]
sbb eax, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], eax
mov eax, esi
cdq
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
cmp eax, edx
jl 0x46e4b5
jg 0x46e4c5
cmp ecx, dword [esp + 0x1c]
ja 0x46e4c5
push eax
push ecx
call fcn.00479470
add esp, 8
mov dword [esp + 0x20], eax
mov esi, eax
push 1
push ebx
call fcn.004656d0
push dword [ebx + 0xfc8]
mov eax, dword [ebx + 0xfc4]
push esi
push 1
push dword [ebx + 0xcc4]
call eax
push 0
push ebx
mov esi, eax
call fcn.004656d0
mov eax, dword [esp + 0x30]
add esp, 0x20
mov edx, dword [esp + 0x2c]
add eax, esi
mov dword [esp + 0x10], eax
adc edx, 0
mov dword [esp + 0x2c], edx
test esi, esi
je 0x46fa56
cmp esi, dword [esp + 0x20]
ja 0x46fa56
cmp edx, dword [ebx + 0xfa4]
jl 0x46e480
jg 0x46e532
cmp eax, dword [ebx + 0xfa0]
jb 0x46e480
mov ecx, dword [ebx + 0xfbc]
mov eax, dword [ebx + 0xfb8]
test ecx, ecx
jl 0x46e577
jg 0x46e548
test eax, eax
je 0x46e577
sub eax, dword [ebx + 0xfa0]
mov dword [ebx + 0xfb8], eax
sbb ecx, dword [ebx + 0xfa4]
push ecx
push eax
push ebx
mov dword [ebx + 0xfbc], ecx
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], ecx
call fcn.00483ee0
add esp, 0xc
push dword [ebx + 0xfa4]
push dword [ebx + 0xfa0]
push dword [edi + 0xbc]
call fcn.004ac210
add esp, 0xc
mov ecx, dword [ebx + 0xfbc]
mov eax, dword [ebx + 0xfb8]
test ecx, ecx
jl 0x46e5be
jg 0x46e5a7
test eax, eax
je 0x46e5be
push ecx
push eax
push ebx
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], ecx
call fcn.00483ee0
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.0047c940
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov eax, dword [ebp + 0x310]
mov dword [ebp + 0x30c], eax
test ecx, ecx
je 0x46e5fb
mov esi, dword [esp + 0x18]
mov dword [ebp + 0x4dc], 0x2e
mov dword [edi + 0x1c], ecx
jmp 0x46f72c
mov eax, dword [ebx + 0x138]
push 7
push 0
push 0
mov dword [edi + 0x50], eax
push ebx
mov dword [ebp + 0x598], 2
call fcn.00464cd0
mov esi, dword [esp + 0x28]
add esp, 0x10
jmp 0x46f722
mov edx, dword [ecx]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e631
sub ecx, dword [esp + 0x10]
cmp ecx, 1
mov ecx, ebp
jbe 0x46e659
lea eax, [edx + 1]
mov dword [edi + 0x4c], eax
mov eax, 0x25
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
mov eax, 0x23
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
push 0x2f
push dword [edi + 0x4c]
call fcn.004396f0
add esp, 8
mov dword [edi + 0x4c], eax
test eax, eax
je 0x46e18f
mov byte [eax], 0
mov eax, dword [esp + 0x24]
push dword [eax]
push str.Creating_directory__s_n
push ebx
call fcn.00477080
add esp, 0xc
mov dword [ebp + 0x4dc], 0x26
jmp 0x46e7ff
mov ecx, dword [ecx]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e6b0
push dword [ebx + 0x93c]
sub ecx, edx
push ecx
call fcn.00479470
add esp, 4
push eax
mov eax, dword [esp + 0x2c]
push dword [eax]
push dword [edi + 0xb8]
call fcn.004ab7f0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
mov eax, dword [edi + 0x4c]
mov byte [eax], 0x2f
inc dword [edi + 0x4c]
test esi, esi
jns 0x46e726
push dword [edi + 0xb8]
call fcn.004ab7d0
push eax
call fcn.00479450
add esp, 8
cmp eax, 0xb
je 0x46e720
cmp eax, 4
je 0x46e720
cmp eax, 3
jne 0x46fa92
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [ebp + 0x4dc], 0x25
jmp 0x46f72c
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.00483e70
add esp, 0xc
cmp byte [ebx + 0xadc], 0
je 0x46e75a
mov dword [ebp + 0x4dc], 0
jmp 0x46e7ff
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e763
push 1
push 0
sub ecx, edx
push 0
push ecx
call fcn.00479470
add esp, 4
push eax
mov eax, dword [esp + 0x34]
push dword [eax]
push dword [edi + 0xb8]
call fcn.004abae0
add esp, 0x18
mov dword [edi + 0xbc], eax
test eax, eax
jne 0x46e812
push dword [edi + 0xb0]
call fcn.004a2ac0
add esp, 4
cmp eax, 0xffffffdb
je 0x46f739
push dword [edi + 0xb8]
call fcn.004ab7d0
push eax
call fcn.00479450
mov esi, eax
push esi
call fcn.0046c4e0
push eax
push str.Could_not_open_directory_for_reading:__s
push ebx
call fcn.00476fc0
push esi
mov dword [ebp + 0x4dc], 0x2e
call fcn.0046c470
mov ecx, eax
add esp, 0x1c
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x46e7f8
mov eax, 0x4f
mov dword [edi + 0x1c], eax
mov esi, dword [esp + 0x18]
cmp dword [edi + 0x14], 0
je 0x46f743
mov ecx, dword [esp + 0x24]
jmp 0x46cc50
push 0x105
call dword [0x59c9a4]
add esp, 4
mov dword [edi + 0x54], eax
test eax, eax
jne 0x46e83a
mov dword [ebp + 0x4dc], 0x2e
mov dword [edi + 0x1c], 0x1b
jmp 0x46e7ff
push 0x105
call dword [0x59c9a4]
add esp, 4
mov dword [edi + 0x58], eax
test eax, eax
jne 0x46e864
push dword [edi + 0x54]
call dword [0x59c9a8]
add esp, 4
mov dword [edi + 0x54], 0
jmp 0x46e827
mov dword [ebp + 0x4dc], 0x28
jmp 0x46e7ff
lea eax, [edi + 0x88]
push eax
push 0x104
push dword [edi + 0x58]
push 0x104
push dword [edi + 0x54]
push dword [edi + 0xbc]
call fcn.004abbd0
mov esi, eax
add esp, 0x18
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jg 0x46fb5c
jne 0x46fac6
push dword [edi + 0x54]
call dword [0x59c9a8]
push dword [edi + 0x58]
mov dword [edi + 0x54], 0
call dword [0x59c9a8]
mov dword [edi + 0x58], 0
add esp, 8
mov dword [ebp + 0x4dc], 0x2b
jmp 0x46e7ff
mov ecx, dword [edi + 0x44]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e8f0
push 1
push 0x104
push dword [edi + 0x54]
sub ecx, edx
push ecx
call fcn.00479470
add esp, 4
push eax
push dword [edi + 0x44]
push dword [edi + 0xb8]
call fcn.004acb80
mov esi, eax
add esp, 0x18
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
push dword [edi + 0x44]
mov dword [edi + 0x34], esi
call dword [0x59c9a8]
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x38]
add ecx, 4
add eax, ecx
mov dword [edi + 0x44], 0
push eax
push dword [edi + 0x40]
mov dword [edi + 0x38], eax
call fcn.00464ad0
add esp, 0xc
mov edx, eax
push dword [edi + 0x54]
test edx, edx
jne 0x46e99c
mov dword [edi + 0x40], eax
call dword [0x59c9a8]
push dword [edi + 0x58]
mov dword [edi + 0x54], 0
call dword [0x59c9a8]
mov dword [edi + 0x58], 0
add esp, 8
mov dword [ebp + 0x4dc], 0x2e
mov dword [edi + 0x1c], 0x1b
jmp 0x46f72c
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x38]
sub eax, ecx
mov dword [edi + 0x40], edx
push str._____s
push eax
lea eax, [ecx + edx]
push eax
call fcn.00485440
add esp, 0x10
add dword [edi + 0x3c], eax
mov dword [ebp + 0x4dc], 0x2a
jmp 0x46f72c
mov eax, dword [edi + 0x38]
sub eax, dword [edi + 0x3c]
push 0x4ea990
push eax
mov eax, dword [edi + 0x40]
add eax, dword [edi + 0x3c]
push eax
call fcn.00485440
add dword [edi + 0x3c], eax
push dword [edi + 0x3c]
push dword [edi + 0x40]
push 1
push ebp
call fcn.00476f00
add esp, 0x1c
mov dword [esp + 0x14], eax
test eax, eax
jne 0x46ea4b
cmp byte [ebx + 0xade], al
je 0x46ea18
push dword [edi + 0x3c]
push dword [edi + 0x40]
push 4
push ebx
call fcn.00476f30
add esp, 0x10
mov eax, dword [edi + 0x3c]
add dword [ebx + 0x98], eax
adc dword [ebx + 0x9c], 0
push dword [edi + 0x40]
call dword [0x59c9a8]
mov eax, 0x28
mov dword [edi + 0x40], 0
add esp, 4
mov dword [ebp + 0x4dc], eax
jmp 0x46e7ff
push dword [edi + 0x40]
call dword [0x59c9a8]
add esp, 4
xor eax, eax
mov dword [edi + 0x40], eax
mov dword [ebp + 0x4dc], eax
jmp 0x46e7ff
push dword [edi + 0xbc]
call fcn.004ab380
add esp, 4
cmp eax, 0xffffffdb
je 0x46f739
push dword [edi + 0x54]
mov dword [edi + 0xbc], 0
call dword [0x59c9a8]
push dword [edi + 0x58]
mov dword [edi + 0x54], 0
call dword [0x59c9a8]
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
mov dword [edi + 0x58], 0
call fcn.0047c940
add esp, 0x20
mov dword [ebp + 0x4dc], 0
jmp 0x46e7ff
mov ecx, dword [ecx]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ead0
push 0
push dword [ebx + 0x938]
sub ecx, edx
push 1
push ecx
call fcn.00479470
add esp, 4
push eax
mov eax, dword [esp + 0x34]
push dword [eax]
push dword [edi + 0xb8]
call fcn.004abae0
add esp, 0x18
mov dword [edi + 0xbc], eax
test eax, eax
jne 0x46eb46
push dword [edi + 0xb0]
call fcn.004a2ac0
add esp, 4
cmp eax, 0xffffffdb
je 0x46f739
push dword [edi + 0xb8]
call fcn.004ab7d0
push eax
call fcn.00479450
mov esi, eax
push esi
call fcn.0046c4e0
push eax
push str.Could_not_open_remote_file_for_reading:__s
jmp 0x46e7d0
mov dword [ebp + 0x4dc], 0x2d
jmp 0x46e7ff
mov ecx, dword [ecx]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46eb60
lea eax, [esp + 0x58]
sub ecx, edx
push eax
push 0
push ecx
call fcn.00479470
add esp, 4
push eax
mov eax, dword [esp + 0x30]
push dword [eax]
push dword [edi + 0xb8]
call fcn.004ac530
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jne 0x46ed6f
test byte [esp + 0x58], 1
je 0x46ed6f
mov edx, dword [esp + 0x60]
mov eax, edx
mov ecx, dword [esp + 0x64]
or eax, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
je 0x46ed6f
test ecx, ecx
jl 0x46fa36
jg 0x46ebdc
test edx, edx
jb 0x46fa36
mov eax, dword [ebp]
cmp byte [eax + 0x100d], 0
je 0x46ed74
lea ecx, [esp + 0x4c]
push ecx
push 0
lea ecx, [esp + 0x44]
push ecx
push dword [eax + 0xf98]
call fcn.00486800
add esp, 0x10
mov dword [esp + 0x40], eax
cmp eax, 1
je 0x46fd1a
mov ecx, dword [esp + 0x3c]
mov dl, byte [ecx]
test dl, dl
je 0x46ec44
lea ecx, [ecx]
movzx eax, dl
push eax
call fcn.00487be0
mov ecx, dword [esp + 0x40]
add esp, 4
test eax, eax
jne 0x46ec39
cmp byte [ecx], 0x2d
jne 0x46ec44
inc ecx
mov dword [esp + 0x3c], ecx
mov dl, byte [ecx]
test dl, dl
jne 0x46ec20
lea eax, [esp + 0x44]
push eax
push 0
lea eax, [esp + 0xb8]
push eax
push ecx
call fcn.00486800
add esp, 0x10
cmp eax, 1
je 0x46fd1a
mov ecx, dword [esp + 0x20]
cmp eax, 2
je 0x46ec9c
mov eax, dword [esp + 0x48]
cmp eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
jg 0x46eca0
mov edx, dword [esp + 0x44]
jl 0x46ec88
cmp edx, eax
jae 0x46eca0
mov dword [esp + 0x2c], eax
sub dword [esp + 0x2c], 1
mov dword [esp + 0x10], ecx
sbb dword [esp + 0x10], 0
jmp 0x46ecc2
mov eax, dword [esp + 0x1c]
mov edx, eax
mov eax, ecx
sub edx, 1
mov dword [esp + 0x44], edx
sbb eax, 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x40], 0
je 0x46ecf3
mov edi, dword [esp + 0x10]
sub eax, edx
mov edx, dword [esp + 0x2c]
sbb ecx, dword [esp + 0x30]
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], edi
lea edi, [ebp + 0x4c8]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], edx
jmp 0x46ecfb
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x20]
jg 0x46fcf2
jl 0x46ed11
cmp eax, dword [esp + 0x1c]
ja 0x46fcf2
cmp ecx, dword [esp + 0x30]
jl 0x46ed3d
jg 0x46ed1d
cmp eax, edx
jbe 0x46ed3d
mov ecx, dword [esp + 0x30]
mov eax, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
jmp 0x46ed55
sub edx, eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x30]
sbb edx, ecx
add dword [esp + 0x1c], 1
adc edx, 0
mov dword [esp + 0x20], edx
push ecx
push eax
push dword [ebp + 0x584]
call fcn.004ac210
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x1c]
jmp 0x46ed74
or edx, 0xffffffff
or ecx, edx
push ecx
mov dword [ebx + 0x88], edx
mov dword [ebx + 0x8c], ecx
push edx
mov dword [ebx + 0x90], edx
push ebx
mov dword [ebx + 0x94], ecx
call fcn.00483e70
mov ecx, dword [ebx + 0xfa0]
add esp, 0xc
mov edx, dword [ebx + 0xfa4]
mov eax, ecx
or eax, edx
je 0x46ee60
test edx, edx
jg 0x46ee00
jl 0x46edb7
test ecx, ecx
jae 0x46ee00
mov edi, dword [esp + 0x64]
mov eax, ecx
neg eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x40], eax
mov eax, edx
adc eax, 0
neg eax
cmp edi, eax
mov eax, dword [esp + 0x60]
lea edi, [ebp + 0x4c8]
jl 0x46fd2a
jg 0x46edec
cmp eax, dword [esp + 0x40]
jb 0x46fd2a
add ecx, eax
mov dword [ebx + 0xfa0], ecx
adc edx, dword [esp + 0x20]
mov dword [ebx + 0xfa4], edx
jmp 0x46ee1e
mov eax, dword [esp + 0x64]
cmp eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
jl 0x46fd2a
jg 0x46ee1e
cmp eax, ecx
jb 0x46fd2a
sub eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x88], eax
sbb ecx, edx
mov dword [ebx + 0x90], eax
push ecx
push eax
push ebx
mov dword [ebx + 0x8c], ecx
mov dword [ebx + 0x94], ecx
call fcn.00483e70
push dword [ebx + 0xfa4]
push dword [ebx + 0xfa0]
push dword [edi + 0xbc]
call fcn.004ac210
add esp, 0x18
mov edx, dword [ebx + 0x88]
mov eax, edx
mov ecx, dword [ebx + 0x8c]
or eax, ecx
push 0xffffffffffffffff
push 0
jne 0x46ee95
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.0047c940
push str.File_already_completely_downloaded_n
push ebx
call fcn.00477080
add esp, 0x20
jmp 0x46f722
push ecx
push edx
push 0
push ebx
call fcn.0047c940
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov eax, dword [ebp + 0x30c]
mov dword [ebp + 0x310], eax
mov dword [ebp + 0x598], 1
test ecx, ecx
je 0x46f722
mov dword [ebp + 0x4dc], 0x2e
mov dword [edi + 0x1c], ecx
jmp 0x46f72c
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x46ef39
push eax
call fcn.004ab380
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jns 0x46ef2b
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x20]
push esi
push str.Failed_to_close_libssh2_file:__d__s_n
push ebx
call fcn.00477080
add esp, 0x20
mov ecx, dword [esp + 0x24]
mov dword [edi + 0xbc], 0
push dword [ecx]
call dword [0x59c9a8]
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [eax], 0
mov eax, dword [edi + 0x18]
cmp eax, 0xffffffff
je 0x46f463
cmp eax, 0x2e
je 0x46f463
mov dword [ebp + 0x4dc], eax
mov dword [edi + 0x18], 0x2e
jmp 0x46f72c
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x46efd4
push eax
call fcn.004ab380
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jns 0x46efca
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x20]
push esi
push str.Failed_to_close_libssh2_file:__d__s_n
push ebx
call fcn.00477080
add esp, 0x20
mov dword [edi + 0xbc], 0
mov eax, dword [edi + 0xb8]
test eax, eax
je 0x46f012
push eax
call fcn.004ac2b0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jns 0x46f008
push str.Failed_to_stop_libssh2_sftp_subsystem_n
push ebx
call fcn.00477080
add esp, 8
mov dword [edi + 0xb8], 0
push dword [edi + 0x30]
call dword [0x59c9a8]
mov dword [edi + 0x30], 0
add esp, 4
mov eax, dword [ebp]
mov dword [eax + 0xf90], 0
mov dword [ebp + 0x4dc], 0x39
jmp 0x46f72c
push ecx
push dword [edi + 0x30]
push ebp
call fcn.00487e10
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x46f06a
mov dword [edi + 0x1c], ecx
mov dword [ebp + 0x4dc], 0
jmp 0x46e7ff
cmp byte [ebx + 0xadd], 0
je 0x46f0bd
cmp dword [ebx + 0xfbc], 0
jg 0x46f0ab
jl 0x46f087
cmp dword [ebx + 0xfb8], 0
jae 0x46f0ab
push str.SCP_requires_a_known_file_size_for_upload
push ebx
call fcn.00476fc0
mov dword [edi + 0x1c], 0x19
add esp, 8
mov dword [ebp + 0x4dc], 0x38
jmp 0x46e7ff
mov ecx, ebp
mov eax, 0x31
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
mov ecx, ebp
mov eax, 0x32
mov dword [ecx + 0x4dc], eax
jmp 0x46e7ff
push 0
push 0
push 0
push 0
push dword [ebx + 0xfbc]
push dword [ebx + 0xfb8]
push dword [ebx + 0x938]
push dword [ecx]
push dword [edi + 0xb0]
call fcn.004a7c10
add esp, 0x24
mov dword [edi + 0xb4], eax
test eax, eax
jne 0x46f175
push dword [edi + 0xb0]
mov dword [esp + 0x14], eax
call fcn.004a2ac0
add esp, 4
cmp eax, 0xffffffdb
je 0x46f739
push 0
push 0
lea eax, [esp + 0x18]
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x20]
mov esi, eax
push 0x4eaa8c
push dword [ebp]
call fcn.00476fc0
push esi
mov dword [ebp + 0x4dc], 0x38
call fcn.0046c260
add esp, 0x20
mov dword [edi + 0x1c], eax
cmp eax, 0x4f
je 0x46f169
cmp eax, 0x4e
jne 0x46e7fb
mov dword [edi + 0x1c], 0x19
jmp 0x46e7fb
push 0
push 0
push dword [ebx + 0x8c]
push dword [ebx + 0x88]
push 0xffffffffffffffff
push ebx
call fcn.0047c940
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov eax, dword [ebp + 0x310]
mov dword [ebp + 0x30c], eax
test ecx, ecx
je 0x46f1b6
mov dword [ebp + 0x4dc], 0x38
mov dword [edi + 0x1c], ecx
jmp 0x46e7ff
mov eax, dword [ebx + 0x138]
mov dword [edi + 0x50], eax
mov dword [ebp + 0x598], 2
mov dword [ebp + 0x4dc], 0
jmp 0x46e7ff
push 0x38
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.00436fb0
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x34]
push dword [eax]
push dword [edi + 0xb0]
call fcn.004a7ba0
add esp, 0x18
mov dword [edi + 0xb4], eax
test eax, eax
jne 0x46f263
push dword [edi + 0xb0]
mov dword [esp + 0x14], eax
call fcn.004a2ac0
add esp, 4
cmp eax, 0xffffffdb
je 0x46f739
push 0
push 0
lea eax, [esp + 0x18]
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x20]
mov esi, eax
push 0x4eaa8c
push dword [ebp]
call fcn.00476fc0
push esi
mov dword [ebp + 0x4dc], 0x38
call fcn.0046c260
add esp, 0x20
jmp 0x46e7f8
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
push 0xffffffffffffffff
push 0
push eax
push ecx
push 0
push ebx
mov dword [ebx + 0x90], ecx
mov dword [ebx + 0x94], eax
call fcn.0047c940
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov eax, dword [ebp + 0x30c]
mov dword [ebp + 0x310], eax
mov dword [ebp + 0x598], 1
test ecx, ecx
je 0x46d4a7
mov dword [ebp + 0x4dc], 0x38
mov dword [edi + 0x1c], ecx
jmp 0x46e7ff
movzx eax, byte [ebx + 0xadd]
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 0x38
mov dword [ebp + 0x4dc], eax
jmp 0x46e7ff
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x46f32d
push eax
call fcn.004a7670
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
je 0x46f32d
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x20]
push esi
push str.Failed_to_send_libssh2_channel_EOF:__d__s_n
push ebx
call fcn.00477080
add esp, 0x20
mov dword [ebp + 0x4dc], 0x36
jmp 0x46f72c
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x46f391
push eax
call fcn.004a7800
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
je 0x46f391
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x20]
push esi
push str.Failed_to_get_channel_EOF:__d__s_n
push ebx
call fcn.00477080
add esp, 0x20
mov dword [ebp + 0x4dc], 0x37
jmp 0x46f72c
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x46f3f5
push eax
call fcn.004a7750
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
je 0x46f3f5
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x20]
push esi
push str.Channel_failed_to_close:__d__s_n
push ebx
call fcn.00477080
add esp, 0x20
mov dword [ebp + 0x4dc], 0x38
jmp 0x46f72c
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x46f463
push eax
call fcn.004a7380
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jns 0x46f459
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x20]
push esi
push str.Failed_to_free_libssh2_scp_subsystem:__d__s_n
push ebx
call fcn.00477080
add esp, 0x20
mov dword [edi + 0xb4], 0
mov dword [ebp + 0x4dc], 0
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x14], eax
jmp 0x46f72c
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x46f4d8
push eax
call fcn.004a7380
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jns 0x46f4ce
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x20]
push esi
push str.Failed_to_free_libssh2_scp_subsystem:__d__s_n
push ebx
call fcn.00477080
add esp, 0x20
mov dword [edi + 0xb4], 0
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x46f539
push 0x4e16c0
push str.Shutdown
push 0xb
push eax
call fcn.004a2810
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jns 0x46f539
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x20]
push esi
push str.Failed_to_disconnect_libssh2_session:__d__s_n
push ebx
call fcn.00477080
add esp, 0x20
push dword [edi + 0x30]
call dword [0x59c9a8]
mov dword [edi + 0x30], 0
add esp, 4
mov eax, dword [ebp]
mov dword [eax + 0xf90], 0
mov dword [ebp + 0x4dc], 0x3a
jmp 0x46f72c
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x46f585
push eax
call fcn.004a9b70
add esp, 4
mov dword [edi + 0xcc], 0
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x46f606
push eax
call fcn.004aaff0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jns 0x46f5da
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x20]
push esi
push str.Failed_to_disconnect_from_libssh2_agent:__d__s_n
push ebx
call fcn.00477080
add esp, 0x20
push dword [edi + 0xc0]
call fcn.004ab010
add esp, 4
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 0
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x46f665
push eax
call fcn.004a2990
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, 0xffffffdb
je 0x46f72c
test esi, esi
jns 0x46f65b
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x20]
push esi
push str.Failed_to_free_libssh2_session:__d__s_n
push ebx
call fcn.00477080
add esp, 0x20
mov dword [edi + 0xb0], 0
push dword [edi + 8]
call dword [0x59c9a8]
push dword [edi + 0xc]
mov dword [edi + 8], 0
call dword [0x59c9a8]
push dword [edi + 0x24]
mov dword [edi + 0xc], 0
call dword [0x59c9a8]
push dword [edi + 0x28]
mov dword [edi + 0x24], 0
call dword [0x59c9a8]
push dword [edi + 0x30]
mov dword [edi + 0x28], 0
call dword [0x59c9a8]
push dword [edi + 0x54]
mov dword [edi + 0x30], 0
call dword [0x59c9a8]
push dword [edi + 0x58]
mov dword [edi + 0x54], 0
call dword [0x59c9a8]
push dword [edi + 0x40]
mov dword [edi + 0x58], 0
call dword [0x59c9a8]
push dword [edi + 0x44]
mov dword [edi + 0x40], 0
call dword [0x59c9a8]
mov eax, dword [edi + 0x1c]
push 0xd0
push 0
push edi
mov dword [edi + 0x44], 0
mov dword [esp + 0x44], eax
call fcn.00436fb0
push 1
push ebp
call fcn.00477a80
add esp, 0x38
mov dword [edi + 0x14], 0x3a
mov dword [edi + 0x18], 0xffffffff
mov dword [ebp + 0x4dc], 0
test esi, esi
je 0x46e7ff
cmp esi, 0xffffffdb
jne 0x46f743
mov eax, dword [esp + 0x1c0]
mov byte [eax], 1
mov esi, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov dword [edi + 0x18], 0xffffffff
mov dword [ebp + 0x4dc], 0
jmp 0x46e7ff
push 0
push 0
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push eax
push dword [edi + 0xb0]
call fcn.004a2ad0
push dword [esp + 0x44]
push esi
push str.Failure_establishing_ssh_session:__d___s
push ebx
call fcn.00476fc0
mov esi, dword [esp + 0x34]
add esp, 0x20
mov dword [ebp + 0x4dc], 0x3a
mov eax, esi
mov dword [edi + 0x1c], 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
cmp esi, 0xffffffdb
je 0x46f739
mov eax, dword [edi + 0xc4]
mov esi, dword [esp + 0x14]
mov dword [edi + 0xc8], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
lea eax, [esp + 0xb4]
mov byte [esp + esi + 0xb4], 0
push eax
call dword [0x59c9b0]
mov esi, dword [esp + 0x18]
mov ecx, eax
add esp, 4
mov dword [edi + 0x30], ecx
test ecx, ecx
jne 0x46f825
mov dword [ebp + 0x4dc], 0x2e
mov eax, esi
mov dword [edi + 0x1c], 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [ebp]
mov dword [eax + 0xf90], ecx
pop edi
mov eax, esi
mov dword [ebp + 0x4dc], 0
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
push dword [edi + 0xb8]
call fcn.004ab7d0
push eax
call fcn.00479450
push dword [edi + 0x24]
mov esi, eax
call dword [0x59c9a8]
push dword [edi + 0x28]
mov dword [edi + 0x24], 0
call dword [0x59c9a8]
push esi
mov dword [edi + 0x28], 0
call fcn.0046c4e0
push eax
push str.Attempt_to_get_SFTP_stats_failed:__s
push ebx
call fcn.00476fc0
add esp, 0x20
mov esi, dword [esp + 0x14]
mov eax, esi
mov dword [ebp + 0x4dc], 0x2e
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0x15
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
push dword [edi + 0xb8]
call fcn.004ab7d0
push eax
call fcn.00479450
push dword [edi + 0x24]
mov esi, eax
call dword [0x59c9a8]
push dword [edi + 0x28]
mov dword [edi + 0x24], 0
call dword [0x59c9a8]
push esi
mov dword [edi + 0x28], 0
call fcn.0046c4e0
push eax
push str.Attempt_to_set_SFTP_stats_failed:__s
jmp 0x46f884
push dword [edi + 0xb8]
call fcn.004ab7d0
push eax
call fcn.00479450
push dword [edi + 0x24]
mov esi, eax
call dword [0x59c9a8]
push dword [edi + 0x28]
mov dword [edi + 0x24], 0
call dword [0x59c9a8]
push esi
mov dword [edi + 0x28], 0
call fcn.0046c4e0
push eax
push str.symlink_command_failed:__s
jmp 0x46f884
push dword [edi + 0xb8]
call fcn.004ab7d0
push eax
call fcn.00479450
push dword [edi + 0x24]
mov esi, eax
call dword [0x59c9a8]
push esi
mov dword [edi + 0x24], 0
call fcn.0046c4e0
push eax
push str.mkdir_command_failed:__s
push ebx
call fcn.00476fc0
add esp, 0x1c
jmp 0x46f88d
push dword [edi + 0xb8]
call fcn.004ab7d0
push eax
call fcn.00479450
push dword [edi + 0x24]
mov esi, eax
call dword [0x59c9a8]
push dword [edi + 0x28]
mov dword [edi + 0x24], 0
call dword [0x59c9a8]
push esi
mov dword [edi + 0x28], 0
call fcn.0046c4e0
push eax
push str.rename_command_failed:__s
jmp 0x46f884
push dword [edi + 0xb8]
call fcn.004ab7d0
push eax
call fcn.00479450
push dword [edi + 0x24]
mov esi, eax
call dword [0x59c9a8]
push esi
mov dword [edi + 0x24], 0
call fcn.0046c4e0
push eax
push str.rmdir_command_failed:__s
push ebx
call fcn.00476fc0
add esp, 0x1c
jmp 0x46f88d
push dword [edi + 0xb8]
call fcn.004ab7d0
push eax
call fcn.00479450
push dword [edi + 0x24]
mov esi, eax
call dword [0x59c9a8]
push esi
mov dword [edi + 0x24], 0
call fcn.0046c4e0
push eax
push str.rm_command_failed:__s
push ebx
call fcn.00476fc0
add esp, 0x1c
jmp 0x46f88d
push ecx
push edx
push str.Bad_file_size___I64d_
push ebx
call fcn.00476fc0
add esp, 0x10
mov eax, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
push str.Failed_to_read_data
push ebx
call fcn.00476fc0
add esp, 8
mov eax, 0x1f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
push str.Could_not_seek_stream
push ebx
call fcn.00476fc0
add esp, 8
mov eax, 0x1f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
push eax
call fcn.0046c470
add esp, 4
mov dword [esp + 0x14], eax
mov dword [ebp + 0x4dc], 0x2e
test eax, eax
jne 0x46fab2
mov eax, 0x4f
mov esi, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
jns 0x46f743
push dword [edi + 0xb8]
call fcn.004ab7d0
push eax
call fcn.00479450
mov esi, eax
push esi
call fcn.0046c470
add esp, 0xc
mov dword [esp + 0x14], eax
mov ecx, eax
test eax, eax
jne 0x46faf7
mov ecx, 0x4f
push dword [edi + 0xb0]
mov dword [edi + 0x1c], ecx
call fcn.004a2ac0
add esp, 4
push eax
push esi
call fcn.0046c4e0
add esp, 4
push eax
push str.Could_not_open_remote_file_for_reading:__s_::__d
push ebx
call fcn.00476fc0
push dword [edi + 0x54]
call dword [0x59c9a8]
push dword [edi + 0x58]
mov dword [edi + 0x54], 0
call dword [0x59c9a8]
mov esi, dword [esp + 0x2c]
add esp, 0x18
mov dword [edi + 0x58], 0
mov eax, esi
mov dword [ebp + 0x4dc], 0x2e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [edi + 0x54]
mov dword [edi + 0x34], esi
mov byte [esi + eax], 0
cmp byte [ebx + 0xacd], 0
je 0x46fbec
push dword [edi + 0x54]
push 0x4e96c8
call fcn.00485390
mov esi, eax
add esp, 8
test esi, esi
je 0x46fc3a
mov eax, dword [edi + 0x34]
inc eax
push eax
push esi
push 1
push ebp
call fcn.00476f00
push esi
mov dword [esp + 0x28], eax
call dword [0x59c9a8]
mov esi, dword [esp + 0x28]
add esp, 0x14
test esi, esi
jne 0x46f82e
mov eax, dword [edi + 0x34]
inc eax
add dword [ebx + 0x98], eax
adc dword [ebx + 0x9c], esi
cmp byte [ebx + 0xade], 0
je 0x46f747
push dword [edi + 0x34]
push dword [edi + 0x54]
push 4
push ebx
call fcn.00476f30
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov ecx, dword [edi + 0x58]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46fbf2
sub ecx, edx
push 1
mov dword [edi + 0x3c], ecx
lea eax, [ecx + 0x50]
push eax
mov dword [edi + 0x38], eax
call dword [0x59c9b4]
add esp, 8
mov dword [edi + 0x40], eax
test eax, eax
jne 0x46fc5c
push dword [edi + 0x54]
call dword [0x59c9a8]
push dword [edi + 0x58]
mov dword [edi + 0x54], 0
call dword [0x59c9a8]
add esp, 8
mov dword [edi + 0x58], 0
mov esi, dword [esp + 0x14]
mov eax, esi
mov dword [ebp + 0x4dc], 0x2e
mov dword [edi + 0x1c], 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
push dword [edi + 0x3c]
push dword [edi + 0x58]
push eax
call fcn.00439170
add esp, 0xc
test byte [edi + 0x88], 4
je 0x46fcd7
mov eax, dword [edi + 0xa0]
and eax, 0xf000
cmp eax, 0xa000
jne 0x46fcd7
push 0x105
call dword [0x59c9a4]
mov ecx, dword [edi + 0x54]
add esp, 4
mov dword [edi + 0x44], eax
push ecx
test eax, eax
je 0x46fc1a
mov ecx, dword [esp + 0x28]
push dword [ecx]
push str._s_s
push 0x104
push eax
call fcn.00485440
mov esi, dword [esp + 0x28]
add esp, 0x14
mov eax, esi
mov dword [ebp + 0x4dc], 0x29
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov esi, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword [ebp + 0x4dc], 0x2a
pop ebp
pop ebx
add esp, 0x1a8
ret
push dword [esp + 0x64]
push dword [esp + 0x64]
push ecx
push eax
push str.Offset___I64d__was_beyond_file_size___I64d_
push ebx
call fcn.00476fc0
add esp, 0x18
mov eax, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
pop edi
pop esi
pop ebp
mov eax, 0x21
pop ebx
add esp, 0x1a8
ret
push dword [esp + 0x20]
push eax
push edx
push ecx
jmp 0x46fcfc