Function at 0x14001b0d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
mov rsi, rcx
mov rax, qword [0x1400fa028]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdx, qword [rcx + 0x10]
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r8d, 0x8001
call fcn.140019d30
mov rax, qword [rdi]
mov qword [rdi], 0
mov rcx, qword [rsi + 0x30]
mov qword [rsi + 0x30], rax
test rcx, rcx
je 0x14001b153
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400ee440]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001b14f
mov qword [rsp + 0x40], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400ee440]
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x14001b39b
movaps xmm6, xmmword [0x1400dcf00]
lea rdi, [rsp + 0x60]
movaps xmmword [rdi], xmm6
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.14001d760
cmp byte [rax + 8], 0
je 0x14001b1cc
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, [0x14001b3d0]
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 0x14001b1cc
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm0
xor eax, eax
lea rdi, [rsp + 0x5c]
mov dword [rdi], eax
lea rbx, [rsp + 0x58]
mov dword [rbx], eax
mov rcx, qword [rsp + 0x60]
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 0x14001b391
mov eax, dword [rsp + 0x5c]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [0x1400dcf90]
movss dword [rsi + 0x44], xmm0
xor edx, edx
ucomiss xmm0, dword [0x1400dcf94]
seta dl
add rdx, 0x83
mov rcx, qword [rsi]
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001b272
mov rdi, rax
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001b272
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 [0x1400dcf98]
call fcn.14009fb38
cvttss2si eax, xmm0
mov edx, dword [rsp + 0x68]
mov r9d, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
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 + 0x6c]
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]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmmword [rdi], xmm6
mov rcx, qword [rsi + 8]
mov rdx, rdi
call fcn.14001d770
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x14001b331
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14001b344
lea rdx, [rsi + 0x48]
lea rcx, [rsp + 0x40]
call fcn.14002cb60
lea r8, [rsi + 0x48]
movzx r9d, byte [rsi + 0x5f]
test r9b, r9b
js 0x14001b3a6
test r9d, r9d
je 0x14001b3b4
mov rcx, qword [rsi + 0x30]
lea rdx, str..mp4
call fcn.140019e30
lea rcx, [rsp + 0x40]
call fcn.14005a020
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400719c0
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
movss xmm0, dword [rsi + 0x44]
jmp 0x14001b21d
mov rcx, qword [rsi + 8]
call fcn.14001d8f0
jmp 0x14001b371
mov r9, qword [rsi + 0x50]
test r9, r9
je 0x14001b3b4
mov r8, qword [r8]
jmp 0x14001b357
mov r9d, dword [rsi + 0x40]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsi + 0x38]
lea rdx, str..mp4
jmp 0x14001b362