Function at 0x1400126b0
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.140030d40
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 [0x1400409c0]
xor rax, rsp
mov qword [rsp + 0x17b0], rax
movss xmm0, dword [0x14003792c]
movss xmm7, dword [0x140037cc8]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm0
movaps xmm6, xmm7
test ecx, ecx
je 0x140012b19
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.1400120a8
movss xmm5, dword [rsp + 0x38]
comiss xmm5, dword [0x140037cc4]
jbe 0x140012773
movaps xmm6, xmm5
divss xmm6, dword [0x140037cc0]
unpcklps xmm6, xmm6
lea rcx, str.scale_factor__f
cvtps2pd xmm1, xmm6
movq rdx, xmm1
call fcn.1400116b0
cmp byte [0x14004dfc8], 0
jne 0x140012b28
call fcn.140008360
lea rdx, str._s_bin_splashscreen.dll
lea rcx, [rsp + 0x40]
mov r8, rax
call fcn.140017758
lea rdx, [rsp + 0x40]
lea rcx, str.loading_splashscreen_dll_from__S
call fcn.1400116b0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x1400127e5
lea rcx, str.Could_not_load_splashscreen.dll
call fcn.14001161c
jmp 0x140012b28
lea rdx, str.SplashClose
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SplashInit
mov rcx, rbx
mov qword [0x14004dfb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SplashLoadMemory
mov rcx, rbx
mov qword [0x14004dfb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14004dfb8], 0
mov qword [0x14004dfc0], rax
je 0x140012b0d
cmp qword [0x14004dfb0], 0
je 0x140012b0d
test rax, rax
je 0x140012b0d
lea rdx, str.SplashSetScaleFactor
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004dfa8], rax
call qword [0x14004dfb0]
cmp qword [0x14004dfa8], 0
je 0x140012aa7
comiss xmm6, xmm7
jbe 0x140012aa7
movaps xmm0, xmm6
mov ecx, 0xffffff9c
mulss xmm0, dword [0x140037bac]
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.1400116b0
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 0x140012945
inc ebx
cmp ebx, 0x40
jg 0x140012906
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 0x1400128e6
test rsi, rsi
jne 0x140012945
mov ebx, r12d
dec ebx
test ebx, ebx
jle 0x14001292d
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 0x14001290e
test rsi, rsi
jne 0x140012945
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 [0x140037b80]
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 [0x140037b78]
ja 0x1400129b0
movsd xmm0, qword [0x140037b70]
comisd xmm0, xmm7
jbe 0x140012a61
movapd xmm1, xmm7
lea rcx, str.scaling_splash_image__f
movq rdx, xmm1
call fcn.1400116b0
movapd xmm0, xmm7
mov r8d, edi
mov rdx, rbx
call fcn.140012264
mov rbp, rax
test rax, rax
je 0x140012a61
movaps xmm0, xmm6
call qword [0x14004dfa8]
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 [0x14004dfc0]
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.1400116b0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r11, qword [rbp]
mov rcx, rbp
call qword [r11 + 0x10]
jmp 0x140012a8f
cvtsd2ss xmm0, xmm9
call qword [0x14004dfa8]
mov edx, edi
mov rcx, rbx
call qword [0x14004dfc0]
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.1400116b0
movapd xmm1, xmm8
lea rcx, str.setting_scale_factor__f
movq rdx, xmm1
call fcn.1400116b0
jmp 0x140012b04
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 [0x14004dfc0]
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.1400116b0
mov byte [0x14004dfc8], 1
jmp 0x140012b28
lea rcx, str.Could_not_find_functions_in_splashscreen.dll
jmp 0x1400127db
cmp byte [0x14004dfc8], 0
je 0x140012b28
call qword [0x14004dfb8]
mov rcx, qword [rsp + 0x17b0]
xor rcx, rsp
call fcn.140016a50
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