Function at 0x14001b580
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.140026f9c
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.14001bc10
xor ebx, ebx
lea rcx, [0x140000000]
mov r8d, ebx
nop dword [rax + rax]
movzx eax, byte [r8 + rcx + 0xbad00]
inc r8
mov byte [rsp + r8 + 0x3f], al
movzx eax, byte [r8 + rcx + 0xbad07]
mov byte [rsp + r8 + 0x47], al
cmp r8, 8
jl 0x14001b5c0
mov ebp, 4
lea rdx, str.AU3_
lea rcx, [rsp + 0x50]
mov r8d, ebp
call fcn.140027060
cmp qword [r15 + 0x10], rbx
jne 0x14001b72c
mov qword [rsp + 0xa8], r12
cmp byte [r15 + 0x20], bl
jne 0x14004fa0f
mov rcx, qword [r15]
call fcn.14002c0d0
mov r12d, eax
mov rdi, qword [rsp + 0x30]
nop word [rax + rax]
cmp byte [r15 + 0x20], bl
jne 0x14001b7af
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.14001b7ec
mov r13, rax
cmp eax, 0x18
jl 0x14001b702
lea ecx, [rax - 0x14]
mov r11d, ebx
movsxd rsi, ecx
test ecx, ecx
jle 0x14001b6ca
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 0x14001b6f1
cmp r9d, 0x14
je 0x14004fa56
inc rcx
inc r11d
lea rax, [rdi + rcx]
cmp rax, rsi
jl 0x14001b690
mov rdi, qword [rsp + 0x30]
cmp byte [r15 + 0x20], bl
jne 0x14001b702
mov rdx, qword [r15]
mov r9d, 1
add r12d, 0xffffffec
lea r8d, [r9 - 0x15]
mov rcx, r15
add r12d, r13d
call fcn.14001b7c4
jmp 0x14001b630
movzx eax, byte [rcx + r10 - 1]
cmp byte [r8 + 1], al
je 0x14001b777
inc r9d
jmp 0x14001b6ac
mov ebp, 3
mov ebx, ebp
lea rcx, [rsp + 0x30]
call fcn.14001bbe4
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 0x14004fa01
lea r8, [r15 + 0x18]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x14001b608
mov rcx, qword [r15 + 0x10]
xor r9d, r9d
lea r8, [0x1400ab410]
lea edx, [r9 + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rdi, rax
test rax, rax
je 0x14001b608
jmp 0x14004f986
movzx eax, byte [rcx + r10]
cmp byte [r8 + 2], al
je 0x14001b78b
add r9d, 2
jmp 0x14001b6ac
movzx eax, byte [rcx + r10 + 1]
cmp byte [r8 + 3], al
jne 0x14001b7b9
movzx eax, byte [rcx + r10 + 2]
cmp byte [r8 + 4], al
je 0x14004fa3f
add r9d, ebp
jmp 0x14001b6ac
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
jmp 0x14001b63f
add r9d, 3
jmp 0x14001b6ac
mov rcx, qword [r15 + 0x10]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14001b608
mov rcx, qword [r15 + 0x10]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x14001b608
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14001b608
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 0x14001b608
mov rcx, r15
call fcn.14007adb4
nop
jmp 0x14001b608
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 0x14001b625
add r10, 5
add r9d, 5
cmp r10, 0x14
jl 0x14001b696
jmp 0x14001b6ac
mov rdx, qword [r15]
lea r8d, [r11 + 0x14]
xor r9d, r9d
add r8d, r12d
mov rcx, r15
call fcn.14001b7c4
mov rax, qword [r15]
lea rdx, [rsp + 0xa0]
mov r9d, 1
mov r8, rbp
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.14001b7ec
cmp dword [rsp + 0xa0], 0x36304145
jne 0x14001b707
jmp 0x14001b709