Function at 0x14012a1a0
Capabilities:
Terminate thread

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, rdx
mov rsi, rcx
movzx eax, word [rdx + 0x10]
xor r14d, r14d
cmp eax, dword [rcx + 0xbc]
jne 0x14012a404
mov rcx, qword [rcx + 0xa8]
test rcx, rcx
je 0x14012a206
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0xa8], r14
mov rcx, qword [rsi + 0x128]
mov rcx, qword [rcx + 0x140]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp qword [r15 + 0x20], r14
je 0x14012a32c
mov rax, qword [r15 + 8]
cmp rax, 1
jne 0x14012a29c
mov rcx, qword [rsi + 0x138]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0xd0]
cmp byte [rsi + 0x114], r14b
je 0x14012a3a8
mov dword [rsi + 0x110], 4
mov rax, qword [rsi]
lea rdx, [rbp - 0x69]
mov rcx, rsi
call qword [rax + 0xb8]
mov ecx, dword [rax + 4]
mov dword [rsi + 0x118], ecx
mov qword [rsi + 0x11c], 0x168
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, rax
xor r9d, r9d
lea edx, [r9 + 2]
lea r8d, [r9 + 0x64]
call qword [sym.imp.USER32.dll_SetTimer]
jmp 0x14012a3a8
cmp rax, 2
jne 0x14012a3a8
mov qword [rbp - 0x61], r14
lea edx, [rax + 0xf]
lea rcx, [rbp - 0x69]
call fcn.1401e9030
mov eax, dword [rbp - 0x61]
inc eax
movsxd rdx, eax
mov r9d, 0x11
lea r8, str.Kickstart_Success
mov rcx, qword [rbp - 0x69]
call fcn.14029b4d8
mov edx, 0x11
lea rcx, [rbp - 0x69]
call fcn.1401ea290
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 0x17]
call fcn.1400f6370
nop
mov rdx, rax
mov rcx, qword [rsi + 0x138]
call fcn.1401e6150
nop
cmp dword [rbp + 0x1f], 0
jle 0x14012a311
mov rcx, qword [rbp + 0x17]
call fcn.140298600
nop
cmp dword [rbp - 0x61], 0
jle 0x14012a320
mov rcx, qword [rbp - 0x69]
call fcn.140298600
xor edx, edx
mov rcx, rsi
call fcn.1401297e0
jmp 0x14012a3a8
mov qword [rbp - 0x61], r14
mov edx, 0x10
lea rcx, [rbp - 0x69]
call fcn.1401e9030
mov eax, dword [rbp - 0x61]
inc eax
movsxd rdx, eax
mov r9d, 0x10
lea r8, str.Kickstart_Failed
mov rcx, qword [rbp - 0x69]
call fcn.14029b4d8
mov edx, 0x10
lea rcx, [rbp - 0x69]
call fcn.1401ea290
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 0x17]
call fcn.1400f6370
nop
mov rdx, rax
mov rcx, qword [rsi + 0x138]
call fcn.1401e6150
nop
cmp dword [rbp + 0x1f], 0
jle 0x14012a399
mov rcx, qword [rbp + 0x17]
call fcn.140298600
nop
cmp dword [rbp - 0x61], 0
jle 0x14012a3a8
mov rcx, qword [rbp - 0x69]
call fcn.140298600
mov rcx, qword [rsi + 0x128]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x60]
lea rdx, [rbp + 0x17]
mov rcx, qword [rsi + 0x128]
call fcn.1401f85b0
mov rcx, rax
mov r8, qword [rsi + 0x130]
mov r9, qword [r8]
mov rax, qword [rax + 8]
sub rax, qword [rcx]
sar rax, 3
cmp eax, 1
sete dl
mov rcx, r8
call qword [r9 + 0x60]
nop
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14012a8e5
call fcn.1402012c0
jmp 0x14012a8e5
cmp eax, dword [rcx + 0xb8]
jne 0x14012a4f2
mov r12, qword [rdx + 8]
mov rdi, qword [r12 + 8]
test rdi, rdi
jne 0x14012a427
mov ebx, r14d
mov qword [rbp - 0x61], r14
jmp 0x14012a442
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], r14w
jne 0x14012a430
mov qword [rbp - 0x61], r14
test ebx, ebx
jne 0x14012a44f
lea rax, [0x140323de0]
mov qword [rbp - 0x69], rax
jmp 0x14012a471
mov edx, ebx
lea rcx, [rbp - 0x69]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rbp - 0x61]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rbp - 0x69]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rbp - 0x69]
call fcn.1401ea290
nop
mov rdi, qword [rsi + 0x138]
mov edx, dword [rbp - 0x5d]
lea rcx, [rdi + 0x40]
call fcn.1401e9030
movsxd r9, dword [rbp - 0x5d]
mov eax, dword [rdi + 0x48]
inc eax
movsxd rdx, eax
mov r8, qword [rbp - 0x69]
mov rcx, qword [rdi + 0x40]
call fcn.14029b4d8
mov edx, dword [rbp - 0x5d]
lea rcx, [rdi + 0x40]
call fcn.1401ea290
cmp qword [rdi + 8], 0
je 0x14012a4d5
mov rbx, qword [rdi + 0x40]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
nop
cmp dword [rbp - 0x61], 0
jle 0x14012a4e4
mov rcx, qword [rbp - 0x69]
call fcn.140298600
mov rax, qword [r12]
mov edx, 1
mov rcx, r12
call qword [rax]
movzx ecx, word [r15 + 0x10]
cmp ecx, 0x14
jg 0x14012a7b3
je 0x14012a6e1
dec ecx
je 0x14012a6d1
dec ecx
je 0x14012a687
cmp ecx, 0xd
jne 0x14012a6d1
lea rdx, [rbp - 0x49]
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_BeginPaint]
mov rdi, qword [rbp - 0x49]
lea rbx, [0x1403ebf10]
nop word [rax + rax]
mov rdx, qword [rsi + 0xc0]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, 0x585858
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetBkMode]
mov r8d, dword [rbx + 4]
lea eax, [r8 + 0x18]
mov dword [rsp + 0x20], eax
xor edx, edx
lea r9d, [rdx + 0x15]
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_SetRect]
mov eax, dword [rbp + 0x13]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0xf]
mov r8d, dword [rbp + 0xb]
xor edx, edx
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_SetRect]
mov dword [rsp + 0x20], 0x22
lea r9, [rbp + 7]
mov r8d, 1
mov rdx, qword [rbx - 0x10]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [rbp + 0xb]
lea eax, [rcx + 8]
mov dword [rbp + 0x1b], eax
mov dword [rbp + 0x17], 0x20
mov dword [rbp + 0x1f], 0x296
lea eax, [rcx + 0x30]
mov dword [rbp + 0x23], eax
cmp dword [rbx], 0xffffffff
jne 0x14012a5fc
mov rcx, qword [rbx - 8]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14012a5f0
mov dword [rbx], eax
mov edx, 0x585858
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rdx, qword [rsi + 0xc8]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x20], 0x10
lea r9, [rbp + 0x17]
mov r8d, dword [rbx]
mov rdx, qword [rbx - 8]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextW]
cmp r14d, 3
jne 0x14012a661
mov ecx, dword [rbp + 0x17]
mov dword [rbp - 0x69], ecx
mov ecx, dword [rbp + 0x1b]
add ecx, 0xa
add eax, ecx
mov dword [rbp - 0x65], eax
mov rcx, qword [rsi + 0x140]
mov rax, qword [rcx]
lea rdx, [rbp - 0x69]
call qword [rax + 0xa0]
inc r14d
add rbx, 0x18
movsxd rax, r14d
cmp rax, 4
jb 0x14012a540
lea rdx, [rbp - 0x49]
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_EndPaint]
jmp 0x14012a8e5
mov rdx, r15
mov rcx, rsi
call fcn.1401e6230
cmp qword [rsi + 0xa8], 0
je 0x14012a8e5
mov edx, 0x7530
mov rcx, qword [rsi + 0xb0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14012a8e5
xor edx, edx
mov rcx, qword [rsi + 0xb0]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x14012a8e5
mov rdx, r15
mov rcx, rsi
call fcn.1401e6230
jmp 0x14012a8e5
mov rdi, qword [r15 + 0x20]
lea rdx, [rbp + 0x17]
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_GetClientRect]
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov r8, rax
lea rdx, [rbp + 0x17]
mov rcx, rdi
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, qword [rsi + 0x128]
mov rax, qword [rcx]
call qword [rax]
mov rcx, rax
lea rdx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov qword [rbp + 7], r14
mov eax, dword [rbp + 0x1f]
sub eax, dword [rbp + 0x17]
mov dword [rbp + 0xf], eax
mov eax, dword [rbp + 0x23]
sub eax, dword [rbp + 0x1b]
mov dword [rbp + 0x13], eax
mov rcx, qword [rsi + 0x128]
mov rax, qword [rcx]
call qword [rax]
mov rcx, rax
mov r9d, 2
lea r8, [rbp + 7]
mov rdx, qword [r15]
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, 1
xor ecx, ecx
mov r8d, 0xcccccc
call qword [sym.imp.GDI32.dll_CreatePen]
mov rbx, rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r10d, dword [rbp + 0x13]
inc r10d
mov r9d, dword [rbp + 0xf]
inc r9d
mov r8d, dword [rbp + 0xb]
dec r8d
mov edx, dword [rbp + 7]
dec edx
mov dword [rsp + 0x20], r10d
mov rcx, rdi
call qword [sym.imp.GDI32.dll_Rectangle]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x14012a8dd
cmp ecx, 0x20
je 0x14012a8b7
cmp ecx, 0x113
jne 0x14012a6d1
mov rax, qword [r15 + 0x20]
cmp rax, 1
jne 0x14012a7f3
mov byte [rsi + 0x114], al
mov rdx, rax
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_KillTimer]
xor edx, edx
mov rcx, rsi
call fcn.1401297e0
jmp 0x14012a8e5
cmp rax, 2
jne 0x14012a81e
mov rdx, rax
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_KillTimer]
xor r9d, r9d
lea edx, [r9 + 3]
lea r8d, [r9 + 0xf]
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_SetTimer]
jmp 0x14012a8e5
cmp rax, 3
jne 0x14012a8e5
inc dword [rsi + 0x120]
cmp dword [rsi + 0x120], 0x64
jl 0x14012a84d
mov dword [rsi + 0x120], 0x64
mov rdx, rax
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_KillTimer]
movd xmm0, dword [rsi + 0x120]
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x14034cd50]
mulsd xmm0, qword [0x14034ccd8]
call fcn.1402b8e60
movd xmm1, dword [rsi + 0x11c]
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
cmp eax, dword [rsi + 0x118]
jl 0x14012a8e5
mov r9d, 0x1e4
sub r9d, eax
mov dword [rsp + 0x30], 0x4000
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x2c0
xor r8d, r8d
xor edx, edx
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x14012a8e5
mov edx, 0x7f00
mov eax, 0x7f02
cmp qword [rsi + 0xa8], 0
cmovne edx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov qword [r15 + 0x18], 1
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret