Function at 0x140004120
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x140052080]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r12, r8
mov qword [rbp - 0x80], r8
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x50], rdx
mov qword [rbp - 0x58], r8
mov dword [rbp - 0x50], 1
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov ebx, r13d
mov qword [rbp - 0x38], rbx
mov esi, 0xf
mov qword [rbp - 0x30], rsi
mov byte [rbp - 0x48], bl
test rax, rax
je 0x140004505
mov rdx, r12
cmp qword [r12 + 0x18], rsi
jbe 0x1400041be
mov rdx, qword [r12]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x140004505
nop dword [rax]
nop word [rax + rax]
lea r9, [rbp - 0x50]
mov r8d, 0x7d0
lea rdx, [rbp - 0x20]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp - 0x50]
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x140004242
lea rax, [rdi + rbx]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp rsi, 0xf
cmova rax, qword [rbp - 0x48]
add rbx, rax
mov r8d, edi
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.14003b5a0
mov byte [rbx + rdi], 0
jmp 0x14000425a
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x20]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.140001e10
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x20]
call fcn.14003bc40
cmp dword [rbp - 0x50], 0
je 0x14000427e
mov rsi, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x38]
jmp 0x1400041f0
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov r8d, 2
lea rdx, [0x140049e7c]
lea rcx, [rsp + 0x50]
call fcn.140001d10
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov r8d, 2
lea rdx, [0x140049e80]
lea rcx, [rsp + 0x30]
call fcn.140001d10
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call fcn.140001b10
mov r14, rax
mov qword [rsp + 0x70], rax
mov rbx, r13
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x30]
lea rsi, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rsi, rax
mov rax, qword [r14 + 0x10]
mov r13, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140004326
mov r13, qword [r14]
cmp rdi, rax
ja 0x140004393
sub rax, rdi
cmp rbx, rax
ja 0x140004393
test rdi, rdi
je 0x1400044c8
lea r15, [rax + r13]
lea rcx, [rbx + r13]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, rcx
mov edx, r12d
call fcn.14003bfe0
mov rbx, rax
test rax, rax
je 0x140004393
nop
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.14003c080
test eax, eax
je 0x1400044c5
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call fcn.14003bfe0
mov rbx, rax
test rax, rax
jne 0x140004360
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x78]
movups xmmword [rbx], xmm0
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 0xf
mov byte [r14], dil
mov rax, qword [rsp + 0x48]
cmp rax, 0xf
jbe 0x140004406
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004400
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047d2
call fcn.140015f5c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140004444
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000443e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047d8
call fcn.140015f5c
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140004480
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000447a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047de
call fcn.140015f5c
nop
mov r12, qword [rbp - 0x80]
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x140004740
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x14000473b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400047c6
jmp 0x140004738
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x140004393
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.14000e660
add rbx, qword [rsp + 0x60]
jmp 0x140004301
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov r8d, 2
lea rdx, [0x140049e7c]
lea rcx, [rsp + 0x30]
call fcn.140001d10
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov r8d, 2
lea rdx, [0x140049e80]
lea rcx, [rsp + 0x50]
call fcn.140001d10
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call fcn.140001b10
mov r14, rax
mov qword [rsp + 0x70], rax
mov rbx, r13
mov rdi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x50]
lea rsi, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rsi, rax
mov rax, qword [r14 + 0x10]
mov r13, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1400045a4
mov r13, qword [r14]
cmp rdi, rax
ja 0x140004613
sub rax, rdi
cmp rbx, rax
ja 0x140004613
test rdi, rdi
je 0x140004783
lea r15, [rax + r13]
lea rcx, [rbx + r13]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, rcx
mov edx, r12d
call fcn.14003bfe0
mov rbx, rax
test rax, rax
je 0x140004613
nop dword [rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.14003c080
test eax, eax
je 0x140004780
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call fcn.14003bfe0
mov rbx, rax
test rax, rax
jne 0x1400045e0
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x78]
movups xmmword [rbx], xmm0
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [r14]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 0xf
mov byte [r14], dil
mov rax, qword [rsp + 0x68]
cmp rax, 0xf
jbe 0x140004686
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004680
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047e4
call fcn.140015f5c
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400046c4
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047ea
call fcn.140015f5c
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140004700
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400047c0
call fcn.140015f5c
nop
mov r12, qword [rbp - 0x80]
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x140004740
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x14000473b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400047cc
mov rcx, r8
call fcn.140015f5c
mov rax, rbx
mov byte [r12], 0
mov qword [r12 + 0x18], 0xf
mov qword [r12 + 0x10], rdi
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.140015f00
mov rbx, qword [rsp + 0x900]
add rsp, 0x8c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x140004613
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova r9, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.14000e660
add rbx, qword [rsp + 0x40]
jmp 0x14000457f
call fcn.14001ce7c
nop
call fcn.14001ce7c
int3
call fcn.14001ce7c
nop
call fcn.14001ce7c
nop
call fcn.14001ce7c
nop
call fcn.14001ce7c
nop
call fcn.14001ce7c
nop
call fcn.14001ce7c
int3