Function at 0x14001b150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x60
mov r15, rcx
mov ecx, 0x10000
movzx edi, dl
call fcn.1400261dc
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.14001b7e0
xor ebx, ebx
lea rcx, [0x140000000]
mov r8d, ebx
nop dword [rax + rax]
movzx eax, byte [r8 + rcx + 0xb9a20]
inc r8
mov byte [rsp + r8 + 0x3f], al
movzx eax, byte [r8 + rcx + 0xb9a27]
mov byte [rsp + r8 + 0x47], al
cmp r8, 8
jl 0x14001b190
mov ebp, 4
lea rdx, str.AU3_
lea rcx, [rsp + 0x50]
mov r8d, ebp
call fcn.1400262a0
cmp qword [r15 + 0x10], rbx
jne 0x14001b2fc
mov qword [rsp + 0xa8], r12
cmp byte [r15 + 0x20], bl
jne 0x14004ed19
mov rcx, qword [r15]
call fcn.14002b310
mov r12d, eax
mov rdi, qword [rsp + 0x30]
nop word [rax + rax]
cmp byte [r15 + 0x20], bl
jne 0x14001b37f
mov ecx, 0x10000
mov rax, qword [r15]
movsxd r9, ecx
mov r8d, 1
mov rdx, rdi
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.14001b3bc
mov r13, rax
cmp eax, 0x18
jl 0x14001b2d2
lea ecx, [rax - 0x14]
mov r11d, ebx
movsxd rsi, ecx
test ecx, ecx
jle 0x14001b29a
mov rax, qword [rsp + 0x30]
lea r14, [rsp + 0x42]
mov rdi, 0xfffffffffffffffe
neg r14
lea rcx, [rax + 2]
sub rdi, rax
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 0x14001b2c1
cmp r9d, 0x14
je 0x14004ed60
inc rcx
inc r11d
lea rax, [rdi + rcx]
cmp rax, rsi
jl 0x14001b260
mov rdi, qword [rsp + 0x30]
cmp byte [r15 + 0x20], bl
jne 0x14001b2d2
mov rdx, qword [r15]
mov r9d, 1
add r12d, 0xffffffec
lea r8d, [r9 - 0x15]
mov rcx, r15
add r12d, r13d
call fcn.14001b394
jmp 0x14001b200
movzx eax, byte [rcx + r10 - 1]
cmp byte [r8 + 1], al
je 0x14001b347
inc r9d
jmp 0x14001b27c
mov ebp, 3
mov ebx, ebp
lea rcx, [rsp + 0x30]
call fcn.14001b7b4
mov r12, qword [rsp + 0xa8]
mov eax, ebx
add rsp, 0x60
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
test dil, dil
je 0x14004ed0b
lea r8, [r15 + 0x18]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x14001b1d8
mov rcx, qword [r15 + 0x10]
xor r9d, r9d
lea r8, [0x1400aa410]
lea edx, [r9 + 0xa]
call qword [sym.imp.KERNEL32.DLL_FindResourceExW]
mov rdi, rax
test rax, rax
je 0x14001b1d8
jmp 0x14004ec90
movzx eax, byte [rcx + r10]
cmp byte [r8 + 2], al
je 0x14001b35b
add r9d, 2
jmp 0x14001b27c
movzx eax, byte [rcx + r10 + 1]
cmp byte [r8 + 3], al
jne 0x14001b389
movzx eax, byte [rcx + r10 + 2]
cmp byte [r8 + 4], al
je 0x14004ed49
add r9d, ebp
jmp 0x14001b27c
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
jmp 0x14001b20f
add r9d, 3
jmp 0x14001b27c
mov rcx, qword [r15 + 0x10]
mov rdx, rax
call qword [sym.imp.KERNEL32.DLL_LoadResource]
mov rsi, rax
test rax, rax
je 0x14001b1d8
mov rcx, qword [r15 + 0x10]
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
test eax, eax
je 0x14001b1d8
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_LockResource]
test rax, rax
je 0x14001b1d8
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 0x14001b1d8
mov rcx, r15
call fcn.14007a89c
nop
jmp 0x14001b1d8
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 0x14001b1f5
add r10, 5
add r9d, 5
cmp r10, 0x14
jl 0x14001b266
jmp 0x14001b27c
mov rdx, qword [r15]
lea r8d, [r11 + 0x14]
xor r9d, r9d
add r8d, r12d
mov rcx, r15
call fcn.14001b394
mov rax, qword [r15]
lea rdx, [rsp + 0xa0]
mov r9d, 1
mov r8, rbp
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.14001b3bc
cmp dword [rsp + 0xa0], 0x36304145
jne 0x14001b2d7
jmp 0x14001b2d9