Function at 0x14007f260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r9
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, r8
mov rbp, rdx
mov rdi, rcx
lea r8, [0x140335540]
xor r15d, r15d
mov rdx, rax
mov rcx, rbp
mov qword [rsp + 0x58], r15
mov ebx, r15d
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
jne 0x14007f2c7
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiimageex.cpp
lea edx, [rax + 0x42]
lea rcx, str._VCpl__EXIT_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14007f3ed
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
jne 0x14007f2f4
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiimageex.cpp
lea edx, [rax + 0x45]
lea rcx, str._VCpl__EXIT_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14007f3ed
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
jne 0x14007f32c
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiimageex.cpp
lea edx, [rax + 0x49]
lea rcx, str._VCpl__EXIT_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14007f3ed
mov rdx, rsi
mov ecx, 2
mov rbp, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
jne 0x14007f360
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiimageex.cpp
lea edx, [rax + 0x4d]
lea rcx, str._VCpl__EXIT_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14007f3ed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [rsp + 0x60]
test rax, rax
je 0x14007f45a
mov r8, rbp
mov rdx, r14
mov rcx, rax
call fcn.140283d40
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], r15
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x14007f3b4
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edx, 0x57
jmp 0x14007f3d7
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.14007fbe0
test eax, eax
jns 0x14007f420
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.14007fbe0
mov edx, 0x59
mov r9d, eax
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiimageex.cpp
lea rcx, str._VCpl__EXIT_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.140052e90
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007f402
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x58], r15
test rbx, rbx
je 0x14007f419
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x14007f4ac
call fcn.140058700
test eax, eax
je 0x14007f446
test esi, esi
je 0x14007f439
mov rcx, qword [rsp + 0x58]
call fcn.14007fb70
jmp 0x14007f442
mov rcx, qword [rdi + 8]
call fcn.14007ee60
mov qword [rdi + 0x50], rax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x14007f46f
mov rcx, rdi
call fcn.14007f4d0
call fcn.140058700
test eax, eax
je 0x14007f4a7
mov edx, 3
mov eax, 7
test esi, esi
mov rcx, rdi
cmovne edx, eax
call fcn.14007f5c0
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x14007f4a7
mov r8, qword [rcx]
mov edx, 1
call qword [r8]
mov qword [rdi + 0x50], r15
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret