Function at 0x140011e3f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
mov eax, 0x17d0
call fcn.140031fcd
sub rsp, rax
movaps xmmword [rsp + 0x17c0], xmm6
mov rax, qword [0x1401279c0]
xor rax, rsp
mov qword [rsp + 0x17b0], rax
movss xmm0, dword [0x1400400fc]
movss xmm6, dword [0x140040348]
xor edi, edi
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x34], xmm0
cmp ecx, edi
je 0x14001218f
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x3c], edi
mov rcx, qword [rsp + 0x38]
lea edx, [rdi + 1]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140011c4a
movss xmm5, dword [rsp + 0x30]
comiss xmm5, dword [0x140040344]
jbe 0x140011ee7
movaps xmm6, xmm5
divss xmm6, dword [0x140040340]
unpcklps xmm6, xmm6
lea rcx, str.scale_factor__f
cvtps2pd xmm1, xmm6
movq rdx, xmm1
call fcn.140011192
cmp byte [0x1401366f0], dil
jne 0x1400121a2
call fcn.14000838c
lea rdx, str._s_bin_splashscreen.dll
lea rcx, [rsp + 0x40]
mov r8, rax
call fcn.14001697d
lea rdx, [rsp + 0x40]
lea rcx, str.loading_splashscreen_dll_from__S
call fcn.140011192
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
cmp rax, rdi
jne 0x140011f5d
lea rcx, str.Could_not_load_splashscreen.dll
call fcn.1400110fa
jmp 0x1400121a2
lea rdx, str.SplashClose
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SplashInit
mov rcx, rbx
mov qword [0x1401366e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SplashLoadMemory
mov rcx, rbx
mov qword [0x1401366d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401366e8], rax
cmp qword [0x1401366e0], rdi
je 0x140012183
cmp qword [0x1401366d8], rdi
je 0x140012183
cmp rax, rdi
je 0x140012183
lea rdx, str.SplashSetScaleFactor
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401366d0], rax
call qword [0x1401366d8]
mov r13d, 0x2710
mov r12d, 0xa
cmp qword [0x1401366d0], rdi
je 0x14001211f
comiss xmm6, dword [0x140040348]
jbe 0x14001211f
mulss xmm6, dword [0x140040224]
lea ecx, [r12 - 0x6e]
cvttss2si eax, xmm6
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
lea rcx, str.idOffset_start__d
mov ebx, edx
sar ebx, 3
mov eax, ebx
shr eax, 0x1f
add ebx, eax
mov edx, ebx
call fcn.140011192
lea eax, [r13 + rbx]
mov r8, r12
movzx edx, ax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
cmp rax, rdi
jne 0x1400120df
cmp ebx, edi
jle 0x140012085
lea eax, [r13 - 1]
mov r8, r12
xor ecx, ecx
add eax, ebx
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
cmp rax, rdi
je 0x14001208e
dec ebx
cmp rsi, rdi
jne 0x1400120df
mov eax, 0x2711
mov r8, r12
xor ecx, ecx
add eax, ebx
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
cmp rax, rdi
je 0x1400120b6
inc ebx
jmp 0x1400120df
cmp ebx, edi
jle 0x1400120df
dec ebx
mov r8, r12
xor ecx, ecx
lea eax, [r13 + rbx]
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
cmp rax, rdi
je 0x1400120b6
movd xmm6, ebx
lea rcx, str.setting_scale_factor__f
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x1400401c8]
addss xmm6, dword [0x140040348]
unpcklps xmm6, xmm6
cvtps2pd xmm1, xmm6
movq rdx, xmm1
call fcn.140011192
movaps xmm0, xmm6
call qword [0x1401366d0]
cmp rsi, rdi
jne 0x140012130
mov r8, r12
mov rdx, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
mov rdx, rsi
xor ecx, ecx
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 [0x1401366e8]
lea rcx, str.splash_load_memory_returned__d___p___p___d_
mov r9, rdi
mov r8, rsi
mov edx, eax
mov dword [rsp + 0x20], ebx
call fcn.140011192
mov byte [0x1401366f0], 1
jmp 0x1400121a2
lea rcx, str.Could_not_find_functions_in_splashscreen.dll
jmp 0x140011f53
cmp byte [0x1401366f0], dil
je 0x1400121a2
call qword [0x1401366e0]
mov rcx, qword [rsp + 0x17b0]
xor rcx, rsp
call fcn.140015ae6
lea r11, [rsp + 0x17d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r13
ret