Function at 0x180003210
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x180047058]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rsi, r8
mov r14, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x58], r8
mov r15, qword [rbp + 0x428]
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov qword [rcx], r13
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r13b
mov dword [rsp + 0x40], 1
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], r13b
lea r8d, [r13 + 0x63]
lea rdx, str.Mozilla_5.0__Windows_NT_10.0__AppleWebKit_537.39__KHTML__like_Gecko__Chrome_104.0.0.3_Safari_537.39
lea rcx, [rbp - 0x78]
call fcn.18000a920
nop
lea rcx, [rbp - 0x78]
mov r9, qword [rbp - 0x78]
mov r10, qword [rbp - 0x60]
cmp r10, 0x10
cmovae rcx, r9
mov rdi, qword [rbp - 0x68]
add rdi, rcx
lea rbx, [rbp - 0x78]
cmp r10, 0x10
cmovae rbx, r9
mov qword [rsp + 0x68], r13
mov ecx, r13d
mov qword [rsp + 0x78], rcx
mov r8d, 7
mov qword [rbp - 0x80], r8
mov word [rsp + 0x68], r13w
mov rdx, rdi
sub rdx, rbx
cmp rdx, 8
jb 0x180003310
lea rcx, [rsp + 0x68]
call fcn.18000c850
mov ecx, r13d
mov qword [rsp + 0x78], rcx
mov r10, qword [rbp - 0x60]
mov r9, qword [rbp - 0x78]
mov r8, qword [rbp - 0x80]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
cmp rbx, rdi
je 0x18000337a
nop
movsx r9d, byte [rbx]
cmp rcx, r8
jae 0x18000334e
lea rax, [rcx + 1]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp r8, 8
cmovae rax, qword [rsp + 0x68]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x18000335f
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x68]
call fcn.18000c9c0
inc rbx
cmp rbx, rdi
je 0x180003372
mov r8, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
jmp 0x180003320
mov r10, qword [rbp - 0x60]
mov r9, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
cmp r10, 0x10
cmovae rcx, r9
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1800033a9
mov rdx, qword [rsi]
mov r8d, 0x1bb
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r9, qword [rsp + 0x68]
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x4843700
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov r8, r15
lea rdx, [0x18003f440]
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov rbx, rax
mov dword [rsp + 0x20], r13d
lea r9, [0x18003f2db]
mov r8d, 8
lea rdx, [0x18003f42c]
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpSendRequestW]
lea r9, [rsp + 0x60]
mov r8d, 0x3ff
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1800034a6
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1800034a6
cmp rax, 0x400
jae 0x1800035e5
mov byte [rbp + rax - 0x50], 0
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180003474
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.18000aa80
lea r9, [rsp + 0x60]
mov r8d, 0x3ff
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180003450
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x180003503
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800034fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800035df
call fcn.18000deb0
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r13w
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x180003551
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000354c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800035d3
call fcn.18000deb0
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x180003597
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x180003592
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800035d9
mov rcx, r8
call fcn.18000deb0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rax, r14
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.18000de90
mov rbx, qword [rsp + 0x508]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180015cac
nop
call fcn.180015cac
nop
call fcn.180015cac
nop
call fcn.18000e3a8
int3