Function at 0x140007dc0
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 [0x140010010]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rdi, r9
mov rsi, r8
mov qword [rsp + 0x40], r8
mov r12, 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 r13, rax
test rax, rax
jne 0x140007ee0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.InternetOpenW_failed_hInternet_:
add rdx, rax
mov rcx, r12
call fcn.1400067c0
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140007e89
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140007e84
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140007ed9
mov rcx, r8
call fcn.140008cdc
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000841e
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140008419
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140008416
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 0x140007f6d
xor r15d, r15d
nop dword [rax + rax]
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140007f1d
mov rax, qword [rsi]
movsx r9d, byte [rax + r14]
cmp rcx, rdx
jae 0x140007f49
lea rax, [rcx + 1]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
cmp rdx, 8
cmovae rax, qword [rbp - 0x78]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r15w
jmp 0x140007f52
lea rcx, [rbp - 0x78]
call fcn.140008a50
inc ebx
inc r14
movsxd rax, ebx
mov rdx, qword [rbp - 0x60]
cmp rax, qword [rsi + 0x10]
jae 0x140007f6a
mov rcx, qword [rbp - 0x68]
jmp 0x140007f10
xor r14d, r14d
lea r15, [rbp - 0x78]
cmp rdx, 8
cmovae 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 0x14000800b
xor esi, esi
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140007fb2
mov rax, qword [rdi]
movsx r9d, byte [rax + r14]
cmp rdx, rcx
jae 0x140007fe0
lea rax, [rdx + 1]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp rcx, 8
cmovae rax, qword [rsp + 0x68]
mov word [rax + rdx*2], r9w
mov word [rax + rdx*2 + 2], si
jmp 0x140007fea
lea rcx, [rsp + 0x68]
call fcn.140008a50
inc ebx
inc r14
movsxd rax, ebx
mov rcx, qword [rbp - 0x80]
cmp rax, qword [rdi + 0x10]
jae 0x140008003
mov rdx, qword [rsp + 0x78]
jmp 0x140007fa5
mov rsi, qword [rsp + 0x40]
xor r14d, r14d
lea rbx, [rsp + 0x68]
cmp rcx, 8
cmovae 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, r13
call qword [sym.imp.WININET.dll_InternetConnectW]
test rax, rax
jne 0x140008290
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
lea rax, str.InternetConnectW_failed_hConnect__NULL_:
add r15, rax
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], r14
mov rdx, 0xffffffffffffffff
mov rbx, rdx
nop
inc rbx
cmp byte [r15 + rbx], 0
jne 0x140008080
movabs r13, 0x7fffffffffffffff
cmp rbx, r13
ja 0x140008752
mov qword [r12 + 0x18], 0xf
cmp rbx, 0x10
jae 0x1400080c9
mov qword [r12 + 0x10], rbx
mov r8, rbx
mov rdx, r15
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [r12 + rbx], 0
jmp 0x140008158
mov rax, rbx
or rax, 0xf
cmp rax, r13
ja 0x1400080e4
mov r13, rax
mov ecx, 0x16
cmp rax, rcx
cmovb r13, rcx
mov rcx, r13
add rcx, 1
cmovb rcx, rdx
cmp rcx, 0x1000
jb 0x140008127
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000874c
mov rcx, rax
call fcn.140008ca0
test rax, rax
je 0x140008120
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140008134
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140008134
call fcn.140008ca0
mov r14, rax
mov qword [r12], r14
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], r13
mov r8, rbx
mov rdx, r15
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rbx], 0
xor r14d, r14d
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14000819c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008197
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008197
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008cdc
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400081f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400081ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400081ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008cdc
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r14w
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140008239
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140008234
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008289
mov rcx, r8
call fcn.140008cdc
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000841e
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140008419
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140008416
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, [0x14000bef8]
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x14000845a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.HttpOpenRequestW_failed_hRequest__NULL_:
add rdx, rax
mov rcx, r12
call fcn.1400067c0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140008337
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008332
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400084cb
call fcn.140008cdc
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14000838a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008385
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000852d
call fcn.140008cdc
mov word [rbp - 0x78], r14w
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r14
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400083d5
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x1400083d0
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008534
mov rcx, r8
call fcn.140008cdc
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000841e
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140008419
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000853b
mov rcx, r8
call fcn.140008cdc
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rax, r12
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140008c80
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 0x140008542
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str._bRequestSent____HttpSendRequestW_failed_with_error_code
add rdx, rax
mov rcx, r12
call fcn.1400067c0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400084d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400084d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400084d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008cdc
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x14000838a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008385
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008385
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 0x1400085f9
lea r9, [rbp - 0x58]
mov r8d, 0x400
lea rdx, [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r13d, eax
mov r14d, dword [rbp - 0x58]
mov rcx, r15
sub rcx, rbx
cmp r14, rcx
ja 0x1400085cf
lea rcx, [r14 + rbx]
mov qword [rbp - 0x40], rcx
lea rcx, [rbp - 0x50]
cmp r15, 0x10
cmovae 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 0x1400085e4
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x20]
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.140007910
test r13d, r13d
je 0x1400085f9
mov r15, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x40]
mov eax, dword [rbp - 0x58]
jmp 0x140008570
xor r14d, r14d
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [r12 + 0x10], xmm1
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
mov rsi, qword [rsp + 0x40]
jb 0x140008658
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008653
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008653
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008cdc
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400086ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400086a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400086a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008cdc
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r14w
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400086f5
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400086f0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008745
mov rcx, r8
call fcn.140008cdc
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000841e
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140008419
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140008416
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 fcn.140001150
int3
call fcn.1400011f0
int3