Function at 0x140063960
Capabilities:
Create http request
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1400f5608]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rdi, r8
xor r15d, r15d
mov qword [rsp + 0x50], r15
movdqa xmm0, xmmword [0x1400c2570]
movdqa xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], r15b
mov qword [rsp + 0x70], r15
movdqa xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], r15b
mov qword [rbp - 0x70], r15
movdqa xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], r15b
mov qword [rbp - 0x50], r15
movdqa xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], r15b
mov qword [rbp - 0x30], r15
movdqa xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], r15b
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp], r15
mov qword [rbp + 8], r15
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], shutdown
mov byte [rbp + 8], r15b
lea rcx, [rbp + 0x28]
call fcn.140004fa0
mov word [rbp + 0x48], r15w
mov byte [rbp + 0x4a], 0xff
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Statistics
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
je 0x140063c64
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400633d0
mov r14, rax
test rax, rax
je 0x140063c5b
lea rax, str.application_json
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r15
movzx r8d, byte [rbp + 0x48]
test r8b, r8b
jne 0x140063a7b
lea rcx, [rsp + 0x50]
call fcn.140065350
movzx r8d, byte [rbp + 0x48]
lea rdx, [rsp + 0x50]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x68]
cmp r10, 0x10
cmovae rdx, r9
mov r11, qword [rsp + 0x60]
cmp r11, 4
jne 0x140063ad8
mov rcx, r15
lea rbx, str.http
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x140063ac8
cmp rcx, 4
jne 0x140063ab0
mov eax, r15d
jmp 0x140063acd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140063ad8
mov ebx, 0x400000
jmp 0x140063b4b
test r8b, r8b
jne 0x140063afb
lea rcx, [rsp + 0x50]
call fcn.140065350
movzx r8d, byte [rbp + 0x48]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x60]
mov r9, qword [rsp + 0x50]
lea rdx, [rsp + 0x50]
cmp r10, 0x10
cmovae rdx, r9
cmp r11, 5
jne 0x140063ca1
mov rcx, r15
lea r9, str.https
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x140063b39
cmp rcx, 5
jne 0x140063b20
mov eax, r15d
jmp 0x140063b3e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140063ca1
mov ebx, 0xc00000
test r8b, r8b
jne 0x140063b5a
lea rcx, [rsp + 0x50]
call fcn.140065350
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae r8, qword [rbp - 0x30]
mov qword [rsp + 0x38], 1
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea rdx, str.POST
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
test rax, rax
je 0x140063c52
mov r9d, 0x20000000
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_json_r_n
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140063bcc
mov r9, qword [rdi]
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x20], eax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
setne dil
test eax, eax
je 0x140063c30
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.140063620
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x140063c35
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063c29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140063c9b
call fcn.14008b4c8
jmp 0x140063c35
call fcn.1400630e0
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140063c67
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor dil, dil
lea rcx, [rsp + 0x50]
call fcn.140005b00
movzx eax, dil
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14008bad0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140091b3c
nop
lea rcx, [rsp + 0x50]
call fcn.14000dac0
mov r8, rax
lea rdx, str.Send_PostRequest_failed:_use_unsupported_protocol_
lea rcx, [rbp + 0x70]
call fcn.14001f4e0
nop
lea rcx, [rbp + 0x70]
call fcn.14000b590
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.14000fec0
lea rdx, [0x1400f2890]
lea rcx, [rbp + 0x50]
call fcn.14008c6e0
int3