Function at 0x140014910
Capabilities:
Create thread
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx + 0x110]
mov qword [0x14017c6a8], rbx
call fcn.14000d5f0
mov rcx, qword [rbx + 0x118]
mov qword [0x14017c6d8], rax
call fcn.14000d5f0
mov rcx, qword [rbx + 0x120]
mov qword [0x14017c6b8], rax
call fcn.14000d5f0
mov rcx, qword [rbx + 0x128]
mov qword [0x14017c6b0], rax
call fcn.14000d5f0
mov rcx, qword [rbx + 0x130]
mov qword [0x14017c6d0], rax
call fcn.14000d5f0
mov rcx, qword [rbx + 0x138]
mov qword [0x14017c6c8], rax
call fcn.14000d5f0
mov rcx, qword [rbx + 0x98]
xor r15d, r15d
mov qword [0x14017c6c0], rax
xorps xmm0, xmm0
lea rax, [0x140011030]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
lea edx, [r15 + 0x6b]
movdqa xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], rcx
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x80], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rsi, [rbx + 0x78]
mov qword [rsp + 0x88], rax
cmp qword [rsi + 0x18], 8
mov rax, rsi
jb 0x140014a20
mov rax, qword [rsi]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0xa0], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
mov eax, dword [rbx + 0x148]
mov rcx, rbx
neg eax
sbb edi, edi
and edi, 0x13b
call fcn.140012fd0
cmp qword [0x14017c6d8], r15
mov rbp, rax
mov r14d, dword [rbx + 0x148]
mov dword [rbx + 0x148], r15d
je 0x140014af3
lea rdx, [rbx + 8]
mov rcx, rbx
call fcn.140012670
mov r8, qword [0x14017c6d8]
mov rdx, rax
mov rcx, rbx
mov qword [rbx], rax
mov dword [rsp + 0x20], r15d
call fcn.140011230
mov rdx, rbp
mov rcx, rbx
call fcn.1400114c0
mov rdx, rbp
mov rcx, rbx
call fcn.140011cf0
mov r8, qword [0x14017c6d0]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
mov dword [rsp + 0x20], r15d
call fcn.140011230
mov r8, qword [0x14017c6c8]
mov rcx, rbx
mov rdx, qword [rbx + 0x18]
mov dword [rsp + 0x20], edi
call fcn.140011230
mov rcx, rbx
call fcn.140011840
mov r8, qword [0x14017c6c0]
mov rcx, rbx
mov rdx, qword [rbx + 0x20]
mov dword [rsp + 0x20], edi
call fcn.140011230
mov rdi, qword [rbx + 8]
mov edx, 0xffffffec
mov rcx, rdi
mov dword [rbx + 0x148], r14d
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, 0xffffffec
mov rcx, rdi
or eax, 8
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rdi, qword [rbx]
mov edx, 0xffffffec
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, 0xffffffec
mov rcx, rdi
or eax, 8
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rdi, qword [rbx + 0x18]
mov edx, 0xffffffec
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, 0xffffffec
mov rcx, rdi
or eax, 8
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rdi, qword [rbx + 0x20]
mov edx, 0xffffffec
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, 0xffffffec
mov rcx, rdi
or eax, 8
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov r9, rbx
mov qword [rsp + 0x28], r15
lea r8, [0x140013d20]
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 8]
mov edx, 0x65
mov dword [rbx + 0x60], eax
call qword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [0x14017c948]
test ecx, ecx
je 0x140014bdf
sub ecx, 1
je 0x140014cb1
cmp ecx, 1
jne 0x140014bf6
mov r8d, 0x64
mov rcx, qword [rbx + 8]
xor r9d, r9d
lea edx, [r9 + 0x65]
call qword [sym.imp.USER32.dll_SetTimer]
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
xor dil, dil
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140014c5e
test dil, dil
jne 0x140014c5e
cmp eax, 0xffffffff
je 0x140014c47
cmp dword [rsp + 0x38], 0x12
jne 0x140014c31
lea rcx, str.OWLauncher::Ask_to_End.
mov dil, 1
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140014c10
mov rcx, qword [rbx + 8]
mov edx, 0x65
call qword [sym.imp.USER32.dll_KillTimer]
cmp qword [rsi + 0x18], 8
jb 0x140014c77
mov rsi, qword [rsi]
mov rdx, qword [rbx + 0x98]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea rcx, str.OWLauncher::End.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov r8d, 0x3e8
jmp 0x140014be5