Function at 0x140139640
Capabilities:
Create thread
Resume thread

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r14d, edx
mov rsi, rcx
cmp qword [rcx + 0xa8], 0
jne 0x140139a26
lea rdx, [rbp - 0x18]
mov rcx, qword [rcx + 0x128]
call fcn.140212520
mov r8, qword [rax]
mov rdi, qword [r8]
xor r15d, r15d
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1401396ac
call fcn.14021ae20
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r15
mov rdi, qword [rdi + 8]
lea r12, [0x14034d1a0]
test rdi, rdi
jne 0x1401396c5
mov ebx, r15d
mov qword [rbp - 0x30], r15
jmp 0x1401396e2
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], r15w
jne 0x1401396d0
mov qword [rbp - 0x30], r15
test ebx, ebx
jne 0x1401396e8
mov qword [rbp - 0x38], r12
jmp 0x14013970a
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rbp - 0x30]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rbp - 0x38]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.140203bb0
nop
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r15
cmp r14d, 1
jne 0x1401397d3
mov qword [rbp - 0x20], r15
lea edx, [r14 + 0x11]
lea rcx, [rbp - 0x28]
call fcn.1402028a0
mov eax, dword [rbp - 0x20]
inc eax
movsxd rdx, eax
lea r9d, [r14 + 0x11]
lea r8, str.Kickstart_Warning1
mov rcx, qword [rbp - 0x28]
call fcn.1402c06dc
lea edx, [r14 + 0x11]
lea rcx, [rbp - 0x28]
call fcn.140203bb0
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x18]
call fcn.1400f6d90
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x48]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rbp - 0x40]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x48]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x48]
call fcn.140203bb0
nop
cmp dword [rbp - 0x10], 0
jle 0x1401397b4
mov rcx, qword [rbp - 0x18]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x20], 0
jle 0x1401397c3
mov rcx, qword [rbp - 0x28]
call fcn.1402bd0e0
lea rdx, str._r_n_r_n
lea rcx, [rbp - 0x48]
call fcn.140200ef0
mov qword [rbp - 0x20], r15
mov edx, 0x12
lea rcx, [rbp - 0x28]
call fcn.1402028a0
mov eax, dword [rbp - 0x20]
inc eax
movsxd rdx, eax
mov r9d, 0x12
lea r8, str.Kickstart_Warning2
mov rcx, qword [rbp - 0x28]
call fcn.1402c06dc
mov edx, 0x12
lea rcx, [rbp - 0x28]
call fcn.140203bb0
nop
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x18]
call fcn.1400f6d90
mov rdi, rax
mov ebx, dword [rbp - 0x3c]
add ebx, dword [rax + 0xc]
mov edx, ebx
lea rcx, [rbp - 0x48]
call fcn.1402028a0
movsxd r9, dword [rdi + 0xc]
mov r8d, dword [rbp - 0x40]
movsxd rcx, dword [rbp - 0x3c]
sub r8d, ecx
inc r8d
movsxd rdx, r8d
mov rax, qword [rbp - 0x48]
lea rcx, [rax + rcx*2]
mov r8, qword [rdi]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rbp - 0x48]
call fcn.140203bb0
nop
cmp dword [rbp - 0x10], 0
jle 0x140139874
mov rcx, qword [rbp - 0x18]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x20], 0
jle 0x140139883
mov rcx, qword [rbp - 0x28]
call fcn.1402bd0e0
mov rbx, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x48]
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax]
mov rcx, rax
mov r9d, 0x34
mov r8, rbx
mov rdx, rdi
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x140139a07
mov rcx, qword [rsi + 0xb0]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, 0x18
call fcn.1402bcb4c
mov rbx, rax
mov qword [rax], rsi
lea rdx, [rbp - 0x18]
mov rcx, qword [rsi + 0x128]
call fcn.140212520
mov rcx, qword [rax]
mov rdx, qword [rcx]
mov rcx, qword [rdx]
call fcn.1402bfd80
mov qword [rbx + 8], rax
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1401398ff
call fcn.14021ae20
mov dword [rbx + 0x10], r14d
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rbx
lea r8, [0x14013a1c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0xa8], rax
test rax, rax
jne 0x14013994e
mov rcx, qword [rsi + 0xb0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbx
call fcn.14021ae20
jmp 0x140139a07
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x28], r12
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.140203bb0
nop
mov rdi, qword [rsi + 0x138]
mov edx, dword [rbp - 0x1c]
lea rcx, [rdi + 0x40]
call fcn.1402028a0
movsxd r9, dword [rbp - 0x1c]
mov eax, dword [rdi + 0x48]
inc eax
movsxd rdx, eax
mov r8, qword [rbp - 0x28]
mov rcx, qword [rdi + 0x40]
call fcn.1402c06dc
mov edx, dword [rbp - 0x1c]
lea rcx, [rdi + 0x40]
call fcn.140203bb0
cmp qword [rdi + 8], 0
je 0x1401399ba
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 - 0x20], 0
jle 0x1401399c9
mov rcx, qword [rbp - 0x28]
call fcn.1402bd0e0
mov rcx, qword [rsi + 0x138]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0xd0]
mov rcx, qword [rsi + 0x128]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x60]
mov rcx, qword [rsi + 0x130]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x60]
mov rcx, qword [rsi + 0xa8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
cmp dword [rbp - 0x40], 0
jle 0x140139a17
mov rcx, qword [rbp - 0x48]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x30], 0
jle 0x140139a26
mov rcx, qword [rbp - 0x38]
call fcn.1402bd0e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret