Function at 0x14002a4d8
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 0x14002a51a
call fcn.140017d90
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x14002a73a
movzx eax, byte [rsp + 0xc8]
test eax, eax
jne 0x14002a5a5
lea rdx, [0x14025f650]
mov ecx, 0x18
call fcn.1401d0630
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14002a577
movzx eax, word [rsp + 0xc0]
mov r8d, eax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x58]
call fcn.140015ce4
mov qword [rsp + 0x60], rax
jmp 0x14002a580
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 0x14002a73a
movzx eax, word [rsp + 0xc0]
lea r8, [0x140216888]
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 0x14002a73a
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 0x14002a73a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14002a72f
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 0x14002a725
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14002a71a
mov eax, dword [rsp + 0x20]
mov r8d, eax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
call fcn.1401fe570
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 0x14002a71a
lea rdx, [0x14025f650]
mov ecx, 0x18
call fcn.1401d0630
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14002a6e1
xor r8d, r8d
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.140015d50
mov qword [rsp + 0x78], rax
jmp 0x14002a6ea
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 0x14002a7c1
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax]
call fcn.1400267a0
test eax, eax
je 0x14002a7c1
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002a7a2
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 0x14002a7ae
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0xd0]
mov qword [rax], 0
xor al, al
jmp 0x14002a7e5
mov rax, qword [rsp + 0xd0]
cmp qword [rax], 0
je 0x14002a7d9
mov dword [rsp + 0x24], 1
jmp 0x14002a7e1
mov dword [rsp + 0x24], 0
mov al, byte [rsp + 0x24]
add rsp, 0xa8
ret