Function at 0x180054110
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1800ff040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, qword [0x180150380]
mov rdi, qword [0x180150388]
cmp rbx, rdi
je 0x180054194
nop dword [rax]
cmp dword [rbx + 8], 0
je 0x18005418b
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 8], eax
je 0x18005440f
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x20], xmm0
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.18009732c
test eax, eax
jne 0x18005441a
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x180054150
mov rdi, qword [0x1801503a0]
mov rbx, qword [0x180150398]
cmp rbx, rdi
je 0x180054200
nop word [rax + rax]
mov edx, 0x18
mov rcx, qword [rbx + 0x28]
call fcn.180095a90
add rbx, 0x30
cmp rbx, rdi
jne 0x1800541b0
mov rdi, qword [0x1801503a0]
mov rbx, qword [0x180150398]
cmp rbx, rdi
je 0x180054200
nop word [rax + rax]
lea rcx, [rbx + 8]
call fcn.18004fb30
add rbx, 0x30
cmp rbx, rdi
jne 0x1800541e0
mov rax, qword [0x180150398]
mov qword [0x1801503a0], rax
mov rdi, qword [0x18014cde0]
mov rbp, qword [0x18014cde8]
xor esi, esi
cmp rdi, rbp
je 0x1800542ae
nop dword [rax]
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1800542a1
cmp byte [rbx], 0
jne 0x180054294
mov dword [rsp + 0x30], esi
mov rcx, qword [rbx + 8]
cmp byte [rcx], 0xe9
jne 0x180054281
lea r9, [rsp + 0x30]
mov edx, 5
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180054281
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov eax, dword [rcx]
mov dword [rdx], eax
movzx eax, byte [rcx + 4]
mov byte [rdx + 4], al
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov edx, 5
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edx, edx
mov r8d, 0x8000
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov edx, 0x18
mov rcx, rbx
call fcn.180095a90
add rdi, 0x10
cmp rdi, rbp
jne 0x180054220
mov rdi, qword [0x18014cd48]
mov rbx, qword [0x18014cd40]
cmp rbx, rdi
je 0x1800542e2
xor edx, edx
mov rcx, qword [rbx]
call fcn.180052f00
mov rcx, qword [rbx]
call fcn.180052e00
and dword [rax], 0xf0ffffff
add rbx, 0x10
cmp rbx, rdi
jne 0x1800542c1
mov r14, qword [0x18014cdf8]
mov rbp, qword [r14 + 8]
mov rdi, qword [r14]
cmp rdi, rbp
je 0x18005431f
nop word [rax + rax]
xor edx, edx
mov rbx, qword [rdi + 8]
mov rcx, rbx
call fcn.18004e4b0
mov rcx, rbx
call fcn.18004e230
add rdi, 0x10
cmp rdi, rbp
jne 0x180054300
mov rax, qword [r14]
cmp rax, qword [r14 + 8]
je 0x18005432c
mov qword [r14 + 8], rax
mov rbx, rsi
mov edi, 1
xor eax, eax
lock cmpxchg dword [0x1801502d8], edi
je 0x180054361
cmp rbx, 0x20
jae 0x18005434a
xor ecx, ecx
jmp 0x18005434c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1801502d8], edi
jne 0x180054340
cmp qword [0x1801502e0], 0
je 0x1800543e1
xor ecx, ecx
call fcn.18004dd80
test eax, eax
jne 0x1800543e1
mov rcx, qword [0x180152d20]
mov qword [0x180152d20], rsi
test rcx, rcx
je 0x1800543a9
nop dword [rax]
mov rbx, qword [rcx]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbx
test rbx, rbx
jne 0x180054390
mov r8, qword [0x180152d10]
xor edx, edx
mov rcx, qword [0x1801502e0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x1801502e0]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov qword [0x1801502e0], rsi
mov qword [0x180152d10], rsi
mov qword [0x180152d18], rsi
xchg dword [0x1801502d8], esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180095340
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov ecx, 5
call fcn.180097194
int3
mov ecx, 2
call fcn.180097194
int3