Function at 0x1400be280
Capabilities:
Extract resource via kernel32 functions
Parse pe header

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x68]
sub rsp, 0x158
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rbp + 0x10], rax
xor ebx, ebx
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x20], rdi
xor eax, eax
mov qword [r11 - 0x28], r12
xorps xmm0, xmm0
movzx r12d, byte [rbp + 0x90]
mov rdi, rcx
mov qword [r11 - 0x38], r14
mov esi, ebx
mov qword [rbp - 0x28], rax
mov r14d, ebx
mov dword [rbp - 0x20], eax
lea rax, [0x1401ec488]
mov dword [rbp - 0x50], edx
lea rdx, [rbp - 8]
mov dword [rbp - 0x4c], r8d
lea r8d, [rbx + 3]
mov qword [rbp], r9
lea r9, [rsp + 0x50]
mov qword [r11 - 0x40], r15
xor r15b, r15b
mov dword [rbp - 0x60], ebx
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x68], rbx
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x78], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x60], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 8], rax
mov qword [rbp + 8], rbx
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x1400be760
lfence
mov rdx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x1400be760
lea rcx, str.windowscodecs.dll
call fcn.1400f9d00
mov rcx, rax
test rax, rax
jne 0x1400be3b2
xor edx, edx
lea rcx, str.windowscodecs.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1400be3b2
xor edx, edx
lea rcx, str.windowscodecs.dll
mov r8d, 0xa00
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x1400be760
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400be760
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1400be760
cmp dword [rdx + rcx], 0x4550
jne 0x1400be760
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1400be760
nop dword [rax + rax]
cmp dword [rdx + 4], ebx
je 0x1400be760
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.DllGetClassObject
call fcn.1400fa1a0
nop
test rax, rax
je 0x1400be760
lea r8, ds:[rsp + 0x48]
lea rdx, [0x1401ad590]
lea rcx, [0x1401ec4d8]
call qword [case.0x1400f654f.0]
mov edi, eax
test eax, eax
js 0x1400be486
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x60]
lea r8, [0x1401ad4c0]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400f654f.0]
mov rcx, qword ds:[rsp + 0x48]
mov edi, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
test edi, edi
js 0x1400be760
mov rcx, qword ds:[rsp + 0x60]
lea rdx, [rbp - 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x70]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400be760
mov rcx, qword [rbp - 0x70]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400be760
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x78]
xor r8d, r8d
lea rdx, [0x1401ec4c8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400be760
mov rcx, qword ds:[rsp + 0x78]
mov rdx, qword [rbp - 0x70]
mov qword [rsp + 0x138], r13
mov r13d, 1
mov r8d, r13d
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400be758
mov rcx, qword ds:[rsp + 0x78]
lea rdx, [rbp - 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400be758
cmp dword [rbp - 0x60], r13d
jb 0x1400be758
mov rcx, qword [rsp + 0x78]
lea r8, [rsp + 0x70]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x68]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400be758
mov rcx, qword [rsp + 0x70]
lea rdx, [rbp - 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400be758
test r12b, r12b
lea rax, [0x1401ec4b8]
lea rdi, [0x1401ec4e8]
cmovne rdi, rax
mov rax, qword [rbp - 0x18]
cmp rax, qword [rdi]
jne 0x1400be5cd
mov rax, qword [rbp - 0x10]
cmp rax, qword [rdi + 8]
jne 0x1400be5cd
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x78], rax
jmp 0x1400be67d
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x68], rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400be758
mov rcx, qword ds:[rsp + 0x68]
xorps xmm0, xmm0
mov rdx, qword [rsp + 0x70]
xor r9d, r9d
mov dword [rsp + 0x30], ebx
mov r8, rdi
movsd qword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov qword [rsp + 0x20], rbx
mov rax, qword [rax + 0x40]
call qword [case.0x1400f654f.0]
mov rcx, qword [rsp + 0x68]
test eax, eax
mov rax, qword [rcx]
jns 0x1400be645
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
nop dword [rax]
jmp 0x1400be758
mov rax, qword [rax]
lea r8, [rbp - 0x78]
lea rdx, [0x1401ad4b0]
call qword [case.0x1400f654f.0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
mov eax, dword ds:[rbp - 0x50]
xor ecx, ecx
mov dword [rbp - 0x44], eax
mov eax, dword [rbp - 0x4c]
neg eax
mov dword [rbp - 0x48], 0x28
mov dword [rbp - 0x40], eax
mov qword [rbp - 0x3c], 0x200001
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea r9, [rbp - 0x68]
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, [rbp - 0x48]
mov rcx, rsi
mov r14, rax
call qword [sym.imp.GDI32.dll_CreateDIBSection]
mov rcx, qword [rsp + 0x60]
mov rbx, rax
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x58]
lea rdx, [rbp - 0x80]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400be758
mov rcx, qword [rbp - 0x80]
mov r9d, dword [rbp - 0x4c]
mov r8d, dword [rbp - 0x50]
mov dword [rsp + 0x20], 3
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x40]
mov rdx, qword [rbp - 0x78]
call qword [case.0x1400f654f.0]
test eax, eax
js 0x1400be758
mov r8d, dword [rbp - 0x50]
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x80]
mov r9d, dword [rbp - 0x4c]
imul r9d, r8d
lea r8d, [r8*4]
mov qword [rsp + 0x20], rdx
lea rdx, [rbp - 0x58]
mov rax, qword [rcx]
shl r9d, 2
mov rax, qword [rax + 0x38]
call qword [case.0x1400f654f.0]
test eax, eax
movzx r15d, r15b
cmovns r15d, r13d
mov r13, qword [rsp + 0x138]
mov rcx, qword [rbp - 0x80]
mov r12, qword [rsp + 0x140]
mov rdi, qword [rsp + 0x148]
test rcx, rcx
je 0x1400be786
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
test r14, r14
je 0x1400be794
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov r14, qword ss:[rsp + 0x130]
test rsi, rsi
je 0x1400be7b0
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword ds:[rbp - 0x78]
mov rsi, qword [rsp + 0x150]
test rcx, rcx
je 0x1400be7d2
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400be7e8
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400be7ff
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400be816
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
test r15b, r15b
mov r15, qword [rsp + 0x128]
je 0x1400be828
mov rax, rbx
jmp 0x1400be838
test rbx, rbx
je 0x1400be836
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov rcx, qword ds:[rbp + 0x10]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0x158
pop rbx
pop rbp
ret