Function at 0x14001b340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
mov rax, qword [0x1400fb028]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdx, qword [rcx + 0x10]
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x8001
call fcn.140019ff0
mov rax, qword [rdi]
mov qword [rdi], 0
mov rcx, qword [rsi + 0x30]
mov qword [rsi + 0x30], rax
test rcx, rcx
je 0x14001b3b8
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400ef2f0]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001b3b4
mov qword [rsp + 0x50], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400ef2f0]
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x14001b59f
movaps xmm0, xmmword [0x1400ddf00]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi], xmm0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [rsi + 8]
call fcn.14001d960
cmp byte [rax + 8], 0
je 0x14001b431
mov ecx, dword [rax]
mov eax, dword [rax + 4]
lea rdi, [rsp + 0x40]
mov dword [rdi], ecx
mov dword [rdi + 4], eax
mov dword [rdi + 8], ecx
mov dword [rdi + 0xc], eax
lea r8, [0x14001b5b0]
xor ecx, ecx
xor edx, edx
mov r9, rdi
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x14001b431
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x50], xmm0
xor eax, eax
lea rdi, [rsp + 0x40]
mov dword [rdi], eax
lea rbx, [rsp + 0x3c]
mov dword [rbx], eax
mov rcx, qword [rsp + 0x50]
mov edx, 2
call qword [sym.imp.USER32.dll_MonitorFromPoint]
mov rcx, rax
xor edx, edx
mov r8, rdi
mov r9, rbx
call sub.api_ms_win_shcore_scaling_l1_1_1.dll_GetDpiForMonitor
test eax, eax
js 0x14001b595
mov eax, dword [rsp + 0x40]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [0x1400ddf78]
movss dword [rsi + 0x44], xmm0
xor edx, edx
ucomiss xmm0, dword [0x1400ddf7c]
seta dl
add rdx, 0x83
mov rcx, qword [rsi]
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001b4d7
mov rdi, rax
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001b4d7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsi + 0x38], rax
xor ecx, ecx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsi + 0x40], eax
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
movss xmm0, dword [rsi + 0x44]
mulss xmm0, dword [0x1400ddf80]
call fcn.14009d8b8
cvttss2si eax, xmm0
mov edx, dword [rsp + 0x58]
mov r9d, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
sub edx, r9d
mov r8d, edx
shr r8d, 0x1f
add r8d, edx
sar r8d, 1
add r8d, r9d
mov edx, eax
shr edx, 0x1f
add edx, eax
sar edx, 1
not edx
add r8d, edx
mov r10d, dword [rsp + 0x5c]
sub r10d, ecx
mov r9d, r10d
shr r9d, 0x1f
add r9d, r10d
sar r9d, 1
add r9d, ecx
add r9d, edx
lea eax, [rax + rdi*2]
mov rcx, qword [rsi + 0x10]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0x40
mov rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r9d, dword [rsi + 0x40]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsi + 0x38]
lea rdx, str..mp4
call fcn.14001a0e0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14006f740
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
movss xmm0, dword [rsi + 0x44]
jmp 0x14001b482
mov rcx, qword [rsi + 8]
call fcn.14001db10
jmp 0x14001b57f