Function at 0x14001ef10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push rbx
push r13
mov rbp, rsp
sub rsp, 0x80
mov qword [rax + 0x10], rsi
mov qword [rax - 0x20], rdi
movzx edi, dl
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
mov r15, rcx
mov ecx, 0x10000
call fcn.140024f08
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14001f2dc
mov r12d, 4
mov dword [rbp - 0x40], 0xbe4b48a3
mov r8d, r12d
mov dword [rbp - 0x38], 0xa534c99
lea rdx, str.AU3_
mov dword [rbp - 0x3c], 0xa94a6c98
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x34], 0x7d48d686
call fcn.140026010
xor ebx, ebx
cmp qword [r15 + 0x10], rbx
jne 0x14001f0c7
cmp byte [r15 + 0x20], bl
jne 0x140061bb3
mov rcx, qword [r15]
call fcn.140033a84
mov r14d, eax
mov r13, qword [rbp - 0x50]
cmp byte [r15 + 0x20], bl
mov eax, reloc.OLEAUT32.dll_SafeArrayGetElement
mov r9d, 0x10000
mov r8d, 1
cmovne r9d, eax
mov rdx, r13
mov rax, qword [r15]
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.14001f190
mov qword [rbp + 0x30], rax
cmp eax, 0x18
jl 0x14001f078
lea ecx, [rax - 0x14]
mov r10d, ebx
movsxd rsi, ecx
test ecx, ecx
jle 0x14001f03e
or rdi, 0xffffffffffffffff
lea rcx, [r13 + 1]
sub rdi, r13
nop dword [rax]
lea rax, [rbp - 0x3f]
mov rdx, rcx
sub rdx, rax
mov r9d, ebx
mov r11, rbx
lea r8, [rbp - 0x40]
add r8, r11
movzx eax, byte [r8 + rdx]
cmp byte [r8], al
je 0x14001f064
cmp r9d, 0x14
je 0x140061bd7
inc rcx
inc r10d
lea rax, [rdi + rcx]
cmp rax, rsi
jl 0x14001f000
mov rax, qword [rbp + 0x30]
cmp byte [r15 + 0x20], bl
jne 0x14001f078
mov rdx, qword [r15]
mov r9d, 1
add eax, 0xffffffec
mov rcx, r15
add r14d, eax
lea r8d, [r9 - 0x15]
call fcn.14001f168
jmp 0x14001efab
movzx eax, byte [r11 + rcx]
cmp byte [r8 + 1], al
je 0x14001f112
inc r9d
jmp 0x14001f021
mov r12d, 3
mov ebx, r12d
mov rcx, qword [rbp - 0x48]
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
sub qword [rcx], 1
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xa8]
jne 0x14001f0b9
mov edx, 8
call fcn.140024ec4
mov rcx, r13
call fcn.140024ec4
mov eax, ebx
add rsp, 0x80
pop r13
pop rbx
pop rbp
ret
test dil, dil
je 0x140061ba5
lea r8, [r15 + 0x18]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x14001ef92
mov rcx, qword [r15 + 0x10]
lea r8, [0x1400b53b0]
xor r9d, r9d
lea edx, [r9 + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rdi, rax
test rax, rax
je 0x14001ef92
jmp 0x140061b2e
movzx eax, byte [r11 + rcx + 1]
cmp byte [r8 + 2], al
je 0x14001f127
add r9d, 2
jmp 0x14001f021
movzx eax, byte [r11 + rcx + 2]
cmp byte [r8 + 3], al
jne 0x14001f15e
movzx eax, byte [r11 + rcx + 3]
cmp byte [r8 + 4], al
jne 0x14001f156
add r11, 5
add r9d, 5
cmp r11, 0x14
jl 0x14001f010
jmp 0x14001f021
add r9d, r12d
jmp 0x14001f021
add r9d, 3
jmp 0x14001f021
mov rcx, qword [r15 + 0x10]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14001ef92
mov rcx, qword [r15 + 0x10]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x14001ef92
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14001ef92
mov rcx, qword [r15 + 0x18]
xor r9d, r9d
mov r8d, edi
mov rdx, rax
mov r10, qword [rcx]
call qword [r10 + reloc.OLEAUT32.dll_RegisterActiveObject]
mov rcx, qword [r15 + 0x18]
xor r9d, r9d
xor r8d, r8d
mov qword [rbp + 0x30], rbx
mov rdx, rbx
mov rax, qword [rcx]
call qword [rax + SafeArrayCreateEx]
mov byte [r15 + 0x20], 1
jmp 0x14001ef92
mov rcx, r15
call fcn.140081b0c
nop
jmp 0x14001ef92
mov rcx, qword [r15 + 0x18]
lea r9, [rbp + 0x38]
mov r8d, 1
mov qword [rbp + 0x30], rbx
mov rdx, rbx
mov rax, qword [rcx]
call qword [rax + SafeArrayCreateEx]
mov r14d, dword [rbp + 0x38]
jmp 0x14001efa7
mov rdx, qword [r15]
lea r8d, [r10 + 0x14]
add r8d, r14d
xor r9d, r9d
mov rcx, r15
call fcn.14001f168
mov rax, qword [r15]
lea rdx, [rbp + 0x20]
mov r9d, 1
mov qword [rsp + 0x20], rax
mov r8, r12
mov rcx, r15
call fcn.14001f190
cmp dword [rbp + 0x20], 0x36304145
jne 0x14001f07e
jmp 0x14001f081