Function at 0x14002dc3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140076580]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rbx, r8
xor edx, edx
mov r13, rcx
mov qword [rbp - 0x80], rbx
lea rcx, str.AppxPackaging.dll
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
xor r14d, r14d
mov rdi, rax
test rax, rax
jne 0x14002dcd4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x14002e3c8
mov rcx, qword [rbp + 0x88]
lea r8, str.onecoreprintscan_appxpackaginglibcore_srcxmlvalidationhelper.cpp
mov r9d, esi
lea edx, [rdi + 0x4a]
call fcn.140002204
jmp 0x14002e3c8
mov rax, qword [r13 + 0x10]
lea r15, str.onecoreprintscan_appxpackaginglibcore_srcxmlvalidationhelper.cpp
mov dword [rsp + 0x48], r14d
test rax, rax
je 0x14002e0e8
mov r12, r14
mov qword [rsp + 0x38], r14
cmp r12, rax
jb 0x14002dcff
mov rax, r14
jmp 0x14002dd0a
lfence
mov rax, qword [r13]
mov rax, qword [rax + r12*8]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14002e286
mov r8d, 0x1f4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14002dd74
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x14002dede
lea edx, [rbx + 0x24]
mov rcx, qword [rbp + 0x88]
lea r8, str.onecoreprintscan_appxpackaginglibcore_src_resourcestream.cpp
mov r9d, esi
call fcn.140002204
jmp 0x14002ded6
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x14002ddb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x14002dede
mov edx, 0x27
jmp 0x14002dd59
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
nop dword [rax + rax]
xor ebx, ebx
mov r14d, eax
test eax, eax
jne 0x14002ddff
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
xor r14d, r14d
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x14002dede
lea edx, [rbx + 0x2c]
jmp 0x14002dd59
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14002e264
lea rdx, [0x140037388]
mov qword [rsp + 0x38], rbx
mov ecx, 0x20
call fcn.140033b94
mov rbx, rax
test rax, rax
jne 0x14002de42
mov esi, 0x8007000e
xor r14d, r14d
jmp 0x14002deb6
mov rcx, qword [0x140076ca0]
mov dword [rax + 0xc], 1
lea rax, [0x1400354b0]
mov qword [rbx], rax
test rcx, rcx
je 0x14002de6c
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140037098]
lea rax, [0x1400354e0]
mov rcx, rbx
mov qword [rbx], rax
lea r8, [rsp + 0x38]
mov dword [rbx + 0x1c], r14d
lea rdx, str.0:s_f
mov qword [rbx + 0x10], rsi
xor r14d, r14d
mov dword [rbx + 0x18], r14d
mov rax, qword [rbx]
mov rax, qword [rax]
call qword [0x140037098]
mov esi, eax
mov rcx, rbx
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
call qword [0x140037098]
test esi, esi
jns 0x14002ded3
mov rcx, qword [rbp + 0x88]
lea r8, str.onecoreprintscan_appxpackaginglibcore_src_resourcestream.cpp
mov r9d, esi
mov edx, 0x31
call fcn.1400068cc
jmp 0x14002ded6
mov esi, r14d
test esi, esi
js 0x14002e2a6
mov rbx, qword [rsp + 0x38]
lea rcx, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x40], rdx
call fcn.14002dadc
mov esi, eax
xor eax, eax
test esi, esi
jns 0x14002df3f
mov rcx, qword [rbp + 0x88]
mov r9d, esi
mov r8, r15
mov edx, 0x92
call fcn.1400068cc
mov rcx, qword [rsp + 0x40]
xor ebx, ebx
test rcx, rcx
je 0x14002dfd8
mov rax, qword [rcx]
mov qword [rsp + 0x40], rbx
mov rax, qword [rax + 0x10]
call qword [0x140037098]
jmp 0x14002dfd8
movsd xmm1, qword [rbp - 0x68]
lea r8, [rsp + 0x30]
mov word [rsp + 0x30], ax
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x70], rbx
mov ecx, 0xd
mov rbx, qword [rsp + 0x40]
mov word [rbp - 0x78], cx
mov rcx, rbx
movups xmm0, xmmword [rbp - 0x78]
mov rax, qword [rbx]
movaps xmmword [rbp - 0x40], xmm0
movsd qword [rbp - 0x30], xmm1
mov rax, qword [rax + 0x1d0]
call qword [0x140037098]
mov esi, eax
xor eax, eax
test esi, esi
jns 0x14002dfbe
mov rcx, qword [rbp + 0x88]
mov r9d, esi
mov r8, r15
mov edx, 0x9a
call fcn.1400068cc
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x40], rdx
mov rax, qword [rax + 0x10]
call qword [0x140037098]
xor ebx, ebx
jmp 0x14002dfd8
cmp word [rsp + 0x30], ax
je 0x14002e203
mov r14, rbx
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x78], r14
test esi, esi
js 0x14002e234
mov rax, qword [r14]
lea rdx, [rsp + 0x60]
mov rcx, r14
mov rax, qword [rax + 0x1d8]
call qword [0x140037098]
mov esi, eax
test eax, eax
js 0x14002e1f9
cmp dword [rsp + 0x60], 4
jne 0x14002e1db
mov eax, 0xd
mov qword [rbp - 0x58], r14
mov word [rbp - 0x60], ax
cmp r12, qword [r13 + 0x10]
jb 0x14002e025
mov rcx, rbx
jmp 0x14002e035
lfence
mov rax, qword [r13]
mov r14, qword [rsp + 0x78]
mov rcx, qword [rax + r12*8]
mov rcx, qword [rcx]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
xor r12d, r12d
mov rbx, rax
test rax, rax
je 0x14002e1ae
mov rcx, qword [rbp - 0x80]
lea r8, [rbp - 0x20]
movups xmm0, xmmword [rbp - 0x60]
mov rdx, rbx
movsd xmm1, qword [rbp - 0x50]
mov rax, qword [rcx]
movaps xmmword [rbp - 0x20], xmm0
movsd qword [rbp - 0x10], xmm1
mov rax, qword [rax + 0x38]
call qword [0x140037098]
mov esi, eax
test eax, eax
js 0x14002e195
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov rax, qword [r14]
mov rcx, r14
mov qword [rsp + 0x78], r12
mov rax, qword [rax + 0x10]
call qword [0x140037098]
mov rcx, qword [rsp + 0x38]
xor r14d, r14d
test rcx, rcx
je 0x14002e0ca
mov qword [rsp + 0x38], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140037098]
mov ecx, dword [rsp + 0x48]
mov rax, qword [r13 + 0x10]
inc ecx
mov r12d, ecx
mov dword [rsp + 0x48], ecx
cmp r12, rax
jb 0x14002dcf0
mov rbx, qword [rbp - 0x80]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x70]
call qword [0x140037098]
mov esi, eax
test eax, eax
jns 0x14002e3b9
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x58], r14
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SetErrorInfo]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002e3a2
mov qword [rsp + 0x50], r14
lea rdx, [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [0x140037098]
test eax, eax
js 0x14002e375
test byte [0x140076cc0], 1
je 0x14002e31d
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], 0x80080200
mov qword [rbp + 0x10], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x18], 4
test rax, rax
je 0x14002e2e4
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r14w
jne 0x14002e17f
lea edx, [rcx*2 + 2]
jmp 0x14002e2e9
mov rcx, qword [rbp + 0x88]
mov r9d, eax
mov r8, r15
mov edx, 0x66
call fcn.1400068cc
jmp 0x14002e1ca
mov rcx, qword [rbp + 0x88]
mov esi, 0x8007000e
mov r9d, esi
mov r8, r15
mov edx, 0x63
call fcn.140002204
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
jmp 0x14002e24b
mov rcx, qword [rbp + 0x88]
mov esi, 0x8000ffff
mov r9d, esi
mov r8, r15
mov edx, 0x5c
call fcn.140002204
jmp 0x14002e24b
mov r9d, eax
mov edx, 0x5b
jmp 0x14002e23c
mov rcx, qword [rbp + 0x88]
mov esi, 0x8000ffff
mov r9d, esi
mov r8, r15
mov edx, 0x9e
call fcn.140002204
test rbx, rbx
je 0x14002e234
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [0x140037098]
mov r9d, esi
mov edx, 0x56
mov rcx, qword [rbp + 0x88]
mov r8, r15
call fcn.1400068cc
xor ebx, ebx
test r14, r14
je 0x14002e2bf
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 0x10]
call qword [0x140037098]
jmp 0x14002e2bf
mov rcx, qword [rbp + 0x88]
lea r8, str.onecoreprintscan_appxpackaginglibcore_src_resourcestream.cpp
mov esi, 0x8000ffff
mov edx, 0x2f
mov r9d, esi
call fcn.140002204
jmp 0x14002e2a8
mov rcx, qword [rbp + 0x88]
lea r8, str.onecoreprintscan_appxpackaginglibcore_src_resourcestream.cpp
mov esi, 0x80004003
mov edx, 0x1e
mov r9d, esi
call fcn.140002204
xor ebx, ebx
mov rcx, qword [rbp + 0x88]
mov r9d, esi
mov r8, r15
mov edx, 0x52
call fcn.1400068cc
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002e3b9
mov qword [rsp + 0x38], rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140037098]
jmp 0x14002e3b9
mov edx, 0xa
test rax, rax
mov dword [rbp + 0x28], edx
lea rcx, str.NULL
mov dword [rbp + 0x2c], r14d
cmovne rcx, rax
lea rdx, [0x1400709b8]
lea rax, [rbp]
mov qword [rbp + 0x20], rcx
mov r9d, 3
mov qword [rsp + 0x20], rax
call fcn.14002f644
mov rbx, qword [rsp + 0x50]
lea r9, [rsp + 0x70]
lea rdx, [rbp + 0x30]
mov dword [rsp + 0x70], r14d
mov ecx, 0x80080200
call fcn.1400325a8
test eax, eax
jns 0x14002e345
mov edx, 0x7c
jmp 0x14002e35f
mov r8, rbx
lea rdx, [rbp + 0x30]
mov ecx, 0xb0000080
call fcn.14002f930
test eax, eax
jns 0x14002e375
mov edx, 0x7d
mov rcx, qword [rbp + 0x88]
lea r8, [0x140071280]
mov r9d, eax
call fcn.1400068cc
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002e3a2
mov qword [rsp + 0x58], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140037098]
mov rcx, qword [rbp + 0x88]
mov r9d, esi
mov r8, r15
mov edx, 0x80
call fcn.140002204
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov eax, esi
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.1400338b0
mov rbx, qword [rsp + 0x198]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret