Function at 0x140001a70
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Set http header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400604c0]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140001ec1
cmp qword [rbx + 0x18], 7
jbe 0x140001ad8
mov rbx, qword [rbx]
mov r8d, 0x1388
xor r9d, r9d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r15, rax
test rax, rax
je 0x140001eb8
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, str._send_response
lea rdx, str.POST
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
je 0x140001eaf
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
lea rcx, [rbp - 0x30]
call fcn.140004070
nop
mov r8, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140001b6a
mov r8, qword [rdi]
mov rax, qword [rdi + 0x10]
lea r9, [r8 + rax*2]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140004590
nop
lea rcx, [rbp - 0x30]
call fcn.140003f80
nop
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140004430
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
mov r9, qword [rbp - 0x80]
add r9, rdx
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
cmp rax, r9
je 0x140001bd4
cmp byte [rax], 0xa
jne 0x140001bcc
mov byte [rax], 0x20
inc rax
cmp rax, r9
jne 0x140001bc4
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140001c0f
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ef4
call fcn.14002d3cc
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp - 0x40], xmm0
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
movq r12, xmm0
sub rax, r12
cmp rax, 0xe
jb 0x140001efa
lea rdx, [rbp - 0x50]
movq rsi, xmm1
psrldq xmm0, 8
movq r13, xmm0
cmp r13, 0xf
cmova rdx, rsi
mov qword [rsp + 0x40], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [r12 + 0xe]
mov ebx, 0xf
lea rdi, [rsp + 0x50]
cmp rax, rbx
jbe 0x140001d0c
mov rbx, rax
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001cc4
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14002d390
test rax, rax
je 0x140001f00
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001cfd
mov ecx, 0x16
cmp rbx, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140001cdd
xor edi, edi
jmp 0x140001d07
cmp rcx, 0x1000
jb 0x140001cf5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001eee
jmp 0x140001ca5
call fcn.14002d390
mov rdi, rax
mov rdx, qword [rsp + 0x40]
lea rax, [r12 + 0xe]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
movsd xmm0, qword [str._response_:__]
movsd qword [rdi], xmm0
mov ecx, dword [0x140060528]
mov dword [rdi + 8], ecx
movzx eax, word [0x14006052c]
mov word [rdi + 0xc], ax
lea rcx, [rdi + 0xe]
mov r8, r12
call fcn.1400512a0
mov byte [rdi + r12 + 0xe], 0
mov r8d, 2
lea rdx, [0x14006051c]
lea rcx, [rsp + 0x50]
call fcn.140002150
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140001dcb
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001f00
call fcn.14002d3cc
mov ebx, dword [rbp - 0x60]
mov r9d, 0x20000000
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_json
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140001e22
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140001e66
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001f06
call fcn.14002d3cc
movdqa xmm0, xmmword [0x140060680]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
cmp r13, 0xf
jbe 0x140001eaa
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001ea2
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ee8
mov rcx, rsi
call fcn.14002d3cc
mov rsi, qword [rsp + 0x48]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14002d370
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140033154
nop
call fcn.140001170
nop
call fcn.140033154
int3
call fcn.140001210
int3
call fcn.140033154
int3
call fcn.140033154
int3