Function at 0x8208c0
Capabilities:
Connect to http server

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x378
mov rbp, rsp
mov qword [rbp + 0x70], rcx
mov dword [rbp + 0x78], edx
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0x368], 0
mov qword [rbp + 0x360], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0x3b0], r8
mov qword [rbp + 0x3b8], r9
mov rax, qword [rbp + 0x3c0]
mov qword [rbp + 0x3c0], rax
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3d0], rax
mov rax, qword [rbp + 0x3d8]
mov qword [rbp + 0x3d8], rax
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3e0], rax
mov rcx, qword [rbp + 0x3b0]
call fcn.00412ee0
mov rcx, qword [rbp + 0x3b8]
call fcn.00412ee0
mov rcx, qword [rbp + 0x3c0]
call fcn.00412ee0
mov rcx, qword [rbp + 0x3d0]
call fcn.00412ee0
mov rcx, qword [rbp + 0x3d8]
call fcn.00412ee0
mov rcx, qword [rbp + 0x3e0]
call fcn.00412ee0
lea rcx, [rbp + 0xe0]
mov rdx, qword [0x0042f720]
call fcn.004151a0
nop
mov rax, qword [rbp + 0x3f8]
mov byte [rax], 0
xor eax, eax
mov byte [rbp + 0x7f], al
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax + 0xe0]
mov edx, 0x102
call fcn.0066cf80
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax + 0xe0]
mov rdx, qword [0x00921298]
call fcn.0066cf30
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax + 0xe0]
mov dl, 1
call fcn.0066cc40
mov rax, qword [rbp + 0x70]
mov rax, qword [rax + 0x150]
mov rax, qword [rax + 0x10]
cmp dword [rax + 0x10], 1
jle 0x820b09
lea rcx, [rbp + 0xb0]
mov rax, qword [rbp + 0x70]
mov edx, dword [rax + 0x7c]
call fcn.0043bfe0
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax + 0x150]
call fcn.0082e5c0
lea rcx, [rbp + 0xa8]
mov edx, eax
call fcn.0043bfe0
lea rcx, [rbp + 0xb8]
mov edx, 6
mov r8, qword [rbp + 0xb0]
lea r9, [0x00821224]
mov rax, qword [rbp + 0x70]
mov rax, qword [rax + 0x228]
mov qword [rsp + 0x20], rax
lea rax, [0x00821224]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xa8]
mov qword [rsp + 0x30], rax
lea rax, [0x00821234]
mov qword [rsp + 0x38], rax
call fcn.00414a50
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax + 0xa0]
mov rdx, qword [rbp + 0xb8]
call fcn.00602260
jmp 0x820b1b
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax + 0xa0]
xor edx, edx
call fcn.00602260
mov rax, qword [rbp + 0x70]
mov rbx, qword [rax + 0xa0]
mov rcx, rbx
lea rdx, [rbp + 0x98]
call fcn.006021f0
lea rcx, [rbp + 0x90]
mov rdx, qword [rbp + 0x3d0]
call fcn.008188c0
lea rcx, [rbp + 0xa0]
mov edx, 8
mov rax, qword [rbp + 0x70]
mov r8, qword [rax + 0x108]
lea r9, [0x00821224]
mov rax, qword [rbp + 0x98]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [0x00821224]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x70]
mov rax, qword [rax + 0x238]
mov qword [rsp + 0x38], rax
lea rax, [0x00821224]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x3c0]
mov qword [rsp + 0x48], rax
call fcn.00414a50
mov rcx, rbx
mov rdx, qword [rbp + 0xa0]
call fcn.00602260
mov rax, qword [rbp + 0x70]
cmp byte [rax + 0x242], 0
je 0x820bda
mov ebx, 0x8000000
jmp 0x820bdc
xor ebx, ebx
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x2e0]
call fcn.00412d10
cmp qword [rbp + 0x3b0], 0
je 0x820c0f
cmp qword [rbp + 0x3b8], 0
jne 0x820c5c
mov rcx, qword [rbp + 0x3c0]
call fcn.00414500
mov rcx, qword [rbp + 0x70]
mov rcx, qword [rcx + 0x158]
mov rdx, rax
movzx r8, word [rbp + 0x3c8]
xor r9, r9
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], 0
call sub.wininet.dll_InternetConnectW
mov rbx, rax
jmp 0x820cc1
mov rcx, qword [rbp + 0x3c0]
call fcn.00414500
mov rsi, rax
mov rcx, qword [rbp + 0x3b0]
call fcn.00414500
mov rdi, rax
mov rcx, qword [rbp + 0x3b8]
call fcn.00414500
mov rcx, qword [rbp + 0x70]
mov rcx, qword [rcx + 0x158]
mov rdx, rsi
movzx r8, word [rbp + 0x3c8]
mov r9, rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], 0
call sub.wininet.dll_InternetConnectW
mov rbx, rax
test rbx, rbx
jne 0x820d4e
mov rax, qword [rbp + 0x70]
cmp qword [rax + 0x160], 0
je 0x820cf7
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax + 0x168]
mov rdx, qword [rbp + 0x70]
mov r8d, 6
mov rbx, qword [rbp + 0x70]
call qword [rbx + 0x160]
mov rax, qword [rbp + 0x70]
cmp qword [rax + 0x170], 0
je 0x8210e9
lea rcx, [rbp + 0x88]
lea rdx, [0x00821248]
mov r8, qword [rbp + 0x3c0]
call fcn.00414920
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax + 0x178]
mov rdx, qword [rbp + 0x70]
mov r8d, 6
mov r9, qword [rbp + 0x88]
mov rbx, qword [rbp + 0x70]
call qword [rbx + 0x170]
jmp 0x8210e9
cmp byte [rbp + 0x400], 0
je 0x820d8d
mov rax, qword [rbp + 0x70]
mov qword [rax + 0x2d0], rbx
lea rcx, [rax + 0x2d8]
mov edx, 3
mov r8, qword [rbp + 0x3c0]
mov r9, qword [rbp + 0x3b0]
mov rax, qword [rbp + 0x3b8]
mov qword [rsp + 0x20], rax
call fcn.00414a50
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
cmp byte [rbp + 0x400], 0
je 0x820dbe
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x2e0]
mov rdx, qword [rbp + 0x3d8]
call fcn.004133a0
jmp 0x820dce
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x2e0]
call fcn.00412d10
mov dword [rbp + 0xc4], 0xff
lea rcx, [rbp + 0xc8]
mov edx, dword [rbp + 0xc4]
call fcn.00414780
mov rcx, qword [rbp + 0xc8]
call fcn.00414500
mov rcx, rbx
mov rdx, rax
lea r8, [rbp + 0xc4]
call sub.wininet.dll_FtpGetCurrentDirectoryW
mov rcx, qword [rbp + 0x3d8]
call fcn.00414500
mov rcx, rbx
mov rdx, rax
call sub.wininet.dll_FtpSetCurrentDirectoryW
test eax, eax
jne 0x820f68
lea rcx, [rbp + 0xd8]
mov rdx, qword [rbp + 0x3d8]
call fcn.00818710
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x2e0]
call fcn.00412d10
lea rcx, [0x00821290]
mov rdx, qword [rbp + 0xd8]
mov r8d, 1
call fcn.00414d80
test eax, eax
jle 0x820ecf
lea rcx, [0x00821290]
mov rdx, qword [rbp + 0xd8]
mov r8d, 1
call fcn.00414d80
lea rcx, [rbp + 0xd0]
mov rdx, qword [rbp + 0xd8]
mov r8d, 1
mov r9d, eax
sub r9d, 1
call fcn.00414b70
lea rcx, [0x00821290]
mov rdx, qword [rbp + 0xd8]
mov r8d, 1
call fcn.00414d80
lea rcx, [rbp + 0xd8]
mov edx, 1
mov r8d, eax
call fcn.00414bd0
jmp 0x820eee
lea rcx, [rbp + 0xd0]
mov rdx, qword [rbp + 0xd8]
call fcn.00413430
lea rcx, [rbp + 0xd8]
call fcn.00412d10
cmp qword [rbp + 0xd0], 0
je 0x820f5a
mov rcx, qword [rbp + 0xd0]
call fcn.00414500
mov rsi, rax
mov rcx, rbx
mov rdx, rsi
call sub.wininet.dll_FtpSetCurrentDirectoryW
test eax, eax
jne 0x820f5a
mov rcx, rbx
mov rdx, rsi
call sub.wininet.dll_FtpCreateDirectoryW
test eax, eax
jne 0x820f4f
cmp byte [rbp + 0x400], 0
jne 0x8210e9
mov rcx, rbx
call sub.wininet.dll_InternetCloseHandle
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x2d8]
call fcn.00412d10
jmp 0x8210e9
mov rcx, rbx
mov rdx, rsi
call sub.wininet.dll_FtpSetCurrentDirectoryW
cmp qword [rbp + 0xd8], 0
jne 0x820e4a
mov rax, qword [0x0091a378]
mov rcx, qword [rax]
call fcn.007397f0
lea rcx, [rbp + 0x368]
mov rdx, qword [rbp + 0x3d0]
call fcn.00413430
cmp qword [rbp + 0x3e0], 0
jne 0x820fa7
lea rcx, [rbp + 0x3e0]
mov rdx, qword [rbp + 0x3d0]
call fcn.008188c0
mov rcx, qword [rbp + 0x368]
mov edx, 0x1ff
lea r8, [rbp + 0xe0]
call fcn.0043d330
test eax, eax
jne 0x8210cb
lea rcx, [rbp + 0x360]
mov rdx, qword [rbp + 0xf8]
call fcn.0043d7a0
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x368]
call fcn.0043d590
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x360]
call fcn.00414860
mov rcx, qword [rbp + 0x70]
mov edx, dword [rbp + 0x78]
mov r8, qword [rbp + 0x3b0]
mov r9, qword [rbp + 0x3b8]
mov rax, qword [rbp + 0x3c0]
mov qword [rsp + 0x20], rax
mov eax, dword [rbp + 0x3c8]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x3d8]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x360]
mov qword [rsp + 0x40], rax
movzx rax, byte [rbp + 0x3e8]
mov byte [rsp + 0x48], al
mov rax, qword [rbp + 0x3f0]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x3f8]
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x60], 1
call fcn.008212a0
mov rax, qword [rbp + 0x70]
cmp qword [rax + 0x200], 0
je 0x8210ab
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax + 0x208]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0xf8]
mov rsi, qword [rbp + 0x70]
call qword [rsi + 0x200]
lea rcx, [rbp + 0xe0]
call fcn.0043d390
test eax, eax
je 0x820fc7
lea rcx, [rbp + 0xe0]
call fcn.0043d3c0
mov rcx, rbx
call sub.wininet.dll_InternetCloseHandle
mov rax, qword [rbp + 0x70]
lea rcx, [rax + 0x2d8]
call fcn.00412d10
mov al, 1
mov byte [rbp + 0x7f], al
nop
lea rcx, [rbp + 0x80]
mov edx, 3
call fcn.00412df0
lea rcx, [rbp + 0x98]
call fcn.00412d10
lea rcx, [rbp + 0xa0]
mov edx, 4
call fcn.00412df0
lea rcx, [rbp + 0xc8]
mov edx, 3
call fcn.00412df0
lea rcx, [rbp + 0xe0]
mov rdx, qword [0x0042f720]
call fcn.004157c0
lea rcx, [rbp + 0x360]
mov edx, 2
call fcn.00412df0
lea rcx, [rbp + 0x3b0]
mov edx, 3
call fcn.00412df0
lea rcx, [rbp + 0x3d0]
mov edx, 3
call fcn.00412df0
movzx rax, byte [rbp + 0x7f]
lea rsp, [rbp + 0x378]
pop rbx
pop rsi
pop rdi
pop rbp
ret