Function at 0x140002710
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 + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rdi, r9
mov rsi, r8
mov qword [rsp + 0x40], r8
mov r13, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r9
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 1]
lea rcx, str.User_Agent:_Mozilla_5.0__X11__Linux_x86_64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_51.0.2704.103_Safari_537.36
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r12, rax
test rax, rax
jne 0x140002851
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetOpenW_failed_hInternet_:
add rdx, rax
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400027b1
mov rcx, r13
call fcn.140002100
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400027fa
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400027f5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000284a
mov rcx, r8
call fcn.14000385c
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002ceb
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002ce6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140002ce3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov rcx, r14
mov qword [rbp - 0x68], rcx
mov edx, 7
mov qword [rbp - 0x60], rdx
mov word [rbp - 0x78], r14w
mov ebx, r14d
cmp qword [rsi + 0x10], rbx
jbe 0x1400028dd
xor r15d, r15d
nop dword [rax]
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14000288d
mov rax, qword [rsi]
movsx r9d, byte [r14 + rax]
cmp rcx, rdx
jae 0x1400028b9
lea rax, [rcx + 1]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
cmp rdx, 7
cmova rax, qword [rbp - 0x78]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r15w
jmp 0x1400028c2
lea rcx, [rbp - 0x78]
call fcn.140003640
inc ebx
inc r14
movsxd rax, ebx
mov rdx, qword [rbp - 0x60]
cmp rax, qword [rsi + 0x10]
jae 0x1400028da
mov rcx, qword [rbp - 0x68]
jmp 0x140002880
xor r14d, r14d
lea r15, [rbp - 0x78]
cmp rdx, 7
cmova r15, qword [rbp - 0x78]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov rdx, r14
mov qword [rsp + 0x78], rdx
mov ecx, 7
mov qword [rbp - 0x80], rcx
mov word [rsp + 0x68], r14w
mov ebx, r14d
cmp qword [rdi + 0x10], 0
jbe 0x14000297b
xor esi, esi
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140002922
mov rax, qword [rdi]
movsx r9d, byte [r14 + rax]
cmp rdx, rcx
jae 0x140002950
lea rax, [rdx + 1]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp rcx, 7
cmova rax, qword [rsp + 0x68]
mov word [rax + rdx*2], r9w
mov word [rax + rdx*2 + 2], si
jmp 0x14000295a
lea rcx, [rsp + 0x68]
call fcn.140003640
inc ebx
inc r14
movsxd rax, ebx
mov rcx, qword [rbp - 0x80]
cmp rax, qword [rdi + 0x10]
jae 0x140002973
mov rdx, qword [rsp + 0x78]
jmp 0x140002915
mov rsi, qword [rsp + 0x40]
xor r14d, r14d
lea rbx, [rsp + 0x68]
cmp rcx, 7
cmova rbx, qword [rsp + 0x68]
mov r8d, 0x50
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rdx, r15
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetConnectW]
test rax, rax
jne 0x140002b3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetConnectW_failed_hConnect__NULL_:
add rdx, rax
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], r14
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400029f0
mov rcx, r13
call fcn.140002100
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140002a47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000385c
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140002a9d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000385c
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r14w
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140002ae4
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140002adf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002b34
mov rcx, r8
call fcn.14000385c
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002ceb
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002ce6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140002ce3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, str.text_
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8, rbx
lea rdx, [0x1400058a8]
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x140002d27
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.HttpOpenRequestW_failed_hRequest__NULL_:
add rdx, rax
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], r14
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140002bb0
mov rcx, r13
call fcn.140002100
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140002c04
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002dbb
call fcn.14000385c
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140002c57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e1d
call fcn.14000385c
mov word [rbp - 0x78], r14w
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r14
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140002ca2
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x140002c9d
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002e24
mov rcx, r8
call fcn.14000385c
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002ceb
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002ce6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002e2b
mov rcx, r8
call fcn.14000385c
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rax, r13
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140003800
mov rbx, qword [rsp + 0x530]
add rsp, 0x4f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x140002e32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str._bRequestSent____HttpSendRequestW_failed_with_error_code
add rdx, rax
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], r14
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140002d70
mov rcx, r13
call fcn.140002100
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140002dc7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002dc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002dc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000385c
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140002c57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c52
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov rbx, r14
mov qword [rbp - 0x40], rbx
mov r15d, 0xf
mov qword [rbp - 0x38], r15
mov byte [rbp - 0x50], 0
mov eax, 0xffffffff
mov dword [rbp - 0x58], eax
mov rsi, qword [rsp + 0x48]
nop dword [rax + rax]
test eax, eax
je 0x140002ee9
lea r9, [rbp - 0x58]
mov r8d, 0x400
lea rdx, [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r12d, eax
mov r14d, dword [rbp - 0x58]
mov rcx, r15
sub rcx, rbx
cmp r14, rcx
ja 0x140002ebf
lea rcx, [rbx + r14]
mov qword [rbp - 0x40], rcx
lea rcx, [rbp - 0x50]
cmp r15, 0xf
cmova rcx, qword [rbp - 0x50]
add rbx, rcx
mov r8d, r14d
lea rdx, [rbp - 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], 0
jmp 0x140002ed4
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x20]
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.1400034b0
test r12d, r12d
je 0x140002ee9
mov r15, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x40]
mov eax, dword [rbp - 0x58]
jmp 0x140002e60
xor r14d, r14d
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [r13 + 0x10], xmm1
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
mov rsi, qword [rsp + 0x40]
jbe 0x140002f47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000385c
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140002f9d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000385c
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r14w
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140002fe4
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140002fdf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003034
mov rcx, r8
call fcn.14000385c
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140002ceb
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002ce6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140002ce3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3