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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x788]
sub rsp, 0x888
mov r14, rdx
mov rbx, rcx
mov dword [rbp + 0x7e0], 1
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov edi, esi
mov qword [rsp + 0x40], rsi
mov r15d, 0xf
mov qword [rsp + 0x48], r15
mov byte [rsp + 0x30], sil
test rax, rax
je 0x140046f79
mov rdx, r14
cmp qword [r14 + 0x18], r15
jbe 0x140046d2a
mov rdx, qword [r14]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
je 0x140046f79
movzx ebx, byte [rbp + 0x7e0]
nop word [rax + rax]
lea r9, [rbp + 0x7e0]
mov r8d, 0x7d0
lea rdx, [rbp - 0x50]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [rbp + 0x7e0]
mov rax, r15
sub rax, rdi
cmp rsi, rax
ja 0x140046dbb
lea rax, [rdi + rsi]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp r15, 0xf
cmova rax, qword [rsp + 0x30]
add rdi, rax
mov r8d, esi
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.140083950
mov byte [rdi + rsi], 0
jmp 0x140046dd5
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x50]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14004f940
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x50]
call fcn.140083590
cmp dword [rbp + 0x7e0], 0
je 0x140046dfe
mov r15, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
jmp 0x140046d60
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [reloc.OLEAUT32.dll_SysReAllocString]
movdqu xmmword [rbp - 0x80], xmm1
mov eax, 0xa0d
mov word [rsp + 0x70], ax
mov byte [rsp + 0x72], 0
movups xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
mov eax, 0x6e7c
mov word [rsp + 0x50], ax
mov byte [rsp + 0x52], 0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.14004c4f0
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
mov rdx, rax
mov rbx, qword [rbp + 0x7d0]
mov rcx, rbx
call fcn.140046af0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140046eb7
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046eb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047102
call fcn.140052a9c
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140046ef4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046eee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047108
call fcn.140052a9c
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140046f32
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046f2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004710e
call fcn.140052a9c
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140046f6c
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140046f67
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140047114
mov rcx, r8
call fcn.140052a9c
mov qword [r14 + 0x10], 0
jmp 0x1400470d3
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [reloc.OLEAUT32.dll_SysReAllocString]
movdqu xmmword [rsp + 0x60], xmm1
mov eax, 0xa0d
mov word [rsp + 0x50], ax
mov byte [rsp + 0x52], 0
movups xmmword [rsp + 0x70], xmm0
movdqu xmmword [rbp - 0x80], xmm1
mov eax, 0x6e7c
mov word [rsp + 0x70], ax
mov byte [rsp + 0x72], 0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.14004c4f0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
mov rdx, rax
mov rcx, rbx
call fcn.140046af0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140047021
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004701b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004711a
call fcn.140052a9c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004705f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047059
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047120
call fcn.140052a9c
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140047099
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047093
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400470f6
call fcn.140052a9c
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x1400470cf
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400470ca
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400470fc
mov rcx, r8
call fcn.140052a9c
mov qword [r14 + 0x10], rsi
mov rax, rbx
mov byte [r14], 0
mov qword [r14 + 0x18], 0xf
add rsp, 0x888
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400667d0
nop
call fcn.1400667d0
nop
call fcn.1400667d0
nop
call fcn.1400667d0
nop
call fcn.1400667d0
nop
call fcn.1400667d0
nop
call fcn.1400667d0
nop
call fcn.1400667d0
int3