Function at 0x826440
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rbx
sub rsp, 0x2b8
mov rbp, rsp
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x128], 0
mov qword [rbp + 0x130], 0
mov qword [rbp + 0x138], 0
mov qword [rbp + 0x140], 0
mov qword [rbp + 0x150], 0
mov qword [rbp + 0x148], 0
mov qword [rbp + 0x160], 0
mov qword [rbp + 0x158], 0
mov qword [rbp + 0x170], 0
mov qword [rbp + 0x168], 0
mov qword [rbp + 0x180], 0
mov qword [rbp + 0x178], 0
mov qword [rbp + 0x188], 0
mov qword [rbp + 0x1a0], 0
mov qword [rbp + 0x198], 0
mov qword [rbp + 0x190], 0
mov qword [rbp + 0x1b8], 0
mov qword [rbp + 0x1b0], 0
mov qword [rbp + 0x1a8], 0
mov qword [rbp + 0x1d0], 0
mov qword [rbp + 0x1c8], 0
mov qword [rbp + 0x1c0], 0
mov qword [rbp + 0x228], 0
mov qword [rbp + 0x298], 0
mov qword [rbp + 0x220], 0
mov qword [rbp + 0x218], 0
mov qword [rbp + 0x1d8], rbp
mov qword [rbp + 0x2d0], rcx
mov dword [rbp + 0x2d8], edx
mov qword [rbp + 0x2e0], r8
mov qword [rbp + 0x2e8], r9
mov rax, qword [rbp + 0x2f0]
mov qword [rbp + 0x2f0], rax
mov eax, dword [rbp + 0x2f8]
mov dword [rbp + 0x2f8], eax
mov rax, qword [rbp + 0x300]
mov qword [rbp + 0x300], rax
mov rax, qword [rbp + 0x308]
mov qword [rbp + 0x308], rax
mov rax, qword [rbp + 0x310]
mov qword [rbp + 0x310], rax
movzx rax, byte [rbp + 0x318]
mov byte [rbp + 0x318], al
mov rax, qword [rbp + 0x320]
mov qword [rbp + 0x320], rax
mov rax, qword [rbp + 0x328]
mov qword [rbp + 0x328], rax
movzx rax, byte [rbp + 0x330]
mov byte [rbp + 0x330], al
movzx rax, byte [rbp + 0x338]
mov byte [rbp + 0x338], al
mov rcx, qword [rbp + 0x2e0]
call fcn.00412ee0
mov rcx, qword [rbp + 0x2e8]
call fcn.00412ee0
mov rcx, qword [rbp + 0x2f0]
call fcn.00412ee0
mov rcx, qword [rbp + 0x300]
call fcn.00412ee0
mov rcx, qword [rbp + 0x308]
call fcn.00412ee0
mov rcx, qword [rbp + 0x310]
call fcn.00412ee0
nop
mov rcx, qword [rbp + 0x2d0]
lea rdx, [0x008281bc]
call fcn.0081ac00
mov byte [rbp + 0x277], 0
mov rax, qword [rbp + 0x328]
mov byte [rax], 0
mov rax, qword [rbp + 0x2d0]
mov byte [rax + 0x80], 0
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
cmp byte [rbp + 0x338], 0
je 0x8269f3
mov rax, qword [rbp + 0x2d0]
mov rax, qword [rax + 0x150]
mov qword [rbp + 0x1f0], rax
mov rax, qword [rbp + 0x1f0]
mov rax, qword [rax + 0x10]
cmp dword [rax + 0x10], 1
jle 0x826897
lea rcx, [rbp + 0x1c8]
mov rax, qword [rbp + 0x2d0]
mov edx, dword [rax + 0x7c]
call fcn.0043bfe0
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rax + 0x150]
call fcn.0082e5c0
lea rcx, [rbp + 0x1c0]
mov edx, eax
call fcn.0043bfe0
lea rcx, [rbp + 0x1d0]
mov edx, 6
mov r8, qword [rbp + 0x1c8]
lea r9, [0x00828200]
mov rax, qword [rbp + 0x2d0]
mov rax, qword [rax + 0x228]
mov qword [rsp + 0x20], rax
lea rax, [0x00828200]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rsp + 0x30], rax
lea rax, [0x00828210]
mov qword [rsp + 0x38], rax
call fcn.00414a50
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rax + 0xa0]
mov rdx, qword [rbp + 0x1d0]
call fcn.00602260
jmp 0x8268ac
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rax + 0xa0]
xor edx, edx
call fcn.00602260
mov rax, qword [rbp + 0x2d0]
cmp byte [rax + 0x247], 0
je 0x826976
mov rax, qword [rbp + 0x2d0]
mov rbx, qword [rax + 0xa0]
mov rcx, rbx
lea rdx, [rbp + 0x1b0]
call fcn.006021f0
lea rcx, [rbp + 0x1a8]
mov rdx, qword [rbp + 0x300]
call fcn.008188c0
lea rcx, [rbp + 0x1b8]
mov edx, 8
mov rax, qword [rbp + 0x2d0]
mov r8, qword [rax + 0x108]
lea r9, [0x00828200]
mov rax, qword [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x1a8]
mov qword [rsp + 0x28], rax
lea rax, [0x00828200]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x2d0]
mov rax, qword [rax + 0x230]
mov qword [rsp + 0x38], rax
lea rax, [0x00828200]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x2f0]
mov qword [rsp + 0x48], rax
call fcn.00414a50
mov rcx, rbx
mov rdx, qword [rbp + 0x1b8]
call fcn.00602260
jmp 0x8269f3
mov rax, qword [rbp + 0x2d0]
mov rbx, qword [rax + 0xa0]
mov rcx, rbx
lea rdx, [rbp + 0x198]
call fcn.006021f0
lea rcx, [rbp + 0x190]
mov rdx, qword [rbp + 0x300]
call fcn.008188c0
lea rcx, [rbp + 0x1a0]
mov edx, 4
mov rax, qword [rbp + 0x2d0]
mov r8, qword [rax + 0x108]
lea r9, [0x00828200]
mov rax, qword [rbp + 0x198]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x190]
mov qword [rsp + 0x28], rax
call fcn.00414a50
mov rcx, rbx
mov rdx, qword [rbp + 0x1a0]
call fcn.00602260
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
lea rcx, [rbp + 0x188]
mov edx, 3
mov r8, qword [rbp + 0x2f0]
mov r9, qword [rbp + 0x2e0]
mov rax, qword [rbp + 0x2e8]
mov qword [rsp + 0x20], rax
call fcn.00414a50
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rax + 0x2d8]
mov rdx, qword [rbp + 0x188]
call fcn.00414b20
test eax, eax
jne 0x826a8d
mov rax, qword [rbp + 0x2d0]
mov eax, dword [rax + 0x33c]
mov dword [rbp + 0x2a4], eax
mov rax, qword [rbp + 0x2d0]
mov rax, qword [rax + 0x340]
mov qword [rbp + 0x2a8], rax
mov rax, qword [rbp + 0x2d0]
mov rax, qword [rax + 0x348]
mov qword [rbp + 0x290], rax
jmp 0x826f0c
mov rcx, qword [rbp + 0x2d0]
call fcn.00825dc0
mov dword [rbp + 0x2a4], eax
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
movsxd rax, dword [rbp + 0x2a4]
cmp rax, 0xffffffffffffffff
jne 0x826bdc
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x160], 0
je 0x826af1
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x160]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8d, 6
call qword [rbx]
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x170], 0
je 0x826b77
call sub.wsock32.dll_WSAGetLastError
lea rcx, [rbp + 0x178]
mov edx, eax
xor r8, r8
call fcn.004454f0
lea rcx, [rbp + 0x180]
mov edx, 4
lea r8, [0x00828224]
mov r9, qword [rbp + 0x2f0]
lea rax, [0x00828270]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x178]
mov qword [rsp + 0x28], rax
call fcn.00414a50
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x170]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8d, 6
mov r9, qword [rbp + 0x180]
call qword [rbx]
call sub.wsock32.dll_WSAGetLastError
lea rcx, [rbp + 0x168]
mov edx, eax
xor r8, r8
call fcn.004454f0
lea rcx, [rbp + 0x170]
mov edx, 4
lea r8, [0x00828284]
mov r9, qword [rbp + 0x2f0]
lea rax, [0x00828270]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x168]
mov qword [rsp + 0x28], rax
call fcn.00414a50
mov rcx, qword [rbp + 0x2d0]
mov rdx, qword [rbp + 0x170]
call fcn.0081ac00
jmp 0x827f39
mov rcx, qword [rbp + 0x2d0]
mov edx, dword [rbp + 0x2a4]
mov r8, qword [rbp + 0x2f0]
mov r9d, dword [rbp + 0x2f8]
call fcn.008247b0
mov byte [rbp + 0x247], al
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
cmp byte [rbp + 0x247], 0
jne 0x826d3b
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x160], 0
je 0x826c50
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x160]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8d, 6
call qword [rbx]
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x170], 0
je 0x826cd6
call sub.wsock32.dll_WSAGetLastError
lea rcx, [rbp + 0x158]
mov edx, eax
xor r8, r8
call fcn.004454f0
lea rcx, [rbp + 0x160]
mov edx, 4
lea r8, [0x00828224]
mov r9, qword [rbp + 0x2f0]
lea rax, [0x00828270]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x158]
mov qword [rsp + 0x28], rax
call fcn.00414a50
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x170]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8d, 6
mov r9, qword [rbp + 0x160]
call qword [rbx]
call sub.wsock32.dll_WSAGetLastError
lea rcx, [rbp + 0x148]
mov edx, eax
xor r8, r8
call fcn.004454f0
lea rcx, [rbp + 0x150]
mov edx, 4
lea r8, [0x00828284]
mov r9, qword [rbp + 0x2f0]
lea rax, [0x00828270]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x148]
mov qword [rsp + 0x28], rax
call fcn.00414a50
mov rcx, qword [rbp + 0x2d0]
mov rdx, qword [rbp + 0x150]
call fcn.0081ac00
jmp 0x827f39
mov rcx, qword [rbp + 0x2d0]
lea rdx, [0x008282ec]
call fcn.0081ac00
xor ecx, ecx
call sub.libssh2.dll_libssh2_init
test eax, eax
je 0x826e36
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x160], 0
je 0x826d8f
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x160]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8d, 6
call qword [rbx]
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x170], 0
je 0x826df3
lea rcx, [rbp + 0x140]
mov edx, 3
lea r8, [0x00828224]
mov r9, qword [rbp + 0x2f0]
lea rax, [0x0082833c]
mov qword [rsp + 0x20], rax
call fcn.00414a50
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x170]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8d, 6
mov r9, qword [rbp + 0x140]
call qword [rbx]
lea rcx, [rbp + 0x138]
mov edx, 3
lea r8, [0x00828284]
mov r9, qword [rbp + 0x2f0]
lea rax, [0x0082833c]
mov qword [rsp + 0x20], rax
call fcn.00414a50
mov rcx, qword [rbp + 0x2d0]
mov rdx, qword [rbp + 0x138]
call fcn.0081ac00
jmp 0x827f39
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
mov rax, qword [rbp + 0x2d0]
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x238], 0
mov rcx, qword [rbp + 0x2d0]
lea rdx, [0x00828390]
call fcn.0081ac00
xor ecx, ecx
xor edx, edx
xor r8, r8
lea r9, [rbp + 0x230]
call sub.libssh2.dll_libssh2_session_init_ex
mov qword [rbp + 0x2a8], rax
mov rcx, qword [rbp + 0x2d0]
mov rdx, qword [rbp + 0x2a8]
mov r8d, dword [rbp + 0x2a4]
mov r9, qword [rbp + 0x2f0]
mov rax, qword [rbp + 0x2e0]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x2e8]
mov qword [rsp + 0x28], rax
call fcn.0082be00
mov byte [rbp + 0x247], al
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
cmp byte [rbp + 0x247], 0
je 0x827f39
mov rcx, qword [rbp + 0x2d0]
lea rdx, [0x008283f0]
call fcn.0081ac00
mov rcx, qword [rbp + 0x2a8]
call sub.libssh2.dll_libssh2_sftp_init
mov qword [rbp + 0x290], rax
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
cmp qword [rbp + 0x290], 0
jne 0x82703f
nop
cmp qword [rbp + 0x2a8], 0
je 0x826f61
nop
mov rcx, qword [rbp + 0x2a8]
mov edx, 0xb
lea r8, [0x00828444]
lea r9, [0x0082845c]
call sub.libssh2.dll_libssh2_session_disconnect_ex
nop
mov rcx, qword [rbp + 0x2a8]
call sub.libssh2.dll_libssh2_session_free
nop
movsxd rcx, dword [rbp + 0x2a4]
call sub.wsock32.dll_closesocket
mov dword [rbp + 0x2a4], 0xffffffff
mov qword [rbp + 0x2a8], 0
call sub.wsock32.dll_WSACleanup
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x160], 0
je 0x826fba
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x160]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8d, 6
call qword [rbx]
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x170], 0
je 0x82700d
lea rcx, [rbp + 0x130]
lea rdx, [0x0082846c]
mov r8, qword [rbp + 0x2f0]
call fcn.00414920
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x170]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8d, 6
mov r9, qword [rbp + 0x130]
call qword [rbx]
lea rcx, [rbp + 0x128]
lea rdx, [0x008284b4]
mov r8, qword [rbp + 0x2f0]
call fcn.00414920
mov rcx, qword [rbp + 0x2d0]
mov rdx, qword [rbp + 0x128]
call fcn.0081ac00
jmp 0x827f39
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
cmp byte [rbp + 0x330], 0
je 0x8270c6
mov rax, qword [rbp + 0x2d0]
mov ecx, dword [rbp + 0x2a4]
mov dword [rax + 0x33c], ecx
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rbp + 0x2a8]
mov qword [rax + 0x340], rcx
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rbp + 0x290]
mov qword [rax + 0x348], rcx
mov rax, qword [rbp + 0x2d0]
lea rcx, [rax + 0x2d8]
mov edx, 3
mov r8, qword [rbp + 0x2f0]
mov r9, qword [rbp + 0x2e0]
mov rax, qword [rbp + 0x2e8]
mov qword [rsp + 0x20], rax
call fcn.00414a50
lea rcx, [0x00828518]
mov rdx, qword [rbp + 0x300]
mov r8d, 1
call fcn.00414d80
test eax, eax
jle 0x82719f
lea rcx, [rbp + 0x228]
mov rdx, qword [rbp + 0x300]
call fcn.00413430
jmp 0x82712c
mov dword [rbp + 0x1e0], 0
test rax, rax
je 0x827114
mov eax, dword [rax - 4]
mov dword [rbp + 0x1e0], eax
lea rcx, [rbp + 0x228]
mov edx, dword [rbp + 0x1e0]
mov r8d, 1
call fcn.00414bd0
mov dword [rbp + 0x1ec], 0
mov rax, qword [rbp + 0x228]
test rax, rax
je 0x82714b
mov ecx, dword [rax - 4]
mov dword [rbp + 0x1ec], ecx
mov rcx, qword [rbp + 0x228]
movsxd rdx, dword [rbp + 0x1ec]
cmp word [rcx + rdx*2 - 2], 0x2f
je 0x82718b
mov dword [rbp + 0x1e8], 0
test rax, rax
je 0x827179
mov ecx, dword [rax - 4]
mov dword [rbp + 0x1e8], ecx
cmp dword [rbp + 0x1e8], 0
setg cl
mov byte [rbp + 0x1e7], cl
jmp 0x827192
mov byte [rbp + 0x1e7], 0
cmp byte [rbp + 0x1e7], 0
jne 0x8270fc
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
lea rcx, [rbp + 0x298]
mov rdx, qword [rbp + 0x300]
call fcn.008188c0
lea rcx, [rbp + 0x218]
mov rdx, qword [rbp + 0x228]
mov r8, qword [rbp + 0x298]
call fcn.00819240
lea rcx, [rbp + 0x120]
lea rdx, [0x00828528]
mov r8, qword [rbp + 0x218]
call fcn.00414920
mov rcx, qword [rbp + 0x2d0]
mov rdx, qword [rbp + 0x120]
call fcn.0081ac00
lea rcx, [rbp + 0x118]
mov rdx, qword [rbp + 0x218]
xor r8, r8
call fcn.00414100
mov rcx, qword [rbp + 0x118]
call fcn.00413fa0
mov rbx, rax
mov rcx, rbx
call fcn.00413600
mov rcx, qword [rbp + 0x290]
mov rdx, rbx
mov r8d, eax
xor r9, r9
lea rax, [rbp + 0x248]
mov qword [rsp + 0x20], rax
call sub.libssh2.dll_libssh2_sftp_stat_ex
test eax, eax
jne 0x827f05
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
lea rcx, [rbp + 0x110]
lea rdx, [0x00828580]
mov r8, qword [rbp + 0x218]
call fcn.00414920
mov rcx, qword [rbp + 0x2d0]
mov rdx, qword [rbp + 0x110]
call fcn.0081ac00
lea rcx, [rbp + 0x108]
mov rdx, qword [rbp + 0x218]
xor r8, r8
call fcn.00414100
mov rcx, qword [rbp + 0x108]
call fcn.00413fa0
mov rbx, rax
mov rcx, rbx
call fcn.00413600
mov rcx, qword [rbp + 0x290]
mov rdx, rbx
mov r8d, eax
mov r9d, 1
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call sub.libssh2.dll_libssh2_sftp_open_ex
mov qword [rbp + 0x288], rax
cmp qword [rbp + 0x288], 0
jne 0x8273a6
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x1c0], 0
je 0x827337
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x1c0]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8, qword [rbp + 0x300]
call qword [rbx]
cmp byte [rbp + 0x330], 0
jne 0x827374
mov rcx, qword [rbp + 0x2d0]
lea rdx, [rbp + 0x2a4]
lea r8, [rbp + 0x2a8]
lea r9, [rbp + 0x290]
call fcn.00824660
mov rax, qword [rbp + 0x2d0]
lea rcx, [rax + 0x2d8]
call fcn.00412d10
lea rcx, [rbp + 0x100]
lea rdx, [0x008285dc]
mov r8, qword [rbp + 0x218]
call fcn.00414920
mov rcx, qword [rbp + 0x2d0]
mov rdx, qword [rbp + 0x100]
call fcn.0081ac00
jmp 0x827f39
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
cmp byte [rbp + 0x318], 0
jne 0x8273d3
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x2b8], 0
je 0x827583
mov ecx, dword [rbp + 0x268]
mov dl, 1
call fcn.0058d3f0
movsd qword [rbp + 0x210], xmm0
mov rax, qword [rbp + 0x320]
mov rcx, qword [rbp + 0x210]
mov qword [rax], rcx
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x2b8], 0
je 0x8274ca
mov byte [rbp + 0x246], 1
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x2b8]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8d, dword [rbp + 0x2d8]
movsd xmm3, qword [rbp + 0x210]
lea rax, [rbp + 0x246]
mov qword [rsp + 0x20], rax
call qword [rbx]
mov rax, qword [rbp + 0x320]
mov rcx, qword [rbp + 0x210]
mov qword [rax], rcx
cmp byte [rbp + 0x246], 0
jne 0x827583
cmp byte [rbp + 0x330], 0
jne 0x8274b2
mov rcx, qword [rbp + 0x288]
call sub.libssh2.dll_libssh2_sftp_close_handle
mov rcx, qword [rbp + 0x2d0]
lea rdx, [rbp + 0x2a4]
lea r8, [rbp + 0x2a8]
lea r9, [rbp + 0x290]
call fcn.00824660
mov rax, qword [rbp + 0x2d0]
lea rcx, [rax + 0x2d8]
call fcn.00412d10
mov rcx, qword [rbp + 0x2d0]
lea rdx, [0x0082863c]
call fcn.0081ac00
jmp 0x827f39
mov rax, qword [rbp + 0x320]
movsd xmm0, qword [rax]
ucomisd xmm0, qword [rbp + 0x210]
jb 0x82751f
mov rax, qword [rbp + 0x328]
mov byte [rax], 1
cmp byte [rbp + 0x330], 0
jne 0x82751f
mov rcx, qword [rbp + 0x288]
call sub.libssh2.dll_libssh2_sftp_close_handle
mov rcx, qword [rbp + 0x2d0]
lea rdx, [rbp + 0x2a4]
lea r8, [rbp + 0x2a8]
lea r9, [rbp + 0x290]
call fcn.00824660
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x268], 0
je 0x82756b
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x268]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8, qword [rbp + 0x298]
mov rax, qword [rbp + 0x320]
movsd xmm3, qword [rax]
movsd xmm0, qword [rbp + 0x210]
movsd qword [rsp + 0x20], xmm0
call qword [rbx]
mov rcx, qword [rbp + 0x2d0]
lea rdx, [0x008286c0]
call fcn.0081ac00
jmp 0x827f39
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
mov eax, dword [rbp + 0x250]
mov dword [rbp + 0x208], eax
call sub.kernel32.dll_GetTickCount
mov dword [rbp + 0x1fc], eax
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
cmp qword [rbp + 0x310], 0
je 0x8275d7
lea rcx, [rbp + 0x220]
mov rdx, qword [rbp + 0x310]
call fcn.00413430
jmp 0x8275ea
lea rcx, [rbp + 0x220]
mov rdx, qword [rbp + 0x300]
call fcn.008188c0
mov byte [rbp + 0x246], 1
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x1e0], 0
je 0x82762b
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x1e0]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8, qword [rbp + 0x298]
lea r9, [rbp + 0x246]
call qword [rbx]
cmp byte [rbp + 0x246], 0
jne 0x8276af
cmp byte [rbp + 0x330], 0
jne 0x82767d
mov rcx, qword [rbp + 0x288]
call sub.libssh2.dll_libssh2_sftp_close_handle
mov rcx, qword [rbp + 0x2d0]
lea rdx, [rbp + 0x2a4]
lea r8, [rbp + 0x2a8]
lea r9, [rbp + 0x290]
call fcn.00824660
mov rax, qword [rbp + 0x2d0]
lea rcx, [rax + 0x2d8]
call fcn.00412d10
lea rcx, [rbp + 0xf8]
lea rdx, [0x00828708]
mov r8, qword [rbp + 0x298]
call fcn.00414920
mov rcx, qword [rbp + 0x2d0]
mov rdx, qword [rbp + 0xf8]
call fcn.0081ac00
jmp 0x827f39
mov rax, qword [rbp + 0x2d0]
cmp byte [rax + 0x310], 0
je 0x8276d2
lea rcx, [rbp + 0x220]
mov rdx, qword [rbp + 0x298]
call fcn.0081afb0
lea rcx, [rbp + 0xf0]
mov rdx, qword [rbp + 0x308]
mov r8, qword [rbp + 0x220]
call fcn.00819160
lea rcx, [rbp + 0x220]
mov rdx, qword [rbp + 0xf0]
call fcn.00413430
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
mov rax, qword [rbp + 0x2d0]
lea rcx, [rax + 0xe8]
mov rdx, qword [rbp + 0x220]
call fcn.004133a0
mov rax, qword [rbp + 0x2d0]
lea rcx, [rax + 0xf0]
mov rdx, qword [rbp + 0x308]
call fcn.004133a0
mov dword [rbp + 0x20c], 0
nop
mov rcx, qword [0x004db6b8]
mov dl, 1
mov r8, qword [rbp + 0x220]
mov r9w, 0xff00
call fcn.00519da0
mov qword [rbp + 0x278], rax
jmp 0x827868
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
mov ecx, 0x8000
call fcn.004092d0
mov qword [rbp + 0x280], rax
nop
lea rcx, [rbp + 0xd8]
lea rdx, [0x00828834]
mov r8, qword [rbp + 0x298]
call fcn.00414920
mov rcx, qword [rbp + 0x2d0]
mov rdx, qword [rbp + 0xd8]
call fcn.0081ac00
mov rcx, qword [rbp + 0x288]
mov rdx, qword [rbp + 0x280]
mov r8d, 0x8000
call sub.libssh2.dll_libssh2_sftp_read
mov dword [rbp + 0x204], eax
cmp dword [rbp + 0x204], 0
jle 0x827d79
mov rcx, qword [rbp + 0x278]
mov rdx, qword [rbp + 0x280]
mov r8d, dword [rbp + 0x204]
mov rax, qword [rbp + 0x278]
mov rax, qword [rax]
call qword [rax + 0x38]
mov dword [rbp + 0x200], eax
cmp dword [rbp + 0x200], 0
jle 0x827e88
mov eax, dword [rbp + 0x200]
add dword [rbp + 0x20c], eax
cmp dword [rbp + 0x208], 0
jle 0x827a11
cvtsi2sd xmm0, dword [rbp + 0x20c]
cvtsi2sd xmm1, dword [rbp + 0x208]
divsd xmm0, xmm1
mulsd xmm0, qword [0x00828008]
call fcn.0040c490
mov rcx, qword [rbp + 0x2d0]
mov rcx, qword [rcx + 0x98]
mov edx, eax
call fcn.00665bb0
lea rcx, [rbp + 0xc8]
movsxd rdx, dword [rbp + 0x20c]
call fcn.008189d0
lea rcx, [rbp + 0xc0]
movsxd rdx, dword [rbp + 0x208]
call fcn.008189d0
lea rcx, [rbp + 0xd0]
mov edx, 7
mov rax, qword [rbp + 0x2d0]
mov r8, qword [rax + 0x110]
lea r9, [0x00828200]
mov rax, qword [rbp + 0xc8]
mov qword [rsp + 0x20], rax
lea rax, [0x00828200]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x2d0]
mov rax, qword [rax + 0x228]
mov qword [rsp + 0x30], rax
lea rax, [0x00828200]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0xc0]
mov qword [rsp + 0x40], rax
call fcn.00414a50
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rax + 0xa8]
mov rdx, qword [rbp + 0xd0]
call fcn.00602260
jmp 0x827a70
lea rcx, [rbp + 0xb0]
movsxd rdx, dword [rbp + 0x20c]
call fcn.008189d0
lea rcx, [rbp + 0xb8]
mov edx, 3
mov rax, qword [rbp + 0x2d0]
mov r8, qword [rax + 0x110]
lea r9, [0x00828200]
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x20], rax
call fcn.00414a50
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rax + 0xa8]
mov rdx, qword [rbp + 0xb8]
call fcn.00602260
mov rax, qword [rbp + 0x2d0]
cmp byte [rax + 0x246], 0
je 0x827b10
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rax + 0x98]
call fcn.00665880
lea rcx, [rbp + 0xa0]
mov edx, eax
call fcn.0043bfe0
lea rcx, [rbp + 0xa8]
mov edx, 5
mov rax, qword [rbp + 0x2d0]
mov r8, qword [rax + 0x250]
lea r9, [0x00828210]
mov rax, qword [rbp + 0xa0]
mov qword [rsp + 0x20], rax
lea rax, [0x00828878]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x2d0]
mov rax, qword [rax + 0x248]
mov qword [rsp + 0x30], rax
call fcn.00414a50
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rax + 0x88]
mov rdx, qword [rbp + 0xa8]
call fcn.00602260
call sub.kernel32.dll_GetTickCount
cvtsi2sd xmm0, dword [rbp + 0x20c]
sub eax, dword [rbp + 0x1fc]
add eax, 1
mov eax, eax
cvtsi2sd xmm1, rax
divsd xmm0, xmm1
mulsd xmm0, qword [0x00828010]
call fcn.0040c490
lea rcx, [rbp + 0x98]
mov rdx, rax
call fcn.00818c30
mov rax, qword [rbp + 0x2d0]
lea rcx, [rax + 0x2f0]
mov rdx, qword [rbp + 0x98]
call fcn.004133a0
lea rcx, [rbp + 0x90]
mov edx, 3
mov rax, qword [rbp + 0x2d0]
mov r8, qword [rax + 0x118]
lea r9, [0x00828200]
mov rax, qword [rbp + 0x2d0]
mov rax, qword [rax + 0x2f0]
mov qword [rsp + 0x20], rax
call fcn.00414a50
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rax + 0xb0]
mov rdx, qword [rbp + 0x90]
call fcn.00602260
call sub.kernel32.dll_GetTickCount
movsxd rbx, dword [rbp + 0x208]
lea rcx, [rbp + 0x88]
mov edx, eax
sub edx, dword [rbp + 0x1fc]
movsxd r8, dword [rbp + 0x20c]
mov r9, rbx
mov rax, qword [rbp + 0x2d0]
mov rax, qword [rax + 0x2a0]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x2d0]
mov rax, qword [rax + 0x2a8]
mov qword [rsp + 0x28], rax
call fcn.00818eb0
mov rax, qword [rbp + 0x2d0]
lea rcx, [rax + 0x2f8]
mov rdx, qword [rbp + 0x88]
call fcn.004133a0
lea rcx, [rbp + 0x80]
mov edx, 3
mov rax, qword [rbp + 0x2d0]
mov r8, qword [rax + 0x120]
lea r9, [0x00828200]
mov rax, qword [rbp + 0x2d0]
mov rax, qword [rax + 0x2f8]
mov qword [rsp + 0x20], rax
call fcn.00414a50
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rax + 0xb8]
mov rdx, qword [rbp + 0x80]
call fcn.00602260
call sub.kernel32.dll_GetTickCount
lea rcx, [rbp + 0x78]
mov edx, eax
sub edx, dword [rbp + 0x1fc]
xor r8, r8
mov r9, rbx
mov rax, qword [rbp + 0x2d0]
mov rax, qword [rax + 0x2a0]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x2d0]
mov rax, qword [rax + 0x2a8]
mov qword [rsp + 0x28], rax
call fcn.00818eb0
mov rax, qword [rbp + 0x2d0]
lea rcx, [rax + 0x300]
mov rdx, qword [rbp + 0x78]
call fcn.004133a0
lea rcx, [rbp + 0x70]
mov edx, 3
mov rax, qword [rbp + 0x2d0]
mov r8, qword [rax + 0x128]
lea r9, [0x00828200]
mov rax, qword [rbp + 0x2d0]
mov rax, qword [rax + 0x300]
mov qword [rsp + 0x20], rax
call fcn.00414a50
mov rax, qword [rbp + 0x2d0]
mov rcx, qword [rax + 0xc0]
mov rdx, qword [rbp + 0x70]
call fcn.00602260
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x1f0], 0
je 0x827d65
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x1f0]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov rax, qword [rbp + 0x2d0]
mov r8d, dword [rax + 0x7c]
mov r9d, dword [rbp + 0x20c]
mov eax, dword [rbp + 0x208]
mov dword [rsp + 0x20], eax
call qword [rbx]
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
jmp 0x827e88
cmp dword [rbp + 0x204], 0
jge 0x827e88
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x160], 0
je 0x827db8
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x160]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8d, 4
call qword [rbx]
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x170], 0
je 0x827e32
call sub.wsock32.dll_WSAGetLastError
lea rcx, [rbp + 0x60]
mov edx, eax
xor r8, r8
call fcn.004454f0
lea rcx, [rbp + 0x68]
mov edx, 4
lea r8, [0x0082888c]
mov r9, qword [rbp + 0x298]
lea rax, [0x00828270]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x28], rax
call fcn.00414a50
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x170]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8d, 4
mov r9, qword [rbp + 0x68]
call qword [rbx]
call sub.wsock32.dll_WSAGetLastError
lea rcx, [rbp + 0x50]
mov edx, eax
xor r8, r8
call fcn.004454f0
lea rcx, [rbp + 0x58]
mov edx, 4
lea r8, [0x008288cc]
mov r9, qword [rbp + 0x298]
lea rax, [0x00828270]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x28], rax
call fcn.00414a50
mov rcx, qword [rbp + 0x2d0]
mov rdx, qword [rbp + 0x58]
call fcn.0081ac00
jmp 0x827ef5
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
cmp dword [rbp + 0x204], 0
je 0x827eb4
mov rax, qword [rbp + 0x2d0]
cmp byte [rax + 0x80], 0
je 0x8278b6
mov byte [rbp + 0x277], 1
nop
mov rcx, qword [rbp + 0x280]
call fcn.00409300
mov rcx, qword [rbp + 0x288]
call sub.libssh2.dll_libssh2_sftp_close_handle
mov rcx, qword [rbp + 0x2d0]
lea rdx, [0x00828928]
call fcn.0081ac00
mov rcx, qword [rbp + 0x278]
call fcn.0040fb00
jmp 0x827f38
xor ecx, ecx
mov rdx, qword [rbp + 0x1d8]
call fcn.00828090
jmp 0x827f39
mov rax, qword [rbp + 0x2d0]
cmp qword [rax + 0x1c0], 0
je 0x827f38
mov rax, qword [rbp + 0x2d0]
lea rbx, [rax + 0x1c0]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x2d0]
mov r8, qword [rbp + 0x300]
call qword [rbx]
nop
lea rcx, [rbp + 0x50]
mov edx, 0x17
call fcn.00412df0
lea rcx, [rbp + 0x108]
call fcn.00412d60
lea rcx, [rbp + 0x110]
call fcn.00412d10
lea rcx, [rbp + 0x118]
call fcn.00412d60
lea rcx, [rbp + 0x120]
mov edx, 0xf
call fcn.00412df0
lea rcx, [rbp + 0x198]
call fcn.00412d10
lea rcx, [rbp + 0x1a0]
mov edx, 2
call fcn.00412df0
lea rcx, [rbp + 0x1b0]
call fcn.00412d10
lea rcx, [rbp + 0x1b8]
mov edx, 4
call fcn.00412df0
lea rcx, [rbp + 0x218]
mov edx, 3
call fcn.00412df0
lea rcx, [rbp + 0x298]
call fcn.00412d10
lea rcx, [rbp + 0x2e0]
mov edx, 3
call fcn.00412df0
lea rcx, [rbp + 0x300]
mov edx, 3
call fcn.00412df0
movzx rax, byte [rbp + 0x277]
lea rsp, [rbp + 0x2b8]
pop rbx
pop rbp
ret