Function at 0x140053f00
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
lea rcx, [0x1400dd014]
call fcn.1400567b0
mov dword [rbp + 4], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x14009f198], eax
je 0x140053f5c
mov eax, 0x10dd
jmp 0x140054180
cmp dword [0x14009f19c], 0
je 0x140053f70
mov eax, dword [0x14009f19c]
jmp 0x140054180
cmp qword [rbp + 0x1e8], 0
jne 0x140053f84
mov eax, 0x57
jmp 0x140054180
cmp qword [rbp + 0x1e0], 0
jne 0x140053f98
mov eax, 6
jmp 0x140054180
mov rax, qword [rbp + 0x1e0]
cmp qword [rax], 0
jne 0x140053fcb
mov dword [rbp + 4], 6
mov eax, dword [rbp + 4]
mov dword [0x14009f19c], eax
mov rax, qword [rbp + 0x1e0]
mov qword [0x14009f1a0], rax
mov eax, dword [rbp + 4]
jmp 0x140054180
mov ecx, 0x30
call fcn.140055f98
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x188]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14005403f
mov dword [rbp + 4], 8
mov eax, dword [rbp + 4]
mov dword [0x14009f19c], eax
cmp qword [rbp + 0x28], 0
je 0x140054029
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x1a8], rax
mov edx, 0x30
mov rcx, qword [rbp + 0x1a8]
call fcn.140055f90
mov qword [rbp + 0x28], 0
mov rax, qword [rbp + 0x1e0]
mov qword [0x14009f1a0], rax
mov eax, dword [rbp + 4]
jmp 0x140054180
xor edx, edx
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rax]
call fcn.140053eb0
mov qword [rbp + 0x48], rax
xor edx, edx
mov rcx, qword [rbp + 0x1e8]
call fcn.140053eb0
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x48]
movzx eax, byte [rax + 0x3e]
mov dword [rbp + 0x64], eax
movsxd rax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x48]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp dword [rbp + 0x64], 0
je 0x14005409d
movsxd rax, dword [rbp + 0x64]
cmp rax, 0x1e
jbe 0x1400540b9
mov dword [rbp + 4], 9
cmp dword [0x14009f190], 0
je 0x1400540b4
jmp 0x140053ffe
jmp 0x140053ff5
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x1e8]
cmp qword [rax + 0x50], rcx
je 0x1400540e6
mov dword [rbp + 4], 9
cmp dword [0x14009f190], 0
je 0x1400540e1
jmp 0x140053ffe
jmp 0x140053ff5
mov dword [rbp + 0xa4], 0
movsxd rax, dword [rbp + 0x64]
lea r9, [rbp + 0xa4]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140054123
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 4], eax
jmp 0x140053ff5
mov rax, qword [rbp + 0x28]
mov dword [rax + 8], 1
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x1e0]
mov qword [rax + 0x10], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x48]
mov qword [rax + 0x20], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x88]
mov qword [rax + 0x18], rcx
mov rax, qword [rbp + 0x28]
mov ecx, dword [rbp + 0xa4]
mov dword [rax + 0x28], ecx
mov rax, qword [rbp + 0x28]
mov rcx, qword [0x14009f1b0]
mov qword [rax], rcx
mov rax, qword [rbp + 0x28]
mov qword [0x14009f1b0], rax
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.d2d1.dll_Ordinal_1
call fcn.14005673c
mov rax, rdi
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret