Function at 0x14000a400
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 [0x14002b028]
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 0x14000a47b
add r8, qword [rdx]
mov rdx, qword [rdx]
jmp 0x14000a47e
add r8, r15
lea rcx, [rbp + 0x50]
call fcn.14000d420
nop
lea r12, [r14 + 0x10]
mov qword [rsp + 0x40], r12
mov r8, qword [r12]
cmp qword [r14 + 0x18], 0x10
jb 0x14000a4a4
add r8, qword [r14]
mov rdx, qword [r14]
jmp 0x14000a4aa
add r8, r14
mov rdx, r14
lea rcx, [rbp + 0x30]
call fcn.14000d420
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14000a4cc
add r8, qword [rdi]
mov rdx, qword [rdi]
mov qword [rsp + 0x40], r12
jmp 0x14000a4d2
add r8, rdi
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.14000d420
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, [0x140023510]
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 0x14000a756
nop dword [rax]
cmp dword [rbp - 0x40], 0
jbe 0x14000a756
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 0x14000a630
mov byte [rbp + 0x470], dl
lea rax, [rbp + 0x70]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x14000a693
mov rax, r8
sub rax, rbx
cmp rax, rcx
jb 0x14000abe0
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.14000e880
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14000a710
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a70b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a963
call fcn.14001e2dc
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 0x14000a756
movabs r8, 0x7fffffffffffffff
jmp 0x14000a610
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, [0x140022835]
lea rcx, [rsp + 0x70]
call fcn.14000e880
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.140001c30
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000a7f4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a7ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a7ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
movdqa xmm0, xmmword [0x140024860]
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 0x14000abd4
mov qword [rsp + 0x68], 7
cmp rsi, 8
jae 0x14000a869
mov qword [rsp + 0x60], rsi
lea r8d, [rdx + 0x10]
mov rdx, r12
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memmove
jmp 0x14000a91a
mov rax, rsi
or rax, 7
cmp rax, rbx
jbe 0x14000a885
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14000a8b7
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000abda
add rcx, rcx
cmp rcx, 0x1000
jb 0x14000a8e9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000abda
mov rcx, rax
call fcn.14001e2a0
mov rcx, rax
test rax, rax
je 0x14000a8e2
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000a8f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14000a8f5
call fcn.14001e2a0
jmp 0x14000a8f8
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.140001b30
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x14000a96f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a96a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a96a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
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 0x14000a9c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a9bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a9bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
movdqa xmm0, xmmword [0x140024850]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], si
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x14000aa18
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000aa13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000aa13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
movdqa xmm0, xmmword [0x140024850]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], si
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x14000aa6c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000aa67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000aa67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
movdqa xmm0, xmmword [0x140024850]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], si
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14000aabc
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000aab6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000aab6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e2dc
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x14000aaf6
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x14000aaf1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000abbf
mov rcx, r8
call fcn.14001e2dc
mov qword [r13], rsi
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14000ab40
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x14000ab3b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000abc6
mov rcx, r8
call fcn.14001e2dc
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 0x14000ab8a
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000ab85
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000abcd
mov rcx, r8
call fcn.14001e2dc
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.14001e280
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.140001280
int3
call fcn.1400011e0
nop
call fcn.140001280
int3