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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd rdi, dword [rcx + 0x3c]
xor ebx, ebx
mov rbp, rcx
add rdi, rcx
cmp dword [rdi], 0x4550
je 0x140002a7e
movzx eax, word [rcx + 0xa]
mov ecx, 0x111
and ax, 0x11
cmp ax, cx
je 0x140002a7e
lea rdx, [0x140001750]
jmp 0x140002cbc
mov edx, dword [rdi + 0x50]
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x140002abd
lea rdx, [0x140001760]
call fcn.140002824
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8d, [rsi + 0xa]
mov edx, eax
call fcn.140002780
jmp 0x140002c95
mov r8d, dword [rdi + 0x54]
mov rdx, rbp
mov rcx, rax
call qword [0x140007040]
movzx ecx, word [rdi + 6]
movzx eax, word [rdi + 0x14]
test ecx, ecx
je 0x140002b1c
lea r15, [rdi + 0x24]
lea r14, [rdi + 0x2c]
add rdi, 0x28
add r15, rax
add r14, rax
add rdi, rax
mov r12d, ecx
cmp dword [r14], ebx
je 0x140002b0b
mov edx, dword [r14]
mov ecx, dword [r15]
mov r8d, dword [rdi]
add rdx, rbp
add rcx, rsi
call qword [0x140007040]
add rdi, 0x28
add r14, 0x28
add r15, 0x28
dec r12
jne 0x140002af1
movsxd rdi, dword [rsi + 0x3c]
add rdi, rsi
call fcn.140003c08
sub eax, dword [0x140007080]
cmp eax, 0x7fff
jbe 0x140002b3c
xor eax, eax
jmp 0x140002c98
mov edx, dword [rdi + 0xb4]
test edx, edx
je 0x140002ba8
mov ecx, dword [rdi + 0xb0]
mov r10, rsi
sub r10, qword [rdi + 0x30]
add rcx, rsi
test edx, edx
je 0x140002ba8
mov ebp, dword [rcx]
lea r11, [rcx + 4]
lea rcx, [rcx + 8]
mov r8d, dword [r11]
sub r8d, 8
je 0x140002b97
movzx eax, word [rcx]
mov r9d, eax
shr r9d, 0xc
test r9d, r9d
je 0x140002b8d
cmp r9d, 0xa
jne 0x140002b9c
and eax, 0xfff
add eax, ebp
add qword [rax + rsi], r10
add rcx, 2
add r8d, 0xfffffffe
jne 0x140002b6d
sub edx, dword [r11]
jmp 0x140002b58
lea rdx, [0x140001778]
jmp 0x140002cbc
cmp dword [rdi + 0x94], ebx
je 0x140002c92
mov edi, dword [rdi + 0x90]
add rdi, rsi
je 0x140002c92
mov eax, dword [rdi + 0xc]
test eax, eax
je 0x140002c92
movabs r13, 0x8000000000000000
mov ebp, eax
add rbp, rsi
call fcn.140003c08
sub eax, dword [0x140007080]
cmp eax, 0x7fff
ja 0x140002b35
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r12, rax
test rax, rax
je 0x140002cc3
mov r14d, dword [rdi]
mov r15d, dword [rdi + 0x10]
add r14, rsi
add r15, rsi
jmp 0x140002c7b
mov rax, rcx
mov rdx, rbx
movzx ebp, bx
and rax, r13
cmp rax, r13
je 0x140002c4b
add rcx, 2
add rcx, rsi
mov qword [rsp + 0x28], rcx
call qword [0x140007030]
lea rdx, [rsp + 0x20]
mov word [rsp + 0x20], ax
mov word [rsp + 0x22], ax
jmp 0x140002c4f
movzx ebp, word [r14]
lea r9, [rsp + 0x60]
movzx r8d, bp
mov rcx, r12
mov qword [rsp + 0x60], rbx
call qword [0x140007070]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140002cb5
mov qword [r15], rax
add r14, 8
add r15, 8
mov rcx, qword [r14]
test rcx, rcx
jne 0x140002c17
mov eax, dword [rdi + 0x20]
add rdi, 0x14
test eax, eax
jne 0x140002bd8
mov rbx, rsi
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rdx, [0x140001798]
call fcn.140002824
jmp 0x140002c95
lea rdx, [0x140001788]
jmp 0x140002cbc