Function at 0x14001b390
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.14002652c
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.14001ba20
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 0x14001b3d0
mov ebp, 4
lea rdx, str.AU3_
lea rcx, [rsp + 0x50]
mov r8d, ebp
call fcn.1400265f0
cmp qword [r15 + 0x10], rbx
jne 0x14001b53c
mov qword [rsp + 0xa8], r12
cmp byte [r15 + 0x20], bl
jne 0x14004f309
mov rcx, qword [r15]
call fcn.14002b660
mov r12d, eax
mov rdi, qword [rsp + 0x30]
nop word [rax + rax]
cmp byte [r15 + 0x20], bl
jne 0x14001b5bf
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.14001b5fc
mov r13, rax
cmp eax, 0x18
jl 0x14001b512
lea ecx, [rax - 0x14]
mov r11d, ebx
movsxd rsi, ecx
test ecx, ecx
jle 0x14001b4da
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 0x14001b501
cmp r9d, 0x14
je 0x14004f350
inc rcx
inc r11d
lea rax, [rdi + rcx]
cmp rax, rsi
jl 0x14001b4a0
mov rdi, qword [rsp + 0x30]
cmp byte [r15 + 0x20], bl
jne 0x14001b512
mov rdx, qword [r15]
mov r9d, 1
add r12d, 0xffffffec
lea r8d, [r9 - 0x15]
mov rcx, r15
add r12d, r13d
call fcn.14001b5d4
jmp 0x14001b440
movzx eax, byte [rcx + r10 - 1]
cmp byte [r8 + 1], al
je 0x14001b587
inc r9d
jmp 0x14001b4bc
mov ebp, 3
mov ebx, ebp
lea rcx, [rsp + 0x30]
call fcn.14001b9f4
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 0x14004f2fb
lea r8, [r15 + 0x18]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x14001b418
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 0x14001b418
jmp 0x14004f280
movzx eax, byte [rcx + r10]
cmp byte [r8 + 2], al
je 0x14001b59b
add r9d, 2
jmp 0x14001b4bc
movzx eax, byte [rcx + r10 + 1]
cmp byte [r8 + 3], al
jne 0x14001b5c9
movzx eax, byte [rcx + r10 + 2]
cmp byte [r8 + 4], al
je 0x14004f339
add r9d, ebp
jmp 0x14001b4bc
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
jmp 0x14001b44f
add r9d, 3
jmp 0x14001b4bc
mov rcx, qword [r15 + 0x10]
mov rdx, rax
call qword [sym.imp.KERNEL32.DLL_LoadResource]
mov rsi, rax
test rax, rax
je 0x14001b418
mov rcx, qword [r15 + 0x10]
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
test eax, eax
je 0x14001b418
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_LockResource]
test rax, rax
je 0x14001b418
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 0x14001b418
mov rcx, r15
call fcn.14007aa5c
nop
jmp 0x14001b418
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 0x14001b435
add r10, 5
add r9d, 5
cmp r10, 0x14
jl 0x14001b4a6
jmp 0x14001b4bc
mov rdx, qword [r15]
lea r8d, [r11 + 0x14]
xor r9d, r9d
add r8d, r12d
mov rcx, r15
call fcn.14001b5d4
mov rax, qword [r15]
lea rdx, [rsp + 0xa0]
mov r9d, 1
mov r8, rbp
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.14001b5fc
cmp dword [rsp + 0xa0], 0x36304145
jne 0x14001b517
jmp 0x14001b519