Function at 0x140002a70
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push rbp
push rbx
push r12
push r13
lea rbp, [rsp - 0x888]
sub rsp, 0x988
mov rax, qword [0x14003d080]
xor rax, rsp
mov qword [rbp + 0x870], rax
movdqa xmm0, xmmword [0x140037a80]
lea rcx, [rbp - 0x60]
xor ebx, ebx
mov qword [rsp + 0x50], r8
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], bx
mov r13, r8
call fcn.1400024f0
test al, al
jne 0x140002b4c
lea rcx, [rbp - 0x60]
call fcn.140002220
test al, al
jne 0x140002b4c
lea rcx, [rbp - 0x60]
call fcn.140002830
test al, al
jne 0x140002b4c
mov rdx, r13
lea rcx, [rsp + 0x58]
call fcn.140005ea0
cmp qword [rax + 0x18], 0x10
jb 0x140002af4
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.Cant_find_overwolf_location__s
call fcn.140001cc0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140002b40
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b3b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e87
call fcn.140007ac4
mov r12, 0xffffffffffffffff
jmp 0x140002e25
mov qword [rsp + 0x9b0], rsi
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x9c8], r14
xor edx, edx
mov r8d, 0x820
mov qword [rsp + 0x980], r15
call fcn.1400099e0
cmp qword [rbp - 0x48], 8
lea r8, [rbp - 0x60]
mov edx, 0x410
lea rcx, [rbp + 0x50]
cmovae r8, qword [rbp - 0x60]
call fcn.14000bf78
lea rcx, [rbp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x78]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rcx, rbx
mov qword [rbp - 0x70], rbx
mov r14d, 7
mov r15, rax
mov esi, ebx
mov qword [rbp - 0x68], r14
mov word [rbp - 0x80], bx
cmp dword [rsp + 0x78], ecx
jle 0x140002cd1
mov r12, 0xffffffffffffffff
mov qword [rsp + 0x9b8], rdi
xor r13d, r13d
nop word [rax + rax]
mov r9, qword [r15]
mov rdx, r12
inc rdx
cmp word [r9 + rdx*2], r13w
jne 0x140002bf6
mov rax, r14
sub rax, rcx
cmp rdx, rax
ja 0x140002c37
lea rdi, [rcx + rdx]
cmp r14, 8
lea r8, [rdx + rdx]
mov qword [rbp - 0x70], rdi
lea rbx, [rbp - 0x80]
mov rdx, r9
cmovae rbx, qword [rbp - 0x80]
lea rcx, [rbx + rcx*2]
call fcn.140009570
mov word [rbx + rdi*2], r13w
jmp 0x140002c45
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x20], rdx
call fcn.1400053e0
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140002c8b
cmp rdx, 8
lea rdi, [rcx + 1]
lea rbx, [rbp - 0x80]
mov qword [rbp - 0x70], rdi
cmovae rbx, qword [rbp - 0x80]
lea rdx, [0x140037318]
mov r8d, 2
lea rcx, [rbx + rcx*2]
call fcn.140009570
mov word [rbx + rdi*2], r13w
jmp 0x140002ca9
lea r9, [0x140037318]
mov qword [rsp + 0x20], 1
mov edx, 1
lea rcx, [rbp - 0x80]
call fcn.1400053e0
mov r14, qword [rbp - 0x68]
inc esi
add r15, 8
cmp esi, dword [rsp + 0x78]
jge 0x140002cc2
mov rcx, qword [rbp - 0x70]
jmp 0x140002bf0
mov r13, qword [rsp + 0x50]
xor ebx, ebx
mov rdi, qword [rsp + 0x9b8]
xor edx, edx
lea rcx, [rbp - 0x1c]
lea r8d, [rdx + 0x64]
call fcn.1400099e0
xor eax, eax
mov dword [rbp - 0x20], 0x68
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x30], rax
cmp r14, 8
lea rax, [rbp - 0x40]
cmovae rdx, qword [rbp - 0x80]
cmp qword [rbp - 0x48], 8
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
cmovae rcx, qword [rbp - 0x60]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rax, [rbp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov r15, qword [rsp + 0x980]
mov r14, qword [rsp + 0x9c8]
mov rsi, qword [rsp + 0x9b0]
test eax, eax
jne 0x140002dd6
mov rdx, r13
lea rcx, [rsp + 0x58]
call fcn.140005ea0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140002d7a
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rbx
lea rcx, str.fail_to_start_overwolf__0x_x_:__s
mov edx, eax
call fcn.140001cc0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140002dce
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002dc9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e8d
call fcn.140007ac4
xor ebx, ebx
lea r12d, [rbx - 2]
jmp 0x140002dd9
mov r12d, ebx
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140002e15
mov rcx, qword [rbp - 0x80]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e10
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e81
call fcn.140007ac4
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], bx
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140002e61
mov rcx, qword [rbp - 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e5c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e81
call fcn.140007ac4
mov eax, r12d
mov rcx, qword [rbp + 0x870]
xor rcx, rsp
call fcn.140007aa0
add rsp, 0x988
pop r13
pop r12
pop rbx
pop rbp
ret
call fcn.14000eb84
int3
call fcn.14000eb84
int3
call fcn.14000eb84
int3