Function at 0x14006cca0
Capabilities:
Prepare http request

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rsi, qword [rbp + 0x80]
mov r15, qword [rbp + 0x88]
mov qword [rbp - 0x50], r15
mov r12, qword [rbp + 0x90]
mov qword [rbp - 0x48], r12
mov rdi, qword [rbp + 0x98]
mov r14, qword [rbp + 0xa0]
mov dword [rsp + 0x60], 0
mov rcx, rsi
call fcn.14006cb90
mov rdx, r15
mov rcx, rsi
call fcn.14003bef0
mov rdx, r12
lea rcx, [rsi + 0x10]
call fcn.14003bef0
cmp qword [rdi + 0x78], 0
jne 0x14006cd5a
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140156bc0]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov ebx, 1
jmp 0x14006cd6f
lea r8, [rdi + 0x68]
mov dl, 0x3f
lea rcx, [rsp + 0x68]
call fcn.140048c70
mov ebx, 2
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or ebx, 4
test bl, 2
je 0x14006cda7
and ebx, 0xfffffffd
lea rcx, [rsp + 0x68]
call fcn.140026240
nop
test bl, 1
je 0x14006cdb7
lea rcx, [rsp + 0x40]
call fcn.140026240
nop
lea rdx, [rdi + 0x48]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14006cdc9
mov rdx, qword [rdx]
mov r9d, 0xfde9
lea rcx, [rbp - 0x70]
call fcn.14000c710
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
mov dword [rsp + 0x20], 0xfde9
mov r8, qword [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.14000c4d0
nop
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x20]
lea rcx, [rbp + 8]
call fcn.140061410
nop
lea rcx, [rbp - 0x20]
call fcn.140026240
nop
lea rcx, [rbp - 0x70]
call fcn.14000c080
nop
lea rcx, [rbp - 0x40]
call fcn.140026240
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14006ce3a
mov rdi, qword [rdi]
cmp r8, 5
jne 0x14006ce58
lea rdx, str.https
mov rcx, rdi
call fcn.1400fe570
test eax, eax
mov ebx, 0x800040
je 0x14006ce5d
mov ebx, 0x40
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rdx, qword [rbp + 8]
mov r9d, 0xfde9
mov r8, qword [rbp + 0x18]
lea rcx, [rsp + 0x40]
call fcn.14000c710
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova r8, qword [rsp + 0x40]
cmp qword [r14 + 0x18], 7
jbe 0x14006ce9a
mov r14, qword [r14]
mov dword [rsp + 0x30], ebx
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rdx, r14
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsi + 0x20], rax
lea rcx, [rsp + 0x40]
call fcn.14000c080
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14006cf7c
mov qword [rbp], rsi
mov r9d, 8
lea r8, [rbp]
lea edx, [r9 + 0x25]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x14006cfa7
xor r9d, r9d
mov r8d, 0xffffffff
lea rdx, [0x14006d470]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
je 0x14006cf50
lea rcx, [rbp + 8]
call fcn.140026240
nop
mov rcx, r15
call fcn.14000d280
nop
mov rcx, r12
call fcn.14000d280
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1400b89f0
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea r8, str.Unable_to_set_WinHTTP_status_callback_
lea rcx, [rsp + 0x68]
call fcn.1400aa730
lea rdx, [0x140172368]
lea rcx, [rsp + 0x68]
call fcn.1400bb9a0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_initialize_WinHTTP_request_
lea rcx, [rsp + 0x68]
call fcn.1400aa730
lea rdx, [0x140172368]
lea rcx, [rsp + 0x68]
call fcn.1400bb9a0
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_set_WinHTTP_context_
lea rcx, [rsp + 0x68]
call fcn.1400aa730
lea rdx, [0x140172368]
lea rcx, [rsp + 0x68]
call fcn.1400bb9a0
int3