Function at 0x180055360
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 [0x1800fd040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, qword [0x18014e380]
mov rdi, qword [0x18014e388]
cmp rbx, rdi
je 0x1800553e4
nop dword [rax]
cmp dword [rbx + 8], 0
je 0x1800553db
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 8], eax
je 0x18005564f
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x20], xmm0
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.180094cec
test eax, eax
jne 0x18005565a
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x1800553a0
mov rdi, qword [0x18014e3a0]
mov rbx, qword [0x18014e398]
cmp rbx, rdi
je 0x180055443
nop word [rax + rax]
mov edx, 0x18
mov rcx, qword [rbx + 0x28]
call fcn.180093450
add rbx, 0x30
cmp rbx, rdi
jne 0x180055400
mov rdi, qword [0x18014e3a0]
mov rbx, qword [0x18014e398]
cmp rbx, rdi
je 0x180055443
mov rdx, rdi
mov rcx, rbx
call fcn.18005a710
mov rax, qword [0x18014e398]
mov qword [0x18014e3a0], rax
mov rdi, qword [0x18014ade0]
mov rbp, qword [0x18014ade8]
xor esi, esi
cmp rdi, rbp
je 0x1800554ee
nop dword [rax]
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1800554e1
cmp byte [rbx], 0
jne 0x1800554d4
mov dword [rsp + 0x30], esi
mov rcx, qword [rbx + 8]
cmp byte [rcx], 0xe9
jne 0x1800554c1
lea r9, [rsp + 0x30]
mov edx, 5
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800554c1
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.180093450
add rdi, 0x10
cmp rdi, rbp
jne 0x180055460
mov rdi, qword [0x18014ad48]
mov rbx, qword [0x18014ad40]
cmp rbx, rdi
je 0x180055522
xor edx, edx
mov rcx, qword [rbx]
call fcn.180054190
mov rcx, qword [rbx]
call fcn.180054090
and dword [rax], 0xf0ffffff
add rbx, 0x10
cmp rbx, rdi
jne 0x180055501
mov r14, qword [0x18014adf8]
mov rbp, qword [r14 + 8]
mov rdi, qword [r14]
cmp rdi, rbp
je 0x18005555f
nop word [rax + rax]
xor edx, edx
mov rbx, qword [rdi + 8]
mov rcx, rbx
call fcn.18004f410
mov rcx, rbx
call fcn.18004f190
add rdi, 0x10
cmp rdi, rbp
jne 0x180055540
mov rax, qword [r14]
cmp rax, qword [r14 + 8]
je 0x18005556c
mov qword [r14 + 8], rax
mov rbx, rsi
mov edi, 1
xor eax, eax
lock cmpxchg dword [0x18014e2d8], edi
je 0x1800555a1
cmp rbx, 0x20
jae 0x18005558a
xor ecx, ecx
jmp 0x18005558c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18014e2d8], edi
jne 0x180055580
cmp qword [0x18014e2e0], 0
je 0x180055621
xor ecx, ecx
call fcn.18004ece0
test eax, eax
jne 0x180055621
mov rcx, qword [0x180150d20]
mov qword [0x180150d20], rsi
test rcx, rcx
je 0x1800555e9
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 0x1800555d0
mov r8, qword [0x180150d10]
xor edx, edx
mov rcx, qword [0x18014e2e0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x18014e2e0]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov qword [0x18014e2e0], rsi
mov qword [0x180150d10], rsi
mov qword [0x180150d18], rsi
xchg dword [0x18014e2d8], esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180092d00
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.180094b54
int3
mov ecx, 2
call fcn.180094b54
int3