Function at 0x14008d230
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xd0
mov rax, qword [0x14014c040]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, r9
mov r12d, r8d
mov rdi, rdx
mov rsi, qword [rbp + 0x7f]
mov qword [rbp - 0x79], rdx
mov r14, qword [rbp + 0x6f]
mov r15, qword [rbp + 0x77]
xor r13d, r13d
mov edx, 8
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401e4cf0], eax
jle 0x14008d2bf
lea rcx, [0x1401e4cf0]
call fcn.1400eb608
cmp dword [0x1401e4cf0], 0xffffffff
jne 0x14008d2bf
lea rcx, [0x1400f0350]
call fcn.1400eb9b4
lea rcx, [0x1401e4cf0]
call fcn.1400eb59c
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x140138858]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [0x1401e48d8], rax
test rax, rax
jne 0x14008d30a
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
xor r8d, r8d
lea rdx, [0x14010eded]
mov rcx, rdi
call fcn.140002b40
jmp 0x14008d7b0
cmp qword [rbx + 0x18], 0xf
jbe 0x14008d314
mov rbx, qword [rbx]
mov r8d, 0x1bb
mov qword [rsp + 0x38], 1
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [0x1401e48e0], rax
xorps xmm0, xmm0
test rax, rax
je 0x14008d2e8
lea rax, [0x140138874]
lea rdx, str.POST
test r12d, r12d
cmove rdx, rax
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], r13
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r13b
jne 0x14008d380
lea rcx, [rbp - 0x21]
call fcn.140002b40
nop
cmp qword [r14 + 0x18], 0xf
jbe 0x14008d39d
mov r14, qword [r14]
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rdx, qword [rbp - 0x21]
mov qword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0xc80100
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, str.HTTP_1.0
mov r8, r14
mov rcx, qword [0x1401e48e0]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r10, rax
mov qword [0x1401e48e8], rax
xorps xmm0, xmm0
test rax, rax
jne 0x14008d411
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
xor r8d, r8d
lea rdx, [0x14010eded]
mov rcx, rdi
call fcn.140002b40
jmp 0x14008d7a7
xor eax, eax
movups xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x61], rax
cmp qword [rsi + 0x18], 0xf
jbe 0x14008d42e
mov rbx, qword [rsi]
add rbx, qword [rsi + 0x10]
mov rsi, qword [rsi]
jmp 0x14008d435
mov rbx, qword [rsi + 0x10]
add rbx, rsi
movdqu xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x61], r13
sub rbx, rsi
movabs r12, 0x7fffffffffffffff
je 0x14008d4be
cmp rbx, r12
ja 0x14008d7e6
cmp rbx, 0x1000
jb 0x14008d48b
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14008d7ec
call fcn.1400eb680
mov rcx, rax
test rax, rax
je 0x14008d78f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14008d493
mov rcx, rbx
call fcn.1400eb680
mov qword [rbp - 0x71], rax
mov qword [rbp - 0x69], rax
lea r14, [rax + rbx]
mov qword [rbp - 0x61], r14
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x69], r14
mov r10, qword [0x1401e48e8]
jmp 0x14008d4c2
mov r14, qword [rbp - 0x69]
mov r9, qword [rbp - 0x71]
sub r14, r9
mov r8d, dword [r15 + 0x10]
cmp qword [r15 + 0x18], 0xf
jbe 0x14008d4d7
mov r15, qword [r15]
mov dword [rsp + 0x20], r14d
mov rdx, r15
mov rcx, r10
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x14008d73d
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
mov qword [rbp - 0x49], r13
mov dword [rbp - 0x7d], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x7d]
mov rcx, qword [0x1401e48e8]
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [rbp - 0x7d]
test eax, eax
je 0x14008d58e
nop
mov ecx, eax
call fcn.1400ebe48
mov rbx, rax
mov dword [rbp - 0x79], r13d
lea r9, [rbp - 0x79]
mov r8d, dword [rbp - 0x7d]
mov rdx, rax
mov rcx, qword [0x1401e48e8]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14008d586
mov r9d, dword [rbp - 0x79]
mov r8, rbx
mov rdx, qword [rbp - 0x51]
lea rcx, [rbp - 0x59]
call fcn.14008d800
mov rcx, rbx
call fcn.1400eb9cc
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x7d]
mov rcx, qword [0x1401e48e8]
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [rbp - 0x7d]
test eax, eax
jne 0x14008d520
jmp 0x14008d58e
mov rcx, rbx
call fcn.1400eb9cc
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov r15, qword [rbp - 0x59]
mov r14, qword [rbp - 0x51]
cmp r15, r14
jne 0x14008d5b7
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x29], 0xf
mov byte [rbp - 0x41], 0
jmp 0x14008d68f
sub r14, r15
mov esi, 0xf
mov qword [rbp - 0x29], rsi
cmp r14, r12
ja 0x14008d7da
cmp r14, rsi
jbe 0x14008d668
mov rsi, r14
or rsi, 0xf
cmp rsi, r12
jbe 0x14008d618
mov rsi, r12
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400eb680
mov rcx, rax
test rax, rax
je 0x14008d640
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x29], rsi
jmp 0x14008d66c
mov eax, 0x16
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x14008d647
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14008d7e0
jmp 0x14008d5f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14008d65b
call fcn.1400eb680
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x29], rsi
jmp 0x14008d66c
mov rax, r13
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x29], rsi
jmp 0x14008d66c
mov rax, qword [rbp - 0x41]
lea rbx, [rbp - 0x41]
cmp rsi, 0xf
cmova rbx, rax
mov r8, r14
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x31], r14
mov byte [rbx + r14], 0
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x31]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x29], 0xf
mov byte [rbp - 0x41], 0
lea rcx, [rbp - 0x41]
call fcn.14000d480
nop
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x14008d701
mov rdx, qword [rbp - 0x49]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d6f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008d6f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400eb9cc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r13
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14008d7a7
mov rdx, qword [rbp - 0x61]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d796
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008d796
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
xor r8d, r8d
lea rdx, [0x14010eded]
mov rcx, rdi
call fcn.140002b40
nop
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14008d7a7
mov rdx, qword [rbp - 0x61]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d796
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008d796
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400eb9cc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x61], r13
lea rcx, [rbp - 0x21]
call fcn.14000d480
mov rax, rdi
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1400eb540
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400016b0
nop
call fcn.140001600
nop
call fcn.14000b790
int3
call fcn.140001600
int3