Function at 0x14002a43c
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 0x14002a47e
call fcn.140017cf4
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x14002a69e
movzx eax, byte [rsp + 0xc8]
test eax, eax
jne 0x14002a509
lea rdx, [0x14025e5f0]
mov ecx, 0x18
call fcn.1401d02c0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14002a4db
movzx eax, word [rsp + 0xc0]
mov r8d, eax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x58]
call fcn.140015c48
mov qword [rsp + 0x60], rax
jmp 0x14002a4e4
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 0x14002a69e
movzx eax, word [rsp + 0xc0]
lea r8, [0x140215828]
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 0x14002a69e
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 0x14002a69e
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14002a693
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 0x14002a689
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14002a67e
mov eax, dword [rsp + 0x20]
mov r8d, eax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
call fcn.1401fe050
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 0x14002a67e
lea rdx, [0x14025e5f0]
mov ecx, 0x18
call fcn.1401d02c0
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14002a645
xor r8d, r8d
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.140015cb4
mov qword [rsp + 0x78], rax
jmp 0x14002a64e
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 0x14002a725
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rax]
call fcn.140026704
test eax, eax
je 0x14002a725
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002a706
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 0x14002a712
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0xd0]
mov qword [rax], 0
xor al, al
jmp 0x14002a749
mov rax, qword [rsp + 0xd0]
cmp qword [rax], 0
je 0x14002a73d
mov dword [rsp + 0x24], 1
jmp 0x14002a745
mov dword [rsp + 0x24], 0
mov al, byte [rsp + 0x24]
add rsp, 0xa8
ret