Function at 0x140081f50
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, 0x30
mov rax, r8
movaps xmmword [rsp + 0x20], xmm6
mov rbp, rdx
lea r8, [0x140351610]
mov rdi, rcx
xor r15d, r15d
mov rdx, rax
mov qword [rsp + 0x68], r15
mov rcx, rbp
mov ebx, r15d
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
jne 0x140081fbc
lea r8, str.ImageEx.cpp
lea edx, [rax + 0x42]
lea rcx, str._VCpl__EXIT_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
jmp 0x1400820ea
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test eax, eax
jne 0x140081fe9
lea r8, str.ImageEx.cpp
lea edx, [rax + 0x45]
lea rcx, str._VCpl__EXIT_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
jmp 0x1400820ea
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 0x140082021
lea r8, str.ImageEx.cpp
lea edx, [rax + 0x49]
lea rcx, str._VCpl__EXIT_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
jmp 0x1400820ea
mov rdx, rsi
mov ecx, 2
mov rbp, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
jne 0x140082055
lea r8, str.ImageEx.cpp
lea edx, [rax + 0x4d]
lea rcx, str._VCpl__EXIT_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
jmp 0x1400820ea
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [rsp + 0x70]
movss xmm6, dword [0x140361b6c]
test rax, rax
je 0x14008216c
mov r8, rbp
mov rdx, r14
mov rcx, rax
call fcn.14029f520
lea r8, [rsp + 0x68]
mov qword [rsp + 0x68], r15
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x1400820b1
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edx, 0x57
jmp 0x1400820d4
mov rdx, qword [rsp + 0x68]
mov rcx, rdi
call fcn.140082910
test eax, eax
jns 0x14008211d
mov rdx, qword [rsp + 0x68]
mov rcx, rdi
call fcn.140082910
mov edx, 0x59
mov r9d, eax
lea r8, str.ImageEx.cpp
lea rcx, str._VCpl__EXIT_ON_ERROR:_Line___d__File___s__hr__0x_X_n
call fcn.140055180
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400820ff
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x68], r15
test rbx, rbx
je 0x140082116
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x1400821d3
movss xmm0, dword [0x1403d9958]
ucomiss xmm0, xmm6
jp 0x14008213b
jne 0x14008213b
movss xmm0, dword [0x1403d9954]
ucomiss xmm0, xmm6
jp 0x14008213b
je 0x140082158
test esi, esi
je 0x14008214b
mov rcx, qword [rsp + 0x68]
call fcn.1400828a0
jmp 0x140082154
mov rcx, qword [rdi + 8]
call fcn.140081b50
mov qword [rdi + 0x50], rax
mov rcx, qword [rsp + 0x68]
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 0x140082181
mov rcx, rdi
call fcn.140082200
movss xmm0, dword [0x1403d9958]
ucomiss xmm0, xmm6
jp 0x14008219f
jne 0x14008219f
movss xmm0, dword [0x1403d9954]
ucomiss xmm0, xmm6
jp 0x14008219f
je 0x1400821ce
mov edx, 3
mov eax, 7
test esi, esi
mov rcx, rdi
cmovne edx, eax
call fcn.1400822f0
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x1400821ce
mov r8, qword [rcx]
mov edx, 1
call qword [r8]
mov qword [rdi + 0x50], r15
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret