Function at 0x180001c50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rbx
push rdi
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rax, qword [0x180055008]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r15, rdx
mov qword [rsp + 0x20], rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1800573c4], eax
je 0x180001c9a
mov eax, 0x10dd
jmp 0x1800020e9
mov eax, dword [0x1800573c0]
test eax, eax
jne 0x1800020e9
test rbx, rbx
jne 0x180001cb5
lea eax, [rbx + 6]
jmp 0x1800020e9
mov qword [rsp + 0x140], r14
mov r14, qword [rbx]
test r14, r14
jne 0x180001cdf
mov dword [0x1800573c0], 6
lea eax, [r14 + 6]
mov qword [0x1800573e8], rbx
jmp 0x1800020e1
cmp byte [r14], 0xff
mov qword [rsp + 0x190], rsi
mov rsi, rdi
mov qword [rsp + 0x148], r13
mov r13, rdi
jne 0x180001d1e
cmp byte [r14 + 1], 0x25
jne 0x180001d1e
movsxd rbx, dword [r14 + 2]
lea rdx, [r14 + 6]
add rdx, rbx
mov rcx, r14
call fcn.180001010
test al, al
je 0x180001d1e
mov r14, qword [rbx + r14 + 6]
cmp byte [r14], 0xeb
jne 0x180001d41
movsx rax, byte [r14 + 1]
add r14, 2
add r14, rax
cmp byte [r14], 0xe9
jne 0x180001d41
movsxd rax, dword [r14 + 1]
add r14, 5
add r14, rax
test r15, r15
jne 0x180001d50
mov r15, rdi
mov qword [rsp + 0x20], rdi
jmp 0x180001dab
cmp byte [r15], 0xff
jne 0x180001d7e
cmp byte [r15 + 1], 0x25
jne 0x180001d7e
movsxd rbx, dword [r15 + 2]
lea rdx, [r15 + 6]
add rdx, rbx
mov rcx, r15
call fcn.180001010
test al, al
je 0x180001d7e
mov r15, qword [rbx + r15 + 6]
mov qword [rsp + 0x20], r15
cmp byte [r15], 0xeb
jne 0x180001dab
movsx rax, byte [r15 + 1]
add r15, 2
add r15, rax
mov qword [rsp + 0x20], r15
cmp byte [r15], 0xe9
jne 0x180001dab
movsxd rax, dword [r15 + 1]
add r15, 5
add r15, rax
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x150], r12
cmp r15, r14
jne 0x180001dc9
cmp dword [0x1800573bc], edi
jne 0x1800020bb
jmp 0x180002073
mov ecx, 0x30
call fcn.1800032b0
mov rcx, r14
mov qword [rsp + 0x30], rax
mov r13, rax
call fcn.1800012d0
mov rsi, rax
test rax, rax
jne 0x180001df3
lea edi, [rax + 8]
jmp 0x180002073
xor eax, eax
lea rcx, [0x180050cf0]
mov qword [rsi + 0x40], rax
mov rdx, r14
mov r12, rsi
movabs r13, 0x8040000403
movabs r15, 0xc000000000010101
nop word [rax + rax]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rdi
test r12, r12
mov qword [rsp + 0x60], rax
lea r8, [rbp - 0x80]
mov dword [rsp + 0x58], edi
lea rax, [rsp + 0x28]
mov qword [rsp + 0x78], rdi
cmovne r8, r12
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x28], edi
mov rbx, rdx
test rdx, rdx
jne 0x180001e67
lea ecx, [rdx + 0xd]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdx, rdi
jmp 0x180001e82
movzx eax, byte [rdx]
mov r9, rdx
shl rax, 4
add rax, rcx
lea rcx, [rsp + 0x50]
mov rdx, rax
call qword [rax + 8]
mov rdx, rax
movsxd rax, dword [rsp + 0x28]
mov r8d, edx
sub rax, rbx
sub r8d, r14d
add rax, rdx
add r12, rax
movzx eax, r8b
and al, 7
movzx ecx, r12b
sub cl, sil
shl cl, 3
or cl, al
mov byte [rsi + 0x40], cl
movzx ecx, byte [rbx]
cmp cl, 0xeb
je 0x180001efa
lea eax, [rcx + 0x3e]
cmp al, 0x27
ja 0x180001ec0
bt r13, rax
jb 0x180001efa
cmp cl, 0xff
jne 0x180001ecb
cmp byte [rbx + 1], 0x25
jmp 0x180001ee7
lea eax, [rcx - 0x26]
cmp al, 0x3f
ja 0x180001ed8
bt r15, rax
jb 0x180001edd
cmp cl, 0xe3
jne 0x180001ee9
cmp byte [rbx + 1], 0xff
jne 0x180001ee9
cmp byte [rbx + 2], 0x25
je 0x180001efa
lea rcx, [0x180050cf0]
cmp r8d, 5
jb 0x180001e20
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x30]
cmp r8d, 5
jae 0x180001fa0
lea r15, [0x180050cf0]
cmp byte [rdx], 0x90
jne 0x180001f91
lea rax, [rbp - 0x18]
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x30], rax
lea r8, [rbp - 0x10]
lea rax, [rsp + 0x30]
mov dword [rbp - 0x38], edi
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x18], rdi
mov rbx, rdx
mov dword [rsp + 0x30], edi
mov r9, rdx
movzx eax, byte [rdx]
test r12, r12
cmovne r8, r12
shl rax, 4
add rax, r15
mov rdx, rax
call qword [rax + 8]
mov rdx, rax
movsxd rax, dword [rsp + 0x30]
sub rax, rbx
mov r8d, edx
add rax, rdx
sub r8d, r14d
add r12, rax
movzx eax, r8b
and al, 7
movzx ecx, r12b
sub cl, sil
shl cl, 3
or cl, al
mov byte [rsi + 0x40], cl
cmp r8d, 5
jb 0x180001f15
mov r15, qword [rsp + 0x20]
cmp r8d, 5
jb 0x180002065
lea rax, [rsi + 0x1e]
cmp r12, rax
jbe 0x180001faa
int3
sub r12b, sil
mov byte [rsi + 0x3e], r8b
lea rcx, [rsi + 0x20]
mov byte [rax], r12b
mov rdx, r14
mov ebx, r8d
call fcn.180005c80
cmp rbx, 0x19
jbe 0x180001fd3
mov edi, 6
jmp 0x180002073
movzx r8d, byte [rsi + 0x1e]
lea rax, [rbx + r14]
mov qword [rsi + 0x48], rax
lea rdx, [rsi + 0x1e]
add r8, rsi
mov qword [rsi + 0x50], r15
mov eax, esi
lea rcx, [r8 + 6]
mov word [r8], 0x25ff
sub eax, ecx
lea rcx, [r8 + 6]
add eax, 0x48
mov dword [r8 + 2], eax
call fcn.180001090
lea r9, [rsp + 0x38]
mov dword [rsp + 0x38], edi
mov r8d, 0x40
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180002032
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x180002073
mov rax, qword [rsp + 0x40]
mov qword [r13 + 0x10], rax
mov dword [r13 + 8], edi
mov qword [r13 + 0x20], rsi
mov qword [r13 + 0x18], r14
mov eax, dword [rsp + 0x38]
mov dword [r13 + 0x28], eax
mov rax, qword [0x1800573d0]
mov qword [r13], rax
xor eax, eax
mov qword [0x1800573d0], r13
jmp 0x1800020c9
cmp dword [0x1800573bc], 0
mov edi, 9
jne 0x18000207e
mov dword [0x1800573c0], edi
test rsi, rsi
je 0x1800020ae
xorps xmm0, xmm0
mov rdx, rsi
movups xmmword [rsi], xmm0
and rdx, 0xffffffffffff0000
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x40], xmm0
movups xmmword [rsi + 0x50], xmm0
mov rax, qword [rdx + 0x10]
mov qword [rsi + 0x48], rax
mov qword [rdx + 0x10], rsi
test r13, r13
je 0x1800020bb
mov rcx, r13
call fcn.180003290
mov rax, qword [rsp + 0x40]
mov qword [0x1800573e8], rax
mov eax, edi
mov r12, qword [rsp + 0x150]
mov r13, qword [rsp + 0x148]
mov rsi, qword [rsp + 0x190]
mov r14, qword [rsp + 0x140]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180002e20
add rsp, 0x158
pop r15
pop rdi
pop rbx
pop rbp
ret