Function at 0x14002a74c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xd0]
mov qword [rax], 0
cmp qword [rsp + 0xb8], 0
jne 0x14002a78e
call fcn.140018004
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x14002a9ae
movzx eax, byte [rsp + 0xc8]
test eax, eax
jne 0x14002a819
lea rdx, [0x14025f6d0]
mov ecx, 0x18
call fcn.1401d08b0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14002a7eb
movzx eax, word [rsp + 0xc0]
mov r8d, eax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x58]
call fcn.140015f58
mov qword [rsp + 0x60], rax
jmp 0x14002a7f4
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x80]
mov qword [rax], rcx
jmp 0x14002a9ae
movzx eax, word [rsp + 0xc0]
lea r8, [0x140216908]
mov edx, eax
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14002a9ae
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14002a9ae
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14002a9a3
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov edx, eax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14002a999
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14002a98e
mov eax, dword [rsp + 0x20]
mov r8d, eax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
call fcn.1401fe7f0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x28]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x14002a98e
lea rdx, [0x14025f6d0]
mov ecx, 0x18
call fcn.1401d08b0
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14002a955
xor r8d, r8d
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.140015fc4
mov qword [rsp + 0x78], rax
jmp 0x14002a95e
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x88]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x38]
call fcn.14000a2bc
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rax, qword [rsp + 0xd0]
cmp qword [rax], 0
je 0x14002aa35
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax]
call fcn.140026a14
test eax, eax
je 0x14002aa35
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002aa16
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov edx, 5
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
jmp 0x14002aa22
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0xd0]
mov qword [rax], 0
xor al, al
jmp 0x14002aa59
mov rax, qword [rsp + 0xd0]
cmp qword [rax], 0
je 0x14002aa4d
mov dword [rsp + 0x24], 1
jmp 0x14002aa55
mov dword [rsp + 0x24], 0
mov al, byte [rsp + 0x24]
add rsp, 0xa8
ret