Function at 0x180001320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180010010]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rdi, rdx
xor r12d, r12d
lea r8, [0x18000b5f8]
lea edx, [r12 + 0x6a]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
jne 0x18000137f
xor al, al
jmp 0x1800017a0
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
test rax, rax
je 0x180001378
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], r12b
mov r14, 0xffffffffffffffff
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rbx + r8], r12b
jne 0x1800013d0
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.180004c50
nop
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov r8d, 0x20
lea rdx, str.8ec8410c443d08d15a02f338afdfe4d1
lea rcx, [rbp - 0x48]
call fcn.180004c50
nop
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
lea rcx, [rbp - 0x28]
call fcn.180004c50
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x28]
call fcn.1800076c0
mov qword [rbp - 0x58], r12
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rax, qword [rbp - 0x68]
mov byte [rax], 0
movsxd rbx, dword [rsp + 0x68]
lea esi, [rbx + 1]
movsxd rcx, esi
call fcn.180008278
mov r15, rax
mov r8, rbx
mov byte [rbx + rax], 0
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rax, qword [rsp + 0x58]
mov byte [rax], 0
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea ecx, [rax + 0x70]
call fcn.18000823c
mov rbx, rax
mov qword [rsp + 0x28], rax
xor edx, edx
lea r8d, [rdx + 0x70]
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
movsxd r8, esi
mov r9d, 1
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.codeporting.translator.cs2cpp.framework_vc14x64.dll_public:_void___cdecl_System::IO::UnmanagedMemoryStream::constructor_unsigned_char____ptr64__long_long___int64_____ptr64]
mov r8, rax
mov byte [rsp + 0x78], 0
test rax, rax
jne 0x18000153a
mov qword [rbp - 0x80], r12
jmp 0x18000155f
mov rax, qword [rax + 8]
movsxd rcx, dword [rax + 4]
lea rdx, [r8 + 8]
add rdx, rcx
mov eax, 1
lock xadd dword [rdx + 0x10], eax
mov qword [rbp - 0x80], r8
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x70], rdx
xor eax, eax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
lea rcx, [rbp - 8]
call fcn.180004e30
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x38], 0
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.180005430
nop
mov rcx, qword [rbp]
test rcx, rcx
je 0x1800015b7
cmp byte [rbp - 8], 1
jne 0x1800015b3
mov rax, qword [rbp + 0x10]
cmp qword [rax], 0
je 0x1800015b7
xor al, al
jmp 0x1800015b9
mov al, 1
test al, al
je 0x1800015c7
call qword [sym.imp.codeporting.translator.cs2cpp.framework_vc14x64.dll_public:_static_void___cdecl_System::Detail::SmartPtrCounter::ThrowNullReferenceException_void_]
mov rcx, qword [rbp]
lea rdx, [rsp + 0x38]
call qword [sym.imp.Aspose.PDF.Cpp_vc14x64.dll_public:_void___cdecl_Aspose::Pdf::License::SetLicense_class_System::SmartPtr_class_System::IO::Stream_____ptr64]
mov rcx, r15
call fcn.180008234
nop
lea rcx, [rbp - 8]
call fcn.180003fc0
nop
cmp qword [rbp - 0x80], 0
je 0x180001661
movzx eax, byte [rsp + 0x78]
test al, al
jne 0x18000161e
mov rax, qword [rbp - 0x70]
lock xadd dword [rax + 0x10], r14d
lea eax, [r14 - 1]
mov rcx, r12
test eax, eax
cmove rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x180001661
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x180001661
cmp al, 1
je 0x18000163c
mov r8d, 0x4d6
lea rdx, str.e:zhanluepdfconverter_vendorplugdllcodeporting.translator.cs2cpp.framework_22.6include_system_smart_ptr.h
lea rcx, str.m_mode__SmartPtrMode::Weak
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp - 0x70]
lock xadd dword [rax + 8], r14d
lea eax, [r14 - 1]
test eax, eax
jne 0x180001661
mov rcx, qword [rbp - 0x70]
cmp qword [rcx], 0
jne 0x180001661
lea edx, [rax + 0x10]
call fcn.180008234
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1800016a1
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000169c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000169c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180008234
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1800016f2
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800016ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800016ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180008234
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x180001740
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000173b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000173b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180008234
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x18000178e
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001789
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001789
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180008234
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov al, 1
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.180008210
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret