Function at 0x140053b50
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x82
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x318]
lea rcx, [0x1400cd014]
call fcn.140056ac0
mov dword [rbp + 4], 0
cmp qword [rbp + 0x2f0], 0
je 0x140053bb6
mov rax, qword [rbp + 0x2f0]
mov qword [rax], 0
cmp qword [rbp + 0x2f8], 0
je 0x140053bce
mov rax, qword [rbp + 0x2f8]
mov qword [rax], 0
cmp qword [rbp + 0x300], 0
je 0x140053be6
mov rax, qword [rbp + 0x300]
mov qword [rax], 0
cmp qword [rbp + 0x2e8], 0
jne 0x140053bfa
mov eax, 0x57
jmp 0x140054194
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x14009f168], eax
je 0x140053c12
mov eax, 0x10dd
jmp 0x140054194
cmp dword [0x14009f16c], 0
je 0x140053c26
mov eax, dword [0x14009f16c]
jmp 0x140054194
cmp qword [rbp + 0x2e0], 0
jne 0x140053c3a
mov eax, 6
jmp 0x140054194
mov rax, qword [rbp + 0x2e0]
cmp qword [rax], 0
jne 0x140053c6d
mov dword [rbp + 4], 6
mov eax, dword [rbp + 4]
mov dword [0x14009f16c], eax
mov rax, qword [rbp + 0x2e0]
mov qword [0x14009f170], rax
mov eax, dword [rbp + 4]
jmp 0x140054194
mov rax, qword [rbp + 0x2e0]
mov rax, qword [rax]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
xor edx, edx
mov rcx, qword [rbp + 0x28]
call fcn.1400541c0
mov qword [rbp + 0x28], rax
xor edx, edx
mov rcx, qword [rbp + 0x2e8]
call fcn.1400541c0
mov qword [rbp + 0x2e8], rax
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x2e8], rax
jne 0x140053ccf
cmp dword [0x14009f160], 0
je 0x140053ccb
jmp 0x140053d39
jmp 0x140053d30
cmp qword [rbp + 0x2f8], 0
je 0x140053ce7
mov rax, qword [rbp + 0x2f8]
mov rcx, qword [rbp + 0x28]
mov qword [rax], rcx
cmp qword [rbp + 0x300], 0
je 0x140053d02
mov rax, qword [rbp + 0x300]
mov rcx, qword [rbp + 0x2e8]
mov qword [rax], rcx
mov ecx, 0x30
call fcn.1400562a8
mov qword [rbp + 0x288], rax
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140053daa
mov dword [rbp + 4], 8
mov eax, dword [rbp + 4]
mov dword [0x14009f16c], eax
cmp qword [rbp + 0x48], 0
je 0x140053d69
mov rcx, qword [rbp + 0x48]
call fcn.140052b80
mov qword [rbp + 0x48], 0
cmp qword [rbp + 0x2f0], 0
je 0x140053d69
mov rax, qword [rbp + 0x2f0]
mov qword [rax], 0
cmp qword [rbp + 0x68], 0
je 0x140053d94
mov rax, qword [rbp + 0x68]
mov qword [rbp + reloc.SHELL32.dll_IsUserAnAdmin], rax
mov edx, 0x30
mov rcx, qword [rbp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.1400562a0
mov qword [rbp + 0x68], 0
mov rax, qword [rbp + 0x2e0]
mov qword [0x14009f170], rax
mov eax, dword [rbp + 4]
jmp 0x140054194
mov rcx, qword [rbp + 0x28]
call fcn.140052420
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140053dca
mov dword [rbp + 4], 8
jmp 0x140053d30
cmp qword [rbp + 0x2f0], 0
je 0x140053de2
mov rax, qword [rbp + 0x2f0]
mov rcx, qword [rbp + 0x48]
mov qword [rax], rcx
mov rax, qword [rbp + 0x48]
add rax, 0x40
mov r8d, 8
xor edx, edx
mov rcx, rax
call fcn.140058630
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
add rax, 0x1e
mov qword [rbp + 0xc8], rax
mov dword [rbp + 0xe4], 0
mov dword [rbp + 0x104], 5
mov dword [rbp + 0x124], 0
mov eax, dword [rbp + 0x104]
cmp dword [rbp + 0xe4], eax
jae 0x140053f79
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x164], 0
lea rax, [rbp + 0x164]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rbp + 0x88]
lea rdx, [rbp + 0xc8]
mov rcx, qword [rbp + 0xa8]
call fcn.1400561b0
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x148]
mov rcx, qword [rbp + 0x88]
sub rcx, rax
mov rax, rcx
movsxd rcx, dword [rbp + 0x164]
add rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x88]
sub rcx, rax
mov rax, rcx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0x124]
movzx ecx, byte [rbp + 0xe4]
and cl, 7
mov rdx, qword [rbp + 0x48]
movzx eax, byte [rdx + rax + 0x40]
and al, 0xf8
or al, cl
mov ecx, dword [rbp + 0x124]
mov rdx, qword [rbp + 0x48]
mov byte [rdx + rcx + 0x40], al
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 0xa8]
sub rcx, rax
mov rax, rcx
mov ecx, dword [rbp + 0x124]
and al, 0x1f
shl al, 3
mov rdx, qword [rbp + 0x48]
movzx ecx, byte [rdx + rcx + 0x40]
and cl, 7
or cl, al
movzx eax, cl
mov ecx, dword [rbp + 0x124]
mov rdx, qword [rbp + 0x48]
mov byte [rdx + rcx + 0x40], al
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
mov eax, dword [rbp + 0x124]
cmp rax, 8
jb 0x140053f62
jmp 0x140053f79
mov rcx, qword [rbp + 0x148]
call fcn.1400527e0
test eax, eax
je 0x140053f74
jmp 0x140053f79
jmp 0x140053e40
mov eax, dword [rbp + 0x104]
cmp dword [rbp + 0xe4], eax
jae 0x140053fd8
mov rcx, qword [rbp + 0x88]
call fcn.140052e40
mov dword [rbp + 0x184], eax
cmp dword [rbp + 0x184], 0
jne 0x140053fa4
jmp 0x140053fd8
movsxd rax, dword [rbp + 0x184]
mov rcx, qword [rbp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x88]
sub rcx, rax
mov rax, rcx
mov dword [rbp + 0xe4], eax
jmp 0x140053f79
mov eax, dword [rbp + 0x104]
cmp dword [rbp + 0xe4], eax
jb 0x140053ff2
mov eax, dword [rbp + 0x124]
cmp rax, 8
jbe 0x14005400e
mov dword [rbp + 4], 9
cmp dword [0x14009f160], 0
je 0x140054009
jmp 0x140053d39
jmp 0x140053d30
mov rax, qword [rbp + 0xc8]
cmp qword [rbp + 0xa8], rax
jbe 0x14005401f
int3
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 0xa8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x48]
mov byte [rcx + 0x1e], al
mov rax, qword [rbp + 0x48]
movzx ecx, byte [rbp + 0xe4]
mov byte [rax + 0x3e], cl
mov eax, dword [rbp + 0xe4]
mov rcx, qword [rbp + 0x48]
add rcx, 0x20
mov r8d, eax
mov rdx, qword [rbp + 0x28]
call fcn.140057f80
mov eax, dword [rbp + 0xe4]
mov ecx, dword [rbp + 0x104]
mov edx, 0x1e
sub rdx, rcx
mov rcx, rdx
cmp rax, rcx
jbe 0x140054087
mov dword [rbp + 4], 6
jmp 0x140053d30
mov eax, dword [rbp + 0xe4]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x48]
mov qword [rcx + 0x48], rax
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x2e8]
mov qword [rax + 0x50], rcx
mov rax, qword [rbp + 0x48]
movzx eax, byte [rax + 0x1e]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x48]
add rax, 0x48
mov rdx, rax
mov rcx, qword [rbp + 0xa8]
call fcn.140052d90
mov qword [rbp + 0xa8], rax
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xa8]
call fcn.140052c90
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0x1a4], 0
mov eax, dword [rbp + 0xe4]
lea r9, [rbp + 0x1a4]
mov r8d, 0x40
mov edx, eax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14005413a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 4], eax
jmp 0x140053d30
mov rax, qword [rbp + 0x68]
mov dword [rax + 8], 0
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x2e0]
mov qword [rax + 0x10], rcx
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x48]
mov qword [rax + 0x20], rcx
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x28]
mov qword [rax + 0x18], rcx
mov rax, qword [rbp + 0x68]
mov ecx, dword [rbp + 0x1a4]
mov dword [rax + 0x28], ecx
mov rax, qword [rbp + 0x68]
mov rcx, qword [0x14009f180]
mov qword [rax], rcx
mov rax, qword [rbp + 0x68]
mov qword [0x14009f180], rax
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14006fbc8]
call fcn.140056a4c
mov rax, rdi
lea rsp, [rbp + 0x2c8]
pop rdi
pop rbp
ret