Function at 0x140197fd0
Capabilities:
Prepare http request
Receive http response
Set http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov rax, qword [0x140713740]
xor rax, rsp
mov qword [rbp - 0x19], rax
mov rbx, r9
mov r13, r8
mov rdi, rdx
mov r14, rcx
mov qword [rbp - 0x71], rdx
mov r12, qword [rbp + 0x77]
xor sil, sil
cmp qword [rcx], 0
je 0x140198181
xor eax, eax
mov word [rbp - 0x79], ax
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
movdqa xmm6, xmmword [0x140539e60]
movdqu xmmword [rbp - 0x39], xmm6
mov word [rbp - 0x49], ax
movups xmmword [rbp - 0x69], xmm0
movdqu xmmword [rbp - 0x59], xmm6
mov word [rbp - 0x69], ax
lea r9, [rbp - 0x79]
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x49]
mov rcx, rdi
call fcn.140197a10
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rdx, qword [rbp - 0x49]
xor r9d, r9d
movzx r8d, word [rbp - 0x79]
mov rcx, qword [r14]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r15, rax
test rax, rax
je 0x1401980ed
lea rax, [0x14042e420]
mov qword [rbp - 0x29], rax
xor eax, eax
mov qword [rbp - 0x21], rax
mov edx, 0x1bb
mov ecx, eax
mov eax, 0x800000
cmp word [rbp - 0x79], dx
cmove ecx, eax
mov rax, qword [r14 + 8]
lea r8, [rbp - 0x69]
cmp qword [rbp - 0x51], 7
cmova r8, qword [rbp - 0x69]
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, str.HTTP_1.1
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
test rax, rax
jne 0x140198190
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x14019812d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140198128
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401982e0
call fcn.1403e5198
xor ebx, ebx
mov word [rbp - 0x69], bx
movdqu xmmword [rbp - 0x59], xmm6
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x140198178
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140198173
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401982da
call fcn.1403e5198
movdqu xmmword [rbp - 0x39], xmm6
mov word [rbp - 0x49], bx
mov rcx, rdi
call fcn.1400fdd00
xor al, al
jmp 0x1401982b2
mov r9d, 0x20000000
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_x_www_form_urlencoded
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x140198203
xor eax, eax
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x7f]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r9, r12
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140198203
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140198203
mov rdx, r13
mov rcx, rbx
call fcn.140197eb0
mov dword [r14 + 0x18], eax
movzx esi, sil
mov ecx, 1
test eax, eax
cmovne esi, ecx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x140198256
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140198251
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401982e0
call fcn.1403e5198
movdqu xmmword [rbp - 0x59], xmm6
xor ebx, ebx
mov word [rbp - 0x69], bx
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x14019829d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140198298
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401982da
call fcn.1403e5198
movdqu xmmword [rbp - 0x39], xmm6
mov word [rbp - 0x49], bx
mov rcx, rdi
call fcn.1400fdd00
movzx eax, sil
mov rcx, qword [rbp - 0x19]
xor rcx, rsp
call fcn.1403e5550
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1403eb834
nop
call fcn.1403eb834
int3