Function at 0x14001c4c0
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Reference http user-agent string
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 - 0x38]
sub rsp, 0x138
mov rax, qword [0x140084a00]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov qword [rsp + 0x70], r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x60], rcx
mov rsi, qword [rbp + 0xa0]
xor r15d, r15d
lea rax, str.application_json
mov qword [rbp - 0x50], rax
lea rax, str.text_plain
mov qword [rbp - 0x48], rax
lea rax, [0x1400786e4]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], r15
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 1]
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_124.0.0.0_Safari_537.36_537.36
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x14001c56e
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov r15d, 0xf
mov qword [r14 + 0x18], r15
mov byte [r14], al
jmp 0x14001c9c1
cmp qword [rbx + 0x18], 0xf
jbe 0x14001c578
mov rbx, qword [rbx]
mov r8d, 0x1bb
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x14001c5da
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov r15d, 0xf
mov qword [r14 + 0x18], r15
mov byte [r14], al
mov rcx, r13
mov rax, qword [0x140078800]
call rax
nop
jmp 0x14001c9c1
cmp qword [rdi + 0x18], 0xf
jbe 0x14001c5e4
mov rdi, qword [rdi]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x84880100
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rdi
lea rdx, str.POST
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r13, rax
mov qword [rbp - 0x58], rax
test rax, rax
jne 0x14001c65a
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov r15d, 0xf
mov qword [r14 + 0x18], r15
mov byte [r14], al
mov rcx, r12
mov rax, qword [0x140078800]
call rax
nop
mov rcx, qword [rsp + 0x78]
mov rax, qword [0x140078800]
call rax
nop
jmp 0x14001c9c1
mov qword [rbp - 0x30], r15
mov dword [rsp + 0x68], 8
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x30]
mov edx, 0x13
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
xorps xmm0, xmm0
test eax, eax
jne 0x14001c6cc
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov r15d, 0xf
mov qword [r14 + 0x18], r15
mov byte [r14], al
mov rcx, r13
mov rax, qword [0x140078800]
call rax
nop
mov rcx, r12
mov rax, qword [0x140078800]
call rax
nop
mov rcx, qword [rsp + 0x78]
mov rax, qword [0x140078800]
call rax
nop
jmp 0x14001c9c1
movups xmmword [rbp - 0x80], xmm0
mov r12, r15
mov qword [rbp - 0x70], r15
mov r15d, 0xf
mov qword [rbp - 0x68], r15
mov byte [rbp - 0x80], r12b
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov dword [rsp + 0x6c], 0x40
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x6c]
lea r8, [rbp - 0x20]
lea edx, [r15 - 0xa]
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x14001c74a
xor edx, edx
lea r8d, [r15 - 5]
lea rcx, [rbp - 0x20]
call fcn.140025124
mov edx, eax
cmp rdx, r15
jbe 0x14001c74a
lea rcx, [rbp - 0x80]
call fcn.14000db70
xor r12d, r12d
mov qword [rbp - 0x70], r12
mov r15, qword [rbp - 0x68]
mov ecx, dword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x14001c757
mov rsi, qword [rsi]
mov rax, qword [rsp + 0x70]
mov r8d, dword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14001c76a
mov rax, qword [rax]
mov dword [rsp + 0x20], ecx
mov r9, rsi
mov rdx, rax
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x14001c976
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x14001c976
movzx ebx, byte [rsp + 0x40]
nop word [rax + rax]
mov r8d, dword [rsp + 0x48]
test r8d, r8d
je 0x14001c976
xorps xmm0, xmm0
xor eax, eax
mov esi, r8d
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
test r8d, r8d
je 0x14001c838
cmp r8, 0x1000
jb 0x14001c80b
lea rcx, [r8 + 0x27]
cmp rcx, r8
jbe 0x14001c9ea
call fcn.14003cb40
mov rcx, rax
test rax, rax
je 0x14001c9e4
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14001c813
mov rcx, rsi
call fcn.14003cb40
mov qword [rsp + 0x50], rax
lea rdi, [rax + rsi]
mov qword [rsp + 0x60], rdi
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.140048bc0
mov qword [rsp + 0x58], rdi
mov r8d, dword [rsp + 0x48]
lea r9, [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14001c928
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x14001c928
mov esi, eax
mov rax, r15
sub rax, r12
cmp rsi, rax
ja 0x14001c89a
lea rax, [rsi + r12]
mov qword [rbp - 0x70], rax
lea rdi, [rbp - 0x80]
cmp r15, 0xf
cmova rdi, qword [rbp - 0x80]
add rdi, r12
mov r8d, esi
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.140048f80
mov byte [rsi + rdi], 0
jmp 0x14001c8b5
mov qword [rsp + 0x20], rsi
mov r9, qword [rsp + 0x50]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.14001be10
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001c903
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c8ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c9e4
call fcn.14003cc54
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x14001c976
mov r15, qword [rbp - 0x68]
mov r12, qword [rbp - 0x70]
jmp 0x14001c7b0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001c976
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c95f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c9e4
call fcn.14003cc54
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov qword [r14 + 0x10], 0
mov qword [r14 + 0x18], 0
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [r14 + 0x10], xmm1
mov rcx, r13
mov rax, qword [0x140078800]
call rax
nop
mov rcx, qword [rbp - 0x60]
mov rax, qword [0x140078800]
call rax
nop
mov rcx, qword [rsp + 0x78]
mov rax, qword [0x140078800]
call rax
nop
mov rax, r14
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14003cb20
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14002433c
nop
call fcn.140003060
int3