Function at 0x1400126ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
mov eax, 0x1800
call fcn.140030b10
sub rsp, rax
movaps xmmword [rsp + 0x17f0], xmm6
movaps xmmword [rsp + 0x17e0], xmm7
movaps xmmword [rsp + 0x17d0], xmm8
movaps xmmword [rsp + 0x17c0], xmm9
mov rax, qword [0x14003f9c0]
xor rax, rsp
mov qword [rsp + 0x17b0], rax
movss xmm0, dword [0x1400368fc]
movss xmm7, dword [0x140036c94]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm0
movaps xmm6, xmm7
test ecx, ecx
je 0x140012b55
and dword [rsp + 0x30], 0
and dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0x30]
mov edx, 1
call qword [sym.imp.USER32.dll_MonitorFromPoint]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.1400120e4
movss xmm5, dword [rsp + 0x38]
comiss xmm5, dword [0x14003986c]
jbe 0x1400127af
movaps xmm6, xmm5
divss xmm6, dword [0x140036c90]
unpcklps xmm6, xmm6
lea rcx, str.scale_factor__f
cvtps2pd xmm1, xmm6
movq rdx, xmm1
call fcn.1400116ec
cmp byte [0x14004cfc8], 0
jne 0x140012b64
call fcn.140007ee8
lea rdx, str._s_bin_splashscreen.dll
lea rcx, [rsp + 0x40]
mov r8, rax
call fcn.140017528
lea rdx, [rsp + 0x40]
lea rcx, str.loading_splashscreen_dll_from__S
call fcn.1400116ec
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x140012821
lea rcx, str.Could_not_load_splashscreen.dll
call fcn.140011658
jmp 0x140012b64
lea rdx, str.SplashClose
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SplashInit
mov rcx, rbx
mov qword [0x14004cfb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SplashLoadMemory
mov rcx, rbx
mov qword [0x14004cfb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14004cfb8], 0
mov qword [0x14004cfc0], rax
je 0x140012b49
cmp qword [0x14004cfb0], 0
je 0x140012b49
test rax, rax
je 0x140012b49
lea rdx, str.SplashSetScaleFactor
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004cfa8], rax
call qword [0x14004cfb0]
cmp qword [0x14004cfa8], 0
je 0x140012ae3
comiss xmm6, xmm7
jbe 0x140012ae3
movaps xmm0, xmm6
mov ecx, 0xffffff9c
mulss xmm0, dword [0x140036b7c]
cvttss2si eax, xmm0
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
lea rcx, str.idOffset_start__d
mov r12d, edx
sar r12d, 3
mov eax, r12d
shr eax, 0x1f
add r12d, eax
mov edx, r12d
mov ebx, r12d
call fcn.1400116ec
mov edi, 0x2710
mov ebp, 0xa
lea eax, [rdi + r12]
mov r8, rbp
xor ecx, ecx
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
jne 0x140012981
inc ebx
cmp ebx, 0x40
jg 0x140012942
lea eax, [rdi + rbx]
mov r8, rbp
xor ecx, ecx
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x140012922
test rsi, rsi
jne 0x140012981
mov ebx, r12d
dec ebx
test ebx, ebx
jle 0x140012969
lea eax, [rdi + rbx]
mov r8, rbp
xor ecx, ecx
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x14001294a
test rsi, rsi
jne 0x140012981
mov r8, rbp
mov rdx, rdi
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
movd xmm0, ebx
mov rdx, rsi
xor ecx, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x140036b50]
addss xmm0, xmm7
unpcklps xmm0, xmm0
cvtps2pd xmm9, xmm0
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rsi
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
unpcklps xmm6, xmm6
cvtps2pd xmm8, xmm6
movapd xmm7, xmm8
divsd xmm7, xmm9
comisd xmm7, xmmword [0x140036b48]
ja 0x1400129ec
movsd xmm0, qword [0x140036b40]
comisd xmm0, xmm7
jbe 0x140012a9d
movapd xmm1, xmm7
lea rcx, str.scaling_splash_image__f
movq rdx, xmm1
call fcn.1400116ec
movapd xmm0, xmm7
mov r8d, edi
mov rdx, rbx
call fcn.1400122a0
mov rbp, rax
test rax, rax
je 0x140012a9d
movaps xmm0, xmm6
call qword [0x14004cfa8]
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.ole32.dll_GetHGlobalFromStream]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, qword [rsp + 0x30]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, qword [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, rdi
mov rdx, rax
call qword [0x14004cfc0]
lea rcx, str.splash_load_memory_returned_1__d___p___p___d_
mov r9, rdi
mov r8, rsi
mov edx, eax
mov qword [rsp + 0x20], rbx
call fcn.1400116ec
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r11, qword [rbp]
mov rcx, rbp
call qword [r11 + 0x10]
jmp 0x140012acb
cvtsd2ss xmm0, xmm9
call qword [0x14004cfa8]
mov edx, edi
mov rcx, rbx
call qword [0x14004cfc0]
lea rcx, str.splash_load_memory_returned_2__d___p___p___d_
mov r9, rbx
mov r8, rsi
mov edx, eax
mov dword [rsp + 0x20], edi
call fcn.1400116ec
movapd xmm1, xmm8
lea rcx, str.setting_scale_factor__f
movq rdx, xmm1
call fcn.1400116ec
jmp 0x140012b40
mov edx, 0x2710
mov r8d, 0xa
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rdi
mov edx, eax
mov ebx, eax
call qword [0x14004cfc0]
lea rcx, str.splash_load_memory_returned_3__d___p___p___d_
mov r9, rdi
mov r8, rsi
mov edx, eax
mov dword [rsp + 0x20], ebx
call fcn.1400116ec
mov byte [0x14004cfc8], 1
jmp 0x140012b64
lea rcx, str.Could_not_find_functions_in_splashscreen.dll
jmp 0x140012817
cmp byte [0x14004cfc8], 0
je 0x140012b64
call qword [0x14004cfb8]
mov rcx, qword [rsp + 0x17b0]
xor rcx, rsp
call fcn.140016820
lea r11, [rsp + 0x1800]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r12
ret