Function at 0x140002248
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x14001e680
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x14007c860]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea rax, [0x1400607e8]
mov qword [rsp + 0x30], rax
lea rax, [0x1400607f8]
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP110.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP110.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x30], r12
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP110.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x48], r15d
lea rdx, str.GetResourceData
lea rcx, [rsp + 0x40]
call fcn.140003ae4
lea rdx, [0x140062518]
lea rcx, [rsp + 0x40]
call fcn.140003ae4
mov rcx, rax
lea rdx, [0x140001613]
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x140002306]
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, esi
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140002be9]
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x140062514]
call fcn.140003ae4
lea rcx, [rsp + 0x40]
test rdi, 0xffffffffffff0000
jne 0x14001e7ca
movzx edx, di
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
jmp 0x14001e7d2
mov rdx, rdi
call fcn.140003ae4
lea rdx, [0x140062514]
lea rcx, [rsp + 0x40]
call fcn.140003ae4
lea rcx, [rsp + 0x40]
test rbx, 0xffffffffffff0000
jne 0x14001e7fc
movzx edx, bx
call qword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
jmp 0x14001e804
mov rdx, rbx
call fcn.140003ae4
lea rdx, [0x14006251c]
lea rcx, [rsp + 0x40]
call fcn.140003ae4
lea rdx, [0x140062520]
lea rcx, [rsp + 0x40]
call fcn.140003ae4
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
jne 0x14001e877
cmp byte [0x14007ca60], al
je 0x14001e99d
lea rdx, [rbp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14000173f
nop
cmp qword [rax + 0x18], 0x10
jb 0x14001e862
mov rax, qword [rax]
mov rdx, rax
lea rcx, str._sNo_resource_n
call fcn.1400031a2
nop
jmp 0x14001e90a
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
test eax, eax
jne 0x14001e8c1
cmp byte [0x14007ca60], al
je 0x14001e99d
lea rdx, [rbp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14000173f
nop
cmp qword [rax + 0x18], 0x10
jb 0x14001e8af
mov rax, qword [rax]
mov rdx, rax
lea rcx, str._sNo_size_n
call fcn.1400031a2
nop
jmp 0x14001e90a
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14001e920
cmp byte [0x14007ca60], al
je 0x14001e99d
lea rdx, [rbp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14000173f
nop
cmp qword [rax + 0x18], 0x10
jb 0x14001e8fa
mov rax, qword [rax]
mov rdx, rax
lea rcx, str._sNo_lock_n
call fcn.1400031a2
nop
cmp qword [rbp + 0x50], 0x10
jb 0x14001e99d
mov rcx, qword [rbp + 0x38]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x14001e99d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
jne 0x14001e974
cmp byte [0x14007ca60], al
je 0x14001e993
lea rdx, [rbp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14000173f
nop
cmp qword [rax + 0x18], 0x10
jb 0x14001e952
mov rax, qword [rax]
mov rdx, rax
lea rcx, str._sNo_lock_n
call fcn.1400031a2
nop
cmp qword [rbp + 0x50], 0x10
jb 0x14001e993
mov rcx, qword [rbp + 0x38]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x14001e993
mov rdx, r14
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r15, rax
mov r8, r14
mov rdx, rsi
mov rcx, rax
call sub.MSVCR110.dll_memcpy
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
nop
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x30], r12
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x48]
call fcn.1400010e6
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, r15
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140052d40
add rsp, 0x170
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret