Function at 0x180001eb0
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
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x180048040]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r9, r8
mov rsi, rcx
mov rbx, qword [rbp + 0x400]
mov qword [rsp + 0x48], rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
cmp qword [r8 + 0x18], 0xf
jbe 0x180001f15
mov r8, qword [r8]
add r8, qword [r9 + 0x10]
mov r9, qword [r9]
jmp 0x180001f1c
mov r8, qword [r8 + 0x10]
add r8, r9
mov rdx, r9
lea rcx, [rsp + 0x78]
call fcn.18000d910
nop
lea rdi, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rdi, qword [rsp + 0x78]
cmp qword [rbx + 0x18], 0xf
jbe 0x180001f4d
mov r8, qword [rbx]
add r8, qword [rbx + 0x10]
mov rbx, qword [rbx]
jmp 0x180001f54
mov r8, qword [rbx + 0x10]
add r8, rbx
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.18000d910
nop
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rbx, qword [rsp + 0x58]
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_105.0.0.0_Safari_537.36
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r15, rax
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 rdx, rdi
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r12, rax
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, rbx
lea rdx, [0x180040500]
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r14, rax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpSendRequestW]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], SafeArrayGetLBound
mov byte [rsi], 0
mov dword [rsp + 0x40], 1
lea r9, [rsp + 0x50]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1800020be
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1800020be
mov ebx, eax
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rbx, rax
ja 0x18000208b
lea rax, [rcx + rbx]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x180002072
mov rax, qword [rsi]
lea rdi, [rax + rcx]
mov r8, rbx
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.180032950
mov byte [rdi + rbx], 0
jmp 0x1800020a2
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x60]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.18000dfd0
lea r9, [rsp + 0x50]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180002041
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x18000211c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002117
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800021a6
call fcn.180012dd0
movdqa xmm0, xmmword [0x180041210]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r13w
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x18000216d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002168
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800021a0
call fcn.180012dd0
mov rax, rsi
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.180012db0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18001be88
nop
call fcn.18001be88
int3