Function at 0x1400128e0
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Get file version info
Print debug messages

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4e0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov rdi, rdx
mov rsi, rcx
mov byte [rdx], 0
cmp dword [rcx + 0x34], 0
je 0x14001292c
xor eax, eax
jmp 0x140012d82
movdqa xmm0, xmmword [0x140147cc0]
movdqu xmmword [rsp + 0x60], xmm0
xor r13d, r13d
mov word [rsp + 0x50], r13w
cmp qword [rcx + 0xc0], r13
je 0x1400129ab
lea r14d, [r13 + 1]
lea rbx, [rcx + 0xb0]
mov rdi, rbx
cmp qword [rbx + 0x18], 8
jb 0x140012964
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
mov rcx, rdi
call fcn.14000e830
mov r15, rax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x140012c58
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140012998
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140003d30
jmp 0x140012c58
xor edx, edx
call fcn.140012e70
movzx ebx, al
test al, al
jne 0x1400129cd
cmp dword [rsi + 0x30], 0
jne 0x1400129c8
call fcn.140013500
test al, al
je 0x1400129cd
xor r12b, r12b
jmp 0x1400129d0
mov r12b, 1
cmp dword [rsi + 0x30], 1
sete dl
movzx r8d, r12b
call fcn.14000db40
mov r15, rax
test rax, rax
setne al
mov byte [rdi], al
test r15, r15
jne 0x140012c61
test bl, bl
je 0x1400129fe
lea r14d, [r15 + 2]
jmp 0x140012a1a
test r12b, r12b
je 0x140012a0b
mov r14d, 3
jmp 0x140012a1a
mov r14d, r13d
cmp dword [rsi + 0x30], r13d
setne r14b
add r14d, 4
call fcn.140018910
test eax, eax
je 0x140012a34
call fcn.140002cd0
lea r9, str.cant_sync
jmp 0x140012b0b
call fcn.140002cd0
mov rcx, rax
lea r9, str.start_syncing_..
xor edx, edx
lea r8d, [rdx + 1]
call fcn.140016a90
mov r8d, 0x104
lea rdx, [rsp + 0x2c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x1401367a0]
lea rcx, [rsp + 0x2c0]
call fcn.14000e830
mov r15, rax
test rax, rax
je 0x140012aea
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov edx, 0x2710
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
mov dword [rsp + 0x30], r13d
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
lea rcx, [rsp + 0xb0]
cmp ebx, 0x102
jne 0x140012ad4
mov r8d, eax
lea rdx, str.Launcher_sync_timeout_____d_ms_
call fcn.140014d20
jmp 0x140012afe
mov r9d, eax
mov r8d, dword [rsp + 0x30]
lea rdx, str.Launcher_sync_exit_with:__d____d_ms_
call fcn.140014d20
jmp 0x140012afe
lea rdx, str.Fail_to_run_launcher_c_sync
lea rcx, [rsp + 0xb0]
call fcn.140014d20
call fcn.140002cd0
lea r9, [rsp + 0xb0]
mov r8d, 1
xor edx, edx
mov rcx, rax
call fcn.140016a90
mov edi, dword [rsi + 0x30]
lea rcx, [rsp + 0x90]
call fcn.14000e990
nop
lea rdx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae rdx, qword [rsp + 0x90]
lea r8, [rsp + 0x50]
call fcn.14000ee10
movzx ebx, al
test al, al
jne 0x140012b7c
xor r8d, r8d
lea rdx, [rsp + 0x50]
call fcn.14000ef10
test al, al
je 0x140012b6c
mov bl, 1
jmp 0x140012b7c
mov r8b, 1
lea rdx, [rsp + 0x50]
call fcn.14000ef10
movzx ebx, al
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
movdqa xmm0, xmmword [0x140147cc0]
movdqu xmmword [rsp + 0x80], xmm0
mov word [rsp + 0x70], r13w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140012ba0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140003d30
nop
cmp edi, 1
jne 0x140012bd3
lea r8d, [rdi + 7]
lea rdx, str.__silent
lea rcx, [rsp + 0x70]
call fcn.140007160
test r12b, r12b
je 0x140012c06
mov r8d, reloc.SHLWAPI.dll_SHCreateMemStream
lea rdx, str.__launchapp
lea rcx, [rsp + 0x70]
call fcn.140007160
mov r8d, 0x28
lea rdx, str.ojgnfnbjckbpfaciphphehonokbggjhpnnoafack
lea rcx, [rsp + 0x70]
call fcn.140007160
test bl, bl
je 0x140012daf
lea rdx, [rsp + 0x70]
cmp qword [rsp + 0x88], 8
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call fcn.14000e830
mov r15, rax
lea rcx, [rsp + 0x70]
call fcn.140003cc0
nop
lea rcx, [rsp + 0x90]
call fcn.140003cc0
mov qword [rsp + 0x38], r15
test r15, r15
je 0x140012dcf
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
lea rdx, str.OWLauncher::Process_executed__s
lea rcx, [rsp + 0x2c0]
call fcn.140014cc0
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x50]
call fcn.1400132b0
lea rdi, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdi, qword [rsp + 0x50]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
mov ecx, eax
call fcn.1400ddb80
mov r14, rax
mov r9, rax
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test ebx, ebx
je 0x140012d75
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rdx, [0x1401360cc]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rcx, qword [rsp + 0x40]
mov ebx, dword [rcx + 8]
mov esi, dword [rcx + 0xc]
mov rcx, r14
call fcn.1400dd444
mov edx, ebx
lea rcx, str.Higher:__x_n
call fcn.140014e40
mov edx, esi
lea rcx, str.Lower:__x_n
call fcn.140014e40
mov r14d, ebx
shr r14d, 0x10
movzx edi, bx
mov ebx, esi
shr ebx, 0x10
movzx eax, si
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
mov edx, r14d
lea rcx, str.Version:__d._d._d._d_n
call fcn.140014e40
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov r8d, r14d
lea rdx, str.Version:__d._d._d
lea rcx, [0x14017c6e0]
call qword [sym.imp.USER32.dll_wsprintfW]
nop
lea rcx, [rsp + 0x50]
call fcn.140003cc0
mov rax, r15
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1400dd420
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsp + 0x70]
call fcn.140003cc0
nop
lea rcx, [rsp + 0x90]
call fcn.140003cc0
mov r15, r13
mov qword [rsp + 0x38], r13
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.OWLauncher::Process_execution_failed__d.
lea rcx, [rsp + 0x2c0]
call fcn.140014cc0
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [0x14017c6a8]
cmp dword [rax + 0x144], 0
jne 0x140012c94
mov dword [rax + 0x144], 1
lea rdx, str.error_msg
call fcn.140002650
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, r14d
lea rdx, str._d_0x_x
lea rcx, [rsp + 0xb0]
call fcn.140014cc0
lea rdx, [rsp + 0xb0]
call fcn.140002650
nop
jmp 0x140012c94