Function at 0x140136de0
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 [0x140415a10]
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 0x140137044
mov rcx, qword [rcx + 0xa8]
test rcx, rcx
je 0x140136e46
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 0x140136f6c
mov rax, qword [r15 + 8]
cmp rax, 1
jne 0x140136edc
mov rcx, qword [rsi + 0x138]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0xd0]
cmp byte [rsi + 0x114], r14b
je 0x140136fe8
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 0x140136fe8
cmp rax, 2
jne 0x140136fe8
mov qword [rbp - 0x61], r14
lea edx, [rax + 0xf]
lea rcx, [rbp - 0x69]
call fcn.1401fcb40
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.1402ba94c
mov edx, 0x11
lea rcx, [rbp - 0x69]
call fcn.1401fde50
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 0x17]
call fcn.1400f4800
nop
mov rdx, rax
mov rcx, qword [rsi + 0x138]
call fcn.1401f9c60
nop
cmp dword [rbp + 0x1f], 0
jle 0x140136f51
mov rcx, qword [rbp + 0x17]
call fcn.1402b7350
nop
cmp dword [rbp - 0x61], 0
jle 0x140136f60
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
xor edx, edx
mov rcx, rsi
call fcn.140136420
jmp 0x140136fe8
mov qword [rbp - 0x61], r14
mov edx, 0x10
lea rcx, [rbp - 0x69]
call fcn.1401fcb40
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.1402ba94c
mov edx, 0x10
lea rcx, [rbp - 0x69]
call fcn.1401fde50
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 0x17]
call fcn.1400f4800
nop
mov rdx, rax
mov rcx, qword [rsi + 0x138]
call fcn.1401f9c60
nop
cmp dword [rbp + 0x1f], 0
jle 0x140136fd9
mov rcx, qword [rbp + 0x17]
call fcn.1402b7350
nop
cmp dword [rbp - 0x61], 0
jle 0x140136fe8
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
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.14020c3e0
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 0x140137525
call fcn.1402150f0
jmp 0x140137525
cmp eax, dword [rcx + 0xb8]
jne 0x140137132
mov r12, qword [rdx + 8]
mov rdi, qword [r12 + 8]
test rdi, rdi
jne 0x140137067
mov ebx, r14d
mov qword [rbp - 0x61], r14
jmp 0x140137082
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], r14w
jne 0x140137070
mov qword [rbp - 0x61], r14
test ebx, ebx
jne 0x14013708f
lea rax, [0x140346ce0]
mov qword [rbp - 0x69], rax
jmp 0x1401370b1
mov edx, ebx
lea rcx, [rbp - 0x69]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rbp - 0x61]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rbp - 0x69]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rbp - 0x69]
call fcn.1401fde50
nop
mov rdi, qword [rsi + 0x138]
mov edx, dword [rbp - 0x5d]
lea rcx, [rdi + 0x40]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbp - 0x5d]
lea rcx, [rdi + 0x40]
call fcn.1401fde50
cmp qword [rdi + 8], 0
je 0x140137115
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 0x140137124
mov rcx, qword [rbp - 0x69]
call fcn.1402b7350
mov rax, qword [r12]
mov edx, 1
mov rcx, r12
call qword [rax]
movzx ecx, word [r15 + 0x10]
cmp ecx, 0x14
jg 0x1401373f3
je 0x140137321
dec ecx
je 0x140137311
dec ecx
je 0x1401372c7
cmp ecx, 0xd
jne 0x140137311
lea rdx, [rbp - 0x49]
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_BeginPaint]
mov rdi, qword [rbp - 0x49]
lea rbx, [0x140416f00]
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 0x14013723c
mov rcx, qword [rbx - 8]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140137230
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 0x1401372a1
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 0x140137180
lea rdx, [rbp - 0x49]
mov rcx, qword [r15]
call qword [sym.imp.USER32.dll_EndPaint]
jmp 0x140137525
mov rdx, r15
mov rcx, rsi
call fcn.1401f9d40
cmp qword [rsi + 0xa8], 0
je 0x140137525
mov edx, 0x7530
mov rcx, qword [rsi + 0xb0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140137525
xor edx, edx
mov rcx, qword [rsi + 0xb0]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x140137525
mov rdx, r15
mov rcx, rsi
call fcn.1401f9d40
jmp 0x140137525
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 0x14013751d
cmp ecx, 0x20
je 0x1401374f7
cmp ecx, 0x113
jne 0x140137311
mov rax, qword [r15 + 0x20]
cmp rax, 1
jne 0x140137433
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.140136420
jmp 0x140137525
cmp rax, 2
jne 0x14013745e
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 0x140137525
cmp rax, 3
jne 0x140137525
inc dword [rsi + 0x120]
cmp dword [rsi + 0x120], 0x64
jl 0x14013748d
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 [0x140372050]
mulsd xmm0, qword [0x140371fd8]
call fcn.1402d88d0
movd xmm1, dword [rsi + 0x11c]
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
cmp eax, dword [rsi + 0x118]
jl 0x140137525
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 0x140137525
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.1402b6d40
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