Function at 0x14001b890
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
mov rax, qword [0x140114028]
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.14001a540
mov rax, qword [rdi]
mov qword [rdi], 0
mov rcx, qword [rsi + 0x30]
mov qword [rsi + 0x30], rax
test rcx, rcx
je 0x14001b908
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140138008]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001b904
mov qword [rsp + 0x50], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140138008]
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x14001baef
movaps xmm0, xmmword [0x1400f9dc0]
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.14001df00
cmp byte [rax + 8], 0
je 0x14001b981
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, [0x14001bb00]
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 0x14001b981
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 0x14001bae5
mov eax, dword [rsp + 0x40]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [0x1400f9e38]
movss dword [rsi + 0x44], xmm0
xor edx, edx
ucomiss xmm0, dword [0x1400f9e3c]
seta dl
add rdx, 0x83
mov rcx, qword [rsi]
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001ba27
mov rdi, rax
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001ba27
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 [0x1400f9e40]
call fcn.1400b0178
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.14001a630
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140080f00
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
movss xmm0, dword [rsi + 0x44]
jmp 0x14001b9d2
mov rcx, qword [rsi + 8]
call fcn.14001e0b0
jmp 0x14001bacf