Function at 0x14000aac0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x898]
sub rsp, 0x998
mov rax, qword [0x14002c028]
xor rax, rsp
mov qword [rbp + 0x880], rax
mov rdi, r9
mov r14, r8
mov r15, rdx
mov qword [rbp - 0x60], rcx
mov qword [rsp + 0x48], rcx
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], r8
mov qword [rbp - 0x48], r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xor ebx, ebx
mov qword [rbp - 0x28], rbx
mov esi, 0xf
mov qword [rbp - 0x20], rsi
mov byte [rbp - 0x38], bl
lea r13, [rdx + 0x10]
mov r8, qword [r13]
cmp qword [rdx + 0x18], 0x10
jb 0x14000ab3b
add r8, qword [rdx]
mov rdx, qword [rdx]
jmp 0x14000ab3e
add r8, r15
lea rcx, [rbp + 0x50]
call fcn.14000db70
nop
lea r12, [r14 + 0x10]
mov qword [rsp + 0x40], r12
mov r8, qword [r12]
cmp qword [r14 + 0x18], 0x10
jb 0x14000ab64
add r8, qword [r14]
mov rdx, qword [r14]
jmp 0x14000ab6a
add r8, r14
mov rdx, r14
lea rcx, [rbp + 0x30]
call fcn.14000db70
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14000ab8c
add r8, qword [rdi]
mov rdx, qword [rdi]
mov qword [rsp + 0x40], r12
jmp 0x14000ab92
add r8, rdi
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.14000db70
nop
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rcx, qword [rbp + 0x50]
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r12, rax
mov qword [rsp + 0x48], rax
mov dword [rbp - 0x18], 0x3100
mov r9d, 4
lea r8, [rbp - 0x18]
lea edx, [r9 + 0x1b]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionW]
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
xor eax, eax
mov r8d, 0x1bb
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rbp - 0x68], rax
lea r8, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae r8, qword [rbp + 0x10]
mov qword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0x800000
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea rdx, [0x1400245b0]
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r12, rax
mov r9d, 0xa0000000
mov r8d, 0x20
lea rdx, str.Content_Type:_application_json_r_n
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [rbp - 0x40], 0
lea r9, [rbp - 0x40]
mov r8d, 0x400
lea rdx, [rbp + 0x480]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
movabs r8, 0x7fffffffffffffff
test eax, eax
je 0x14000ae16
nop dword [rax]
cmp dword [rbp - 0x40], 0
jbe 0x14000ae16
lea rcx, [rbp + 0x70]
lea rax, [rbp + 0x480]
mov edx, 8
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x14000acf0
mov byte [rbp + 0x470], dl
lea rax, [rbp + 0x70]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x14000ad53
mov rax, r8
sub rax, rbx
cmp rax, rcx
jb 0x14000b2a0
lea r9, [rbp - 0x38]
cmp rsi, 0x10
cmovae r9, qword [rbp - 0x38]
mov qword [rsp + 0x30], rcx
lea rax, [rbp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x70]
call fcn.14000f020
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14000add0
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000adcb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b023
call fcn.14001f0bc
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rbp - 0x28], xmm1
lea r9, [rbp - 0x40]
mov r8d, 0x400
lea rdx, [rbp + 0x480]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov rsi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x28]
test eax, eax
je 0x14000ae16
movabs r8, 0x7fffffffffffffff
jmp 0x14000acd0
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rax, [rbp - 0x38]
cmp rsi, 0x10
cmovae rax, qword [rbp - 0x38]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [0x1400238d5]
lea rcx, [rsp + 0x70]
call fcn.14000f020
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.1400022f0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000aeb4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000aeaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000aeaf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
movdqa xmm0, xmmword [0x140025670]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor edx, edx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rdx
lea r12, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae r12, qword [rbp - 0x10]
mov rsi, qword [rbp]
movabs rbx, 0x7ffffffffffffffe
cmp rsi, rbx
ja 0x14000b294
mov qword [rsp + 0x68], 7
cmp rsi, 8
jae 0x14000af29
mov qword [rsp + 0x60], rsi
lea r8d, [rdx + 0x10]
mov rdx, r12
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memmove
jmp 0x14000afda
mov rax, rsi
or rax, 7
cmp rax, rbx
jbe 0x14000af45
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14000af77
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000b29a
add rcx, rcx
cmp rcx, 0x1000
jb 0x14000afa9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000b29a
mov rcx, rax
call fcn.14001f080
mov rcx, rax
test rax, rax
je 0x14000afa2
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000afb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14000afb5
call fcn.14001f080
jmp 0x14000afb8
mov rax, rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rbx
lea r8, [rsi*2 + 2]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsp + 0x50]
mov rbx, qword [rbp - 0x60]
mov rcx, rbx
call fcn.1400021f0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x14000b02f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b02a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b02a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
xor esi, esi
mov qword [rbp], rsi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], si
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x14000b084
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b07f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b07f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
movdqa xmm0, xmmword [0x140025660]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], si
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x14000b0d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b0d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b0d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
movdqa xmm0, xmmword [0x140025660]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], si
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x14000b12c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b127
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b127
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
movdqa xmm0, xmmword [0x140025660]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], si
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14000b17c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b176
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b176
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14000b1b6
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x14000b1b1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b27f
mov rcx, r8
call fcn.14001f0bc
mov qword [r13], rsi
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14000b200
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x14000b1fb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b286
mov rcx, r8
call fcn.14001f0bc
mov rax, qword [rsp + 0x40]
mov qword [rax], rsi
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000b24a
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000b245
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b28d
mov rcx, r8
call fcn.14001f0bc
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rax, rbx
mov rcx, qword [rbp + 0x880]
xor rcx, rsp
call fcn.14001f060
add rsp, 0x998
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001940
int3
call fcn.1400018a0
nop
call fcn.140001940
int3