Function at 0x14001afb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbx
push r13
sub rsp, 0x88
mov qword [rax + 0x10], rbp
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
mov r15, rcx
mov ecx, 0x10000
movzx edi, dl
call fcn.14002503c
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.14001b3ac
xor ebx, ebx
lea rcx, [0x140000000]
mov r8d, ebx
nop word [rax + rax]
movzx eax, byte [r8 + rcx + 0xb90f0]
inc r8
mov byte [rsp + r8 + 0x3f], al
movzx eax, byte [r8 + rcx + 0xb90f7]
mov byte [rsp + r8 + 0x47], al
cmp r8, 8
jl 0x14001b000
mov ebp, 4
lea rdx, str.AU3_
lea rcx, [rsp + 0x50]
mov r8d, ebp
call fcn.140025100
cmp qword [r15 + 0x10], rbx
jne 0x14001b198
mov qword [rsp + 0x70], r12
cmp byte [r15 + 0x20], bl
jne 0x14004ddf1
mov rcx, qword [r15]
call fcn.14002a170
mov r12d, eax
mov r13, qword [rsp + 0x30]
nop word [rax + rax]
cmp byte [r15 + 0x20], bl
jne 0x14001b21b
mov ecx, 0x10000
mov rax, qword [r15]
movsxd r9, ecx
mov r8d, 1
mov rdx, r13
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.14001b258
mov qword [rsp + 0xb0], rax
cmp eax, 0x18
jl 0x14001b149
lea ecx, [rax - 0x14]
mov r11d, ebx
movsxd rsi, ecx
test ecx, ecx
jle 0x14001b10d
lea r14, [rsp + 0x42]
mov rdi, 0xfffffffffffffffe
lea rcx, [r13 + 2]
neg r14
sub rdi, r13
nop
mov r9d, ebx
mov r10, rbx
lea r8, [rsp + 0x40]
lea rax, [r14 + rcx]
add r8, r10
movzx edx, byte [rax + r8]
cmp byte [r8], dl
je 0x14001b134
cmp r9d, 0x14
je 0x14004de38
inc rcx
inc r11d
lea rax, [rdi + rcx]
cmp rax, rsi
jl 0x14001b0d0
mov rax, qword [rsp + 0xb0]
cmp byte [r15 + 0x20], bl
jne 0x14001b149
mov rdx, qword [r15]
mov r9d, 1
add r12d, 0xffffffec
lea r8d, [r9 - 0x15]
mov rcx, r15
add r12d, eax
call fcn.14001b230
jmp 0x14001b070
movzx eax, byte [rcx + r10 - 1]
cmp byte [r8 + 1], al
je 0x14001b1e3
inc r9d
jmp 0x14001b0ec
mov ebp, 3
mov ebx, ebp
mov rcx, qword [rsp + 0x38]
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
dec qword [rcx]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xa8]
jne 0x14001b18b
call fcn.140023700
mov rcx, r13
call fcn.140023700
mov eax, ebx
add rsp, 0x88
pop r13
pop rbx
ret
test dil, dil
je 0x14004dde3
lea r8, [r15 + 0x18]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x14001b048
mov rcx, qword [r15 + 0x10]
xor r9d, r9d
lea r8, [0x1400a9408]
lea edx, [r9 + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rdi, rax
test rax, rax
je 0x14001b048
jmp 0x14004dd68
movzx eax, byte [rcx + r10]
cmp byte [r8 + 2], al
je 0x14001b1f7
add r9d, 2
jmp 0x14001b0ec
movzx eax, byte [rcx + r10 + 1]
cmp byte [r8 + 3], al
jne 0x14001b225
movzx eax, byte [rcx + r10 + 2]
cmp byte [r8 + 4], al
je 0x14004de21
add r9d, ebp
jmp 0x14001b0ec
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
jmp 0x14001b07f
add r9d, 3
jmp 0x14001b0ec
mov rcx, qword [r15 + 0x10]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14001b048
mov rcx, qword [r15 + 0x10]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x14001b048
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14001b048
mov rcx, qword [r15 + 0x18]
xor r9d, r9d
mov r8d, edi
mov r10, qword [rcx]
mov rdx, rax
call qword [r10 + reloc.OLEAUT32.dll_RegisterActiveObject]
mov rcx, qword [r15 + 0x18]
xor r9d, r9d
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0xb0], rbx
call qword [rax + SafeArrayCreateEx]
mov byte [r15 + 0x20], 1
jmp 0x14001b048
mov rcx, r15
call fcn.140079078
nop
jmp 0x14001b048
mov rcx, qword [r15 + 0x18]
lea r9, [rsp + 0xb8]
mov r8d, 1
mov rax, qword [rcx]
mov rdx, rbx
mov qword [rsp + 0xb0], rbx
call qword [rax + SafeArrayCreateEx]
mov r12d, dword [rsp + 0xb8]
jmp 0x14001b062
add r10, 5
add r9d, 5
cmp r10, 0x14
jl 0x14001b0d6
jmp 0x14001b0ec
mov rdx, qword [r15]
lea r8d, [r11 + 0x14]
xor r9d, r9d
add r8d, r12d
mov rcx, r15
call fcn.14001b230
mov rax, qword [r15]
lea rdx, [rsp + 0xa0]
mov r9d, 1
mov r8, rbp
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.14001b258
cmp dword [rsp + 0xa0], 0x36304145
jne 0x14001b14e
jmp 0x14001b150