Function at 0x1400fa6a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1401a7d98]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, qword [rbp + 0x60]
xor r13d, r13d
mov r12, r9
mov r14, rdx
test rdi, rdi
jne 0x1400fa6da
int3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov word [rsp + 0x30], r13w
lea rax, [rbp - 0x10]
mov dword [rsp + 0x28], 1
lea r9, [0x1400fa680]
mov r8, r12
mov qword [rsp + 0x20], rax
mov edx, 0x18
mov byte [rbp - 0x10], r13b
mov rcx, r14
movzx r15d, r13w
call qword [sym.imp.KERNEL32.dll_EnumResourceLanguagesExW]
nop dword [rax + rax]
mov ebx, 0x36fd
lea rsi, str.onecore_basewcp_rtllibwin32lib_resource_library.cpp
test eax, eax
jne 0x1400fa79c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x1400fa747
mov eax, ebx
jmp 0x1400fa758
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x1400fa758
int3
lea rcx, [0x14016cf88]
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rcx
lea rcx, str.::EnumResourceLanguagesExW__DllHandle__pwszResourceType__pwszResourceId__RtlpWin32FindFirstResourceLanguage_EnumerateResourceLanguagesCallback__reinterpret_cast_LONG_PTR__EnumerationContext____0x0001___0_
mov qword [rbp - 0x18], rcx
movzx ecx, ax
or ecx, 0x80070000
mov dword [rbp - 0x20], 0x46
test eax, eax
cmovle ecx, eax
call fcn.14009dbd4
mov r8d, eax
lea rcx, [rbp - 0x30]
mov esi, eax
call fcn.1400c81b4
jmp 0x1400fa7a4
movzx r15d, word [rbp - 0xe]
mov esi, r13d
test esi, esi
jns 0x1400fa7af
mov eax, esi
jmp 0x1400fa97e
movzx r9d, r15w
mov r8, r12
mov edx, 0x18
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x1400fa845
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
je 0x1400fa7f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400fa7f5
int3
lea rax, str.onecore_basewcp_rtllibwin32lib_resource_library.cpp
mov dword [rbp - 0x20], 0x85
mov qword [rbp - 0x30], rax
lea rax, str.Windows::Rtl::LoadFirstResourceLanguageAgnostic
mov qword [rbp - 0x28], rax
lea rax, str.hResInfo__::FindResourceExW_DllHandle__pwszResourceType__pwszResourceId__Language_
movzx ecx, bx
or ecx, 0x80070000
mov qword [rbp - 0x18], rax
test ebx, ebx
cmovle ecx, ebx
call fcn.14009dbd4
mov r8d, eax
lea rcx, [rbp - 0x30]
mov ebx, eax
call fcn.1400c81b4
mov eax, ebx
jmp 0x1400fa97e
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
mov r15, rax
test rax, rax
jne 0x1400fa8ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
je 0x1400fa882
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400fa882
int3
lea rax, str.onecore_basewcp_rtllibwin32lib_resource_library.cpp
mov dword [rbp - 0x20], 0x87
mov qword [rbp - 0x30], rax
lea rax, str.Windows::Rtl::LoadFirstResourceLanguageAgnostic
mov qword [rbp - 0x28], rax
lea rax, str.hResData__::LoadResource_DllHandle__hResInfo_
jmp 0x1400fa819
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
nop dword [rax + rax]
mov eax, eax
mov qword [rdi + 8], rax
mov qword [rdi], rax
test rax, rax
jne 0x1400fa917
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
je 0x1400fa8ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400fa8ee
int3
lea rax, str.onecore_basewcp_rtllibwin32lib_resource_library.cpp
mov dword [rbp - 0x20], 0x8b
mov qword [rbp - 0x30], rax
lea rax, str.Windows::Rtl::LoadFirstResourceLanguageAgnostic
mov qword [rbp - 0x28], rax
lea rax, [0x140168888]
jmp 0x1400fa819
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LockResource]
nop dword [rax + rax]
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x1400fa97b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
je 0x1400fa952
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400fa952
int3
lea rax, str.onecore_basewcp_rtllibwin32lib_resource_library.cpp
mov dword [rbp - 0x20], 0x8e
mov qword [rbp - 0x30], rax
lea rax, str.Windows::Rtl::LoadFirstResourceLanguageAgnostic
mov qword [rbp - 0x28], rax
lea rax, str.pBlob__Buffer__reinterpret_cast_PUCHAR__::LockResource_hResData__
jmp 0x1400fa819
mov eax, r13d
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140109af0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret