Function at 0x140025a80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movaps xmm2, xmm1
jmp 0x140025a80
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
lea r8, [0x1400bbe50]
movaps xmmword [rsp + 0x50], xmm7
xor edi, edi
movzx edx, cx
movaps xmm6, xmm1
movaps xmmword [rsp + 0x40], xmm8
xor ecx, ecx
movaps xmm8, xmm2
mov qword [rbp + 0x60], rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x140025b54
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
xor ecx, ecx
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140025b54
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140025b54
mov edx, r14d
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x140025b54
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140025b4b
mov r8d, r14d
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rbp + 0x60]
mov rcx, rbx
lea edx, [rdi + 1]
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x140025b54
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rsi, qword [rbp + 0x60]
lea r13, vtable.Gdiplus::Bitmap.0
test rsi, rsi
je 0x140025b96
mov ecx, 0x18
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
test rax, rax
je 0x140025b96
lea rdx, [rbp - 0x48]
mov qword [rax], r13
mov rcx, rsi
mov qword [rbp - 0x48], rdi
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [rbx + 0x10], eax
mov rax, qword [rbp - 0x48]
mov qword [rbx + 8], rax
jmp 0x140025b99
mov rbx, rdi
mov rcx, qword [rbx + 8]
lea rdx, [rbp + 0x48]
mov dword [rbp + 0x48], edi
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x140025bb0
mov dword [rbx + 0x10], eax
mov eax, dword [rbp + 0x48]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbx + 8]
xorps xmm7, xmm7
mov dword [rbp + 0x48], edi
cvtsi2ss xmm7, rax
mulss xmm7, xmm6
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x140025bd6
mov dword [rbx + 0x10], eax
mov eax, dword [rbp + 0x48]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbx + 8]
xorps xmm6, xmm6
mov dword [rbp + 0x48], edi
cvtsi2ss xmm6, rax
mulss xmm6, xmm8
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x140025bfd
mov dword [rbx + 0x10], eax
mov rcx, qword [rbx + 8]
lea rdx, [rbp + 0x50]
mov r12d, dword [rbp + 0x48]
mov dword [rbp + 0x50], edi
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x140025c18
mov dword [rbx + 0x10], eax
mov ecx, dword [rbp + 0x50]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm0, r12
cvtsi2sd xmm1, rcx
cvttss2si r14d, xmm7
divsd xmm1, xmm0
cvttss2si r15d, xmm6
cmp ecx, r12d
jbe 0x140025c52
movd xmm0, r14d
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
cvttsd2si r15d, xmm0
jmp 0x140025c64
movd xmm0, r15d
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si r14d, xmm0
mov ecx, 0x18
call sub.gdiplus.dll_GdipAlloc
mov rsi, rax
test rax, rax
je 0x140025cd2
mov rcx, qword [rbx + 8]
lea rdx, [rbp + 0x58]
call sub.gdiplus.dll_GdipGetImagePixelFormat
test eax, eax
je 0x140025c8a
mov dword [rbx + 0x10], eax
mov r9d, dword [rbp + 0x58]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, r15d
mov qword [rsp + 0x20], rdi
mov ecx, r14d
mov qword [rsi], r13
mov qword [rbp - 0x48], rdi
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov dword [rsi + 0x10], eax
lea rdx, [rbp + 0x60]
mov rax, qword [rbp - 0x48]
mov rcx, rax
mov qword [rsi + 8], rax
mov qword [rbp + 0x60], rdi
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov rdi, qword [rbp + 0x60]
jmp 0x140025cd9
mov rsi, rdi
mov qword [rbp + 0x60], rdi
mov rdx, qword [rbx + 8]
xor r9d, r9d
mov dword [rsp + 0x28], r15d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], r14d
call sub.gdiplus.dll_GdipDrawImageRectI
mov rcx, rdi
call sub.gdiplus.dll_GdipDeleteGraphics
movaps xmm6, xmmword [rsp + 0x60]
mov rax, rsi
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x40]
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret