Function at 0x18007c9e0
Capabilities:
Create http request
Encode data using xor
Read data from internet
Receive data

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 - 0x7c8]
sub rsp, 0x8c8
mov rbx, rdx
mov qword [rbp - 0x58], rdx
mov dword [rbp + 0x820], 1
mov dword [rsp + 0x30], 0xabbbaff2
mov dword [rsp + 0x34], 0xe9a4a8af
mov dword [rsp + 0x38], 0xf9e6f2
mov byte [rsp + 0x3c], 1
xor r13d, r13d
mov ecx, r13d
nop dword [rax]
lea eax, [rcx - 0x41]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0xb
jb 0x18007ca40
mov byte [rsp + 0x3c], r13b
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov rdi, r13
mov qword [rsp + 0x78], r13
mov r14d, 0xf
mov qword [rbp - 0x80], r14
mov byte [rsp + 0x68], dil
test rax, rax
je 0x18007cead
mov rdx, rbx
cmp qword [rbx + 0x18], r14
jbe 0x18007caa6
mov rdx, qword [rbx]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x18007cead
movzx ebx, byte [rbp + 0x820]
lea r9, [rbp + 0x828]
mov r8d, 0x7d0
lea rdx, [rbp - 0x10]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [rbp + 0x828]
mov rax, r14
sub rax, rdi
cmp rsi, rax
ja 0x18007cb2d
lea rax, [rsi + rdi]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp r14, 0xf
cmova rax, qword [rsp + 0x68]
add rdi, rax
mov r8d, esi
lea rdx, [rbp - 0x10]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x18007cb47
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x10]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.1800025c0
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp + 0x828], 0
je 0x18007cb6f
mov r14, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x78]
jmp 0x18007cad2
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rbp + 0x820], 0x100cab2
mov rcx, r13
nop
lea eax, [rcx - 0x41]
xor byte [rbp + rcx + 0x820], al
inc rcx
cmp rcx, 2
jb 0x18007cb90
mov byte [rbp + 0x823], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
lea rax, [rbp + 0x820]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18007cbd0
lea rdx, [rbp + 0x820]
lea rcx, [rsp + 0x48]
call fcn.1800024b0
nop
mov dword [rbp + 0x820], 0x100aec3
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x41]
xor byte [rbp + rcx + 0x820], al
inc rcx
cmp rcx, 2
jb 0x18007cc00
mov byte [rbp + 0x823], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
lea rax, [rbp + 0x820]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18007cc30
mov r8, rbx
lea rdx, [rbp + 0x820]
lea rcx, [rbp - 0x78]
call fcn.1800024b0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x50]
call fcn.180002c10
mov r14, rax
mov qword [rsp + 0x30], rax
mov rbx, r13
mov rcx, qword [rbp - 0x60]
mov qword [rbp + 0x820], rcx
mov rdi, qword [rbp - 0x68]
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x40], rax
nop
lea rsi, [rbp - 0x78]
cmp rcx, 0xf
cmova rsi, rax
mov rax, qword [r14 + 0x10]
mov r13, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x18007cc9d
mov r13, qword [r14]
cmp rdi, rax
ja 0x18007cd13
sub rax, rdi
cmp rbx, rax
ja 0x18007cd13
test rdi, rdi
je 0x18007cd98
lea r15, [rax + r13]
lea rcx, [rbx + r13]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, rcx
mov edx, r12d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x18007cd13
nop word [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18007cd95
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x18007cce0
xorps xmm0, xmm0
mov rdi, qword [rbp + 0x810]
movups xmmword [rdi], xmm0
xor esi, esi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [r14]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [r14 + 0x18], 0xf
mov byte [r14], sil
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 0xf
mov byte [r14], sil
mov rdx, qword [rbp + 0x820]
cmp rdx, 0xf
jbe 0x18007cde7
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007cde1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007cde1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x18007cd13
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova r9, qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.18007c830
add rbx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rbp + 0x820]
jmp 0x18007cc80
call fcn.180082be4
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x18007ce28
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007ce22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007ce22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180082be4
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x18007ce68
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007ce62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007ce62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180082be4
nop
mov rbx, qword [rbp - 0x58]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18007d1d2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18007d1cd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x18007d1ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rbp + 0x820], 0x100cab2
mov rcx, r13
lea eax, [rcx - 0x41]
xor byte [rbp + rcx + 0x820], al
inc rcx
cmp rcx, 2
jb 0x18007cec3
mov byte [rbp + 0x823], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
lea rax, [rbp + 0x820]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x18007cf00
lea rdx, [rbp + 0x820]
lea rcx, [rsp + 0x48]
call fcn.1800024b0
nop
mov dword [rbp + 0x820], 0x100aec3
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x41]
xor byte [rbp + rcx + 0x820], al
inc rcx
cmp rcx, 2
jb 0x18007cf30
mov byte [rbp + 0x823], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
lea rax, [rbp + 0x820]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18007cf60
mov r8, rbx
lea rdx, [rbp + 0x820]
lea rcx, [rbp - 0x78]
call fcn.1800024b0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x30]
call fcn.180002c10
mov r14, rax
mov qword [rbp + 0x828], rax
mov rbx, r13
mov rcx, qword [rbp - 0x60]
mov qword [rbp + 0x820], rcx
mov rdi, qword [rbp - 0x68]
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x40], rax
lea rsi, [rbp - 0x78]
cmp rcx, 0xf
cmova rsi, rax
mov rax, qword [r14 + 0x10]
mov r13, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x18007cfcd
mov r13, qword [r14]
cmp rdi, rax
ja 0x18007d043
sub rax, rdi
cmp rbx, rax
ja 0x18007d043
test rdi, rdi
je 0x18007d0c8
lea r15, [rax + r13]
lea rcx, [rbx + r13]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, rcx
mov edx, r12d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x18007d043
nop word [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18007d0c5
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x18007d010
xorps xmm0, xmm0
mov rdi, qword [rbp + 0x810]
movups xmmword [rdi], xmm0
xor esi, esi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [r14]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [r14 + 0x18], 0xf
mov byte [r14], sil
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 0xf
mov byte [r14], sil
mov rdx, qword [rbp + 0x820]
cmp rdx, 0xf
jbe 0x18007d117
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007d111
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007d111
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x18007d043
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova r9, qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, r14
call fcn.18007c830
add rbx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rbp + 0x820]
jmp 0x18007cfb0
call fcn.180082be4
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x18007d158
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007d152
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007d152
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180082be4
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x18007d198
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007d192
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007d192
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180082be4
nop
mov rbx, qword [rbp - 0x58]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x18007d1d2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18007d1cd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18007d1f8
mov rcx, r8
call fcn.180082be4
mov rax, rdi
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rsi
add rsp, 0x8c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3