Function at 0x180012484
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x9f8]
sub rsp, 0xae0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18004b8d8]
xor rax, rsp
mov qword [rbp + 0x9d0], rax
mov rdi, rcx
xor ecx, ecx
call fcn.18001e228
mov rsi, rax
xor r12d, r12d
mov byte [rdi + 0xf0], r12b
lea rcx, [rbp + 0x98]
call fcn.180012008
nop
mov byte [rbp + 0xc0], r12b
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0xc1]
call fcn.18001c0d0
mov r11, qword [rbp + 0xa8]
test r11, r11
jne 0x18001256c
mov rcx, qword [0x1800501d0]
test rcx, rcx
je 0x180012567
mov r8d, 0x104
lea rdx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [r12 + 0x5c]
lea rcx, [rbp + 0xc0]
call fcn.18001e730
mov byte [rax], r12b
lea rcx, [rbp + 0xc0]
call fcn.18001c010
mov r8, rax
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x98]
call fcn.180003020
mov r11, qword [rbp + 0xa8]
test r11, r11
jne 0x18001256c
jmp 0x18001277b
lea rcx, [rbp - 0x20]
call fcn.1800073c4
nop
mov qword [rbp + 0x88], recv
mov qword [rbp + 0x80], r12
mov byte [rbp + 0x70], r12b
lea rcx, [0x18003d357]
call fcn.18001c010
mov r8, rax
lea rdx, [0x18003d357]
lea rcx, [rbp + 0x70]
call fcn.180003020
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x70]
call fcn.1800060f4
lea rcx, [0x18003f7b0]
call fcn.18001c010
mov r8, rax
lea rdx, [0x18003f7b0]
lea rcx, [rbp + 0x70]
call fcn.180006208
call fcn.18001a418
lea rbx, str.QWallpaperB
cmp qword [rax + 0x48], r12
cmovne rbx, qword [rax + 0x48]
mov rcx, rbx
call fcn.18001c010
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x70]
call fcn.180006208
lea rcx, str..exe
call fcn.18001c010
mov r8, rax
lea rdx, str..exe
lea rcx, [rbp + 0x70]
call fcn.180006208
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rcx, qword [rbp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x180012742
xor edx, edx
lea r8d, [rax + 0x17]
lea rcx, [rsp + 0x50]
call fcn.18001c0d0
mov ebx, 0x68
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.18001c0d0
mov dword [rsp + 0x70], ebx
mov rax, qword [str.deskactive]
mov qword [rbp + 0x1d0], rax
movzx eax, word [0x180040450]
mov word [rbp + 0x1d8], ax
mov al, byte [0x180040452]
mov byte [rbp + 0x1da], al
xor edx, edx
mov r8d, 0x7f5
lea rcx, [rbp + 0x1db]
call fcn.18001c0d0
jmp 0x1800126cc
xor ecx, ecx
call fcn.18001e228
sub eax, esi
cmp eax, 0x1e
jg 0x1800126d5
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rdi + 0xf0], 1
jne 0x1800126b3
mov byte [rdi + 0xf0], r12b
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rcx, qword [rbp + 0x70]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x180012742
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.180011108
nop
cmp qword [rbp + 0x88], 0x10
jb 0x18001275b
mov rcx, qword [rbp + 0x70]
call fcn.18001c1c4
mov qword [rbp + 0x88], recv
mov qword [rbp + 0x80], r12
mov byte [rbp + 0x70], r12b
lea rcx, [rbp - 0x20]
call fcn.180007490
nop
cmp qword [rbp + 0xb0], 0x10
jb 0x180012791
mov rcx, qword [rbp + 0x98]
call fcn.18001c1c4
mov rcx, qword [rbp + 0x9d0]
xor rcx, rsp
call fcn.18001bbd0
lea r11, [rsp + 0xae0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret