Function at 0x1401b87a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r12, r8
mov r15, rdx
lea r8, [0x140282750]
mov rdx, rcx
lea rsi, [0x140000000]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
xor r13d, r13d
test rax, rax
jne 0x1401b8801
mov ecx, 0x3413c2
call fcn.140175954
jmp 0x1401b8ad1
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1401b8819
mov ecx, 0x3413c3
jmp 0x1401b87f7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1401b8831
mov ecx, 0x3413c4
jmp 0x1401b87f7
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test eax, eax
jne 0x1401b884a
mov ecx, 0x3413c5
jmp 0x1401b87f7
mov qword [rbp - 0x38], r13
lea r8, [rbp - 0x38]
mov esi, 1
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x1401b886f
mov ecx, 0x3413c6
jmp 0x1401b8ab8
mov dword [rbp + 0x48], r13d
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
lea r9, [rbp + 0x48]
mov r8d, ebx
mov rdx, rdi
call qword [rax + 0x20]
test eax, eax
jne 0x1401b8ab3
cmp dword [rbp + 0x48], ebx
jne 0x1401b8ab3
test r12, r12
je 0x1401b8a62
lea r14, vtable.Gdiplus::Image.0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r13
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp - 0x38]
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [rbp - 8], eax
mov ecx, 0x18
call sub.gdiplus.dll_GdipAlloc
mov rdi, rax
mov qword [rbp - 0x28], rax
test rax, rax
je 0x1401b894d
mov dword [rbp - 0x40], r13d
lea rdx, [rbp - 0x40]
mov rcx, qword [rbp - 0x10]
call sub.gdiplus.dll_GdipGetImageHeight
mov ecx, dword [rbp - 8]
test eax, eax
cmovne ecx, eax
mov dword [rbp - 8], ecx
mov ebx, dword [rbp - 0x40]
mov dword [rbp - 0x3c], r13d
lea rdx, [rbp - 0x3c]
mov rcx, qword [rbp - 0x10]
call sub.gdiplus.dll_GdipGetImageWidth
mov ecx, dword [rbp - 8]
test eax, eax
cmovne ecx, eax
mov dword [rbp - 8], ecx
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rdi], rax
mov qword [rbp - 0x30], r13
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 0x22009
xor r8d, r8d
mov edx, ebx
mov ecx, dword [rbp - 0x3c]
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov dword [rdi + 0x10], eax
mov rax, qword [rbp - 0x30]
mov qword [rdi + 8], rax
jmp 0x1401b8950
mov rdi, r13
mov rsi, r13
mov qword [rbp - 0x30], r13
test rdi, rdi
je 0x1401b896d
lea rdx, [rbp - 0x30]
mov rcx, qword [rdi + 8]
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov rsi, qword [rbp - 0x30]
mov qword [rbp - 0x28], r13
lea rdx, [rbp - 0x28]
mov ecx, dword [r12]
call sub.gdiplus.dll_GdipCreateSolidFill
mov r12, qword [rbp - 0x28]
mov dword [rbp - 0x3c], r13d
lea rdx, [rbp - 0x3c]
mov rcx, qword [rdi + 8]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x1401b899a
mov dword [rdi + 0x10], eax
mov ebx, dword [rbp - 0x3c]
mov dword [rbp - 0x40], r13d
lea rdx, [rbp - 0x40]
mov rcx, qword [rdi + 8]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x1401b89b5
mov dword [rdi + 0x10], eax
mov dword [rsp + 0x28], ebx
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call sub.gdiplus.dll_GdipFillRectangleI
mov dword [rbp - 0x3c], r13d
lea rdx, [rbp - 0x3c]
mov rcx, qword [rbp - 0x10]
call sub.gdiplus.dll_GdipGetImageHeight
mov ecx, dword [rbp - 8]
test eax, eax
cmovne ecx, eax
mov dword [rbp - 8], ecx
mov ebx, dword [rbp - 0x3c]
mov dword [rbp - 0x40], r13d
lea rdx, [rbp - 0x40]
mov rcx, qword [rbp - 0x10]
call sub.gdiplus.dll_GdipGetImageWidth
mov ecx, dword [rbp - 8]
test eax, eax
cmovne ecx, eax
mov dword [rbp - 8], ecx
mov dword [rsp + 0x28], ebx
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp - 0x10]
mov rcx, rsi
call sub.gdiplus.dll_GdipDrawImageRectI
mov rcx, qword [r15]
cmp rdi, rcx
je 0x1401b8a40
test rcx, rcx
je 0x1401b8a40
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [r15], rdi
mov rcx, r12
call sub.gdiplus.dll_GdipDeleteBrush
mov rcx, rsi
call sub.gdiplus.dll_GdipDeleteGraphics
mov qword [rbp - 0x18], r14
mov rcx, qword [rbp - 0x10]
call sub.gdiplus.dll_GdipDisposeImage
jmp 0x1401b8abe
mov ecx, 0x18
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
mov qword [rbp - 0x28], rax
test rax, rax
je 0x1401b8a97
mov rcx, qword [rbp - 0x38]
lea r14, vtable.Gdiplus::Image.0
mov qword [rax], r14
lea rdx, [rax + 8]
mov qword [rdx], r13
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [rbx + 0x10], eax
jmp 0x1401b8a9a
mov rbx, r13
mov rcx, qword [r15]
cmp rbx, rcx
je 0x1401b8aae
test rcx, rcx
je 0x1401b8aae
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
mov qword [r15], rbx
jmp 0x1401b8abe
mov ecx, 0x3413c7
call fcn.140175954
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1401b8ad1
mov qword [rbp - 0x38], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret