Function at 0x4838b0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x526fe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 0x168], ebx
mov eax, dword [0x569c90]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebx
push ecx
call fcn.004231f0
mov edx, dword [esp + 0x2c]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x18]
push str._s_s
push ecx
mov byte [esp + 0x34], 1
call fcn.005054dc
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], bl
call fcn.00507d3a
mov eax, dword [0x5706ac]
cmp eax, ebx
jne 0x48394f
push 1
push 0x8001
mov ecx, esi
call fcn.004de740
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x5706ac], eax
jne 0x48394f
push 2
push 0x153c
jmp 0x483ccd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateSFTPConnection
push eax
call edi
mov dword [esi + 0x10c], eax
mov eax, dword [0x5706ac]
push str.OpenSFTPConnection
push eax
call edi
mov dword [esi + 0x110], eax
mov ecx, dword [0x5706ac]
push str.CloseSFTPConnection
push ecx
call edi
mov dword [esi + 0x114], eax
mov edx, dword [0x5706ac]
push str.SFTPIsAlive
push edx
call edi
mov dword [esi + 0x118], eax
mov eax, dword [0x5706ac]
push str.GetLastSFTPError
push eax
call edi
mov dword [esi + 0x11c], eax
mov ecx, dword [0x5706ac]
push str.ReadSFTPFile
push ecx
call edi
mov dword [esi + 0x120], eax
mov edx, dword [0x5706ac]
push str.GetSFTPList
push edx
call edi
mov dword [esi + 0x124], eax
mov eax, dword [0x5706ac]
push str.WriteSFTPFile
push eax
call edi
mov dword [esi + 0x128], eax
mov ecx, dword [0x5706ac]
push str.MakeDirSFTP
push ecx
call edi
mov dword [esi + 0x12c], eax
mov edx, dword [0x5706ac]
push str.CwdSFTP
push edx
call edi
mov dword [esi + 0x130], eax
mov eax, dword [0x5706ac]
push str.GetFileInfoSFTP
push eax
call edi
mov dword [esi + 0x134], eax
mov ecx, dword [0x5706ac]
push str.ChangeFileAttributesSFTP
push ecx
call edi
mov dword [esi + 0x138], eax
mov edx, dword [0x5706ac]
push str.DeleteFileSFTP
push edx
call edi
mov dword [esi + 0x13c], eax
mov eax, dword [0x5706ac]
push str.DeleteDirSFTP
push eax
call edi
mov dword [esi + 0x140], eax
mov ecx, dword [0x5706ac]
push str.GetWorkingDirSFTP
push ecx
call edi
mov dword [esi + 0x144], eax
mov edx, dword [0x5706ac]
push str.GetConnectionInfoString
push edx
call edi
mov dword [esi + 0x14c], eax
push str.SFTPfree
mov eax, dword [0x5706ac]
push eax
call edi
mov dword [esi + 0x148], eax
mov ecx, dword [0x5706ac]
push str.GenerateKey
push ecx
call edi
mov dword [esi + 0x150], eax
mov edx, dword [0x5706ac]
push str.RenameSFTP
push edx
call edi
mov dword [esi + 0x154], eax
mov eax, dword [0x5706ac]
push str.InitSSHCertDatabase
push eax
call edi
mov dword [esi + 0x158], eax
mov ecx, dword [0x5706ac]
push str.CheckPrivateKey
push ecx
call edi
mov dword [esi + 0x15c], eax
mov edx, dword [0x5706ac]
push str.SetKIACallbackMethod
push edx
call edi
mov ecx, dword [esi + 0x10c]
mov dword [esi + 0x160], eax
cmp ecx, ebx
je 0x483cc6
cmp dword [esi + 0x110], ebx
je 0x483cc6
cmp dword [esi + 0x114], ebx
je 0x483cc6
cmp dword [esi + 0x118], ebx
je 0x483cc6
cmp dword [esi + 0x11c], ebx
je 0x483cc6
cmp dword [esi + 0x120], ebx
je 0x483cc6
cmp dword [esi + 0x124], ebx
je 0x483cc6
cmp dword [esi + 0x128], ebx
je 0x483cc6
cmp dword [esi + 0x12c], ebx
je 0x483cc6
cmp dword [esi + 0x130], ebx
je 0x483cc6
cmp dword [esi + 0x134], ebx
je 0x483cc6
cmp dword [esi + 0x13c], ebx
je 0x483cc6
cmp dword [esi + 0x140], ebx
je 0x483cc6
cmp dword [esi + 0x144], ebx
je 0x483cc6
cmp dword [esi + 0x14c], ebx
je 0x483cc6
cmp dword [esi + 0x148], ebx
je 0x483cc6
cmp dword [esi + 0x138], ebx
je 0x483cc6
cmp dword [esi + 0x150], ebx
je 0x483cc6
cmp dword [esi + 0x154], ebx
je 0x483cc6
cmp dword [esi + 0x158], ebx
je 0x483cc6
cmp dword [esi + 0x15c], ebx
je 0x483cc6
cmp eax, ebx
je 0x483cc6
mov eax, dword [0x5706b0]
inc eax
mov dword [0x5706b0], eax
lea eax, [esp + 0x14]
push eax
mov dword [esi + 0x168], 1
call fcn.004237f0
add esp, 4
push str.certs_ssh2.crt
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x2c], 2
call fcn.00507fcf
mov eax, dword [eax]
mov byte [esp + 0x20], 3
cmp eax, ebx
je 0x483c55
push eax
call fcn.0048de60
add esp, 4
mov edi, eax
jmp 0x483c57
xor edi, edi
mov dword [esp + 0x28], edi
push 0x483460
push edi
mov byte [esp + 0x28], 4
call dword [esi + 0x158]
add esp, 8
cmp edi, ebx
mov byte [esp + 0x20], 3
je 0x483c81
push edi
call fcn.0048de70
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.00507d3a
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.00507d3a
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.00507d3a
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
push 2
push 0x153d
mov ecx, esi
call fcn.004de740
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.00507d3a
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4