Function at 0x140006ca0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rsi, rcx
xor r14d, r14d
mov dword [rbp + 0x48], r14d
lea r13d, [r14 + 1]
call fcn.1400329cc
cmp dword [rax], r13d
jle 0x140007142
lea ebx, [r14 + 8]
mov qword [rbp - 8], rbx
call fcn.1400329d4
mov rcx, qword [rax]
mov rbx, qword [rbx + rcx]
mov r8d, 9
lea rdx, [0x14005fa98]
mov rcx, rbx
call fcn.1400329dc
test eax, eax
jne 0x140006fbf
add rbx, 0x12
lea r14, [rsi + 8]
lea r15, [rsi + 0x18]
lea r8, [rsi + 0x20]
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9, r15
lea rdx, str._p:_p:_p:_lu
mov rcx, rbx
call fcn.14000f4b4
cmp eax, 4
jne 0x140006fb3
and dword [rbp + 0x50], 0
mov r12, qword [r14]
mov r8d, dword [rbp + 0x58]
mov dword [rsi], r8d
mov rcx, qword [r15]
test rcx, rcx
jne 0x140006d84
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [r15], rax
mov rcx, rax
test rax, rax
jne 0x140006d84
mov r8, rbx
lea rdx, str.open_process_handle_failed__cmd_line_s
lea rcx, [0x14005f4e0]
call fcn.140025b7c
mov rcx, qword [r15]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0x50]
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140006db2
cmp qword [rbp - 0x28], 4
jne 0x140006db2
mov edi, 1
jmp 0x140006db4
xor edi, edi
mov qword [rsp + 0x30], 0x9a0
mov eax, dword [rbp + 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov r9d, dword [rbp + 0x58]
mov r8d, edi
lea rdx, str.bReadBugReportInfoSizeSucc:_u_pid:_u_addr:_p_SizeValue:_u_SizeOfStruct:_u
lea rcx, [0x14005f4e0]
call fcn.140025b7c
test edi, edi
je 0x140006fa7
cmp dword [rbp + 0x50], 0x9a0
jb 0x140006fa7
mov ecx, dword [rbp + 0x50]
call fcn.14003941c
mov qword [r14], rax
mov ecx, dword [rbp + 0x50]
mov rdi, rax
xor eax, eax
rep stosb byte [rdi], al
mov r8, qword [r14]
test r8, r8
je 0x140006f9b
mov r9d, dword [rbp + 0x50]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov rdx, r12
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140006f9b
mov eax, dword [rbp + 0x50]
cmp qword [rbp - 0x28], rax
jne 0x140006f9b
mov rcx, qword [r14]
cmp qword [rcx + 0x848], rax
jae 0x140006f9b
lea rdx, [rcx + 0x840]
mov rdi, qword [rdx]
cmp rdi, rax
jae 0x140006f9b
cmp qword [rcx + 0x850], rax
jae 0x140006f9b
cmp qword [rcx + 0x858], rax
jae 0x140006f9b
cmp qword [rcx + 0x860], rax
jae 0x140006f9b
shr rcx, 1
lea rax, [rdi + rcx*2]
mov qword [rdx], rax
mov rcx, qword [r14]
lea rax, [rcx + 0x848]
shr rcx, 1
add rcx, rcx
add qword [rax], rcx
mov rcx, qword [r14]
lea rax, [rcx + 0x850]
shr rcx, 1
add rcx, rcx
add qword [rax], rcx
mov rcx, qword [r14]
lea rax, [rcx + 0x858]
shr rcx, 1
add rcx, rcx
add qword [rax], rcx
mov rcx, qword [r14]
lea rax, [rcx + 0x860]
shr rcx, 1
add rcx, rcx
add qword [rax], rcx
mov r9, qword [r14]
mov r9, qword [r9 + 0x874]
mov r8, qword [r15]
lea rdx, [rbp - 0x30]
call fcn.140007190
nop
mov rax, qword [rbp - 0x30]
mov ecx, dword [rax - 0x10]
add ecx, 2
movsxd rcx, ecx
add rcx, rcx
call fcn.14002bbd4
mov rdi, rax
mov rax, qword [rbp - 0x30]
mov ecx, dword [rax - 0x10]
add ecx, 2
movsxd r8, ecx
add r8, r8
xor edx, edx
mov rcx, rdi
call fcn.14002dc80
mov rdx, qword [rbp - 0x30]
movsxd rbx, dword [rdx - 0x10]
test ebx, ebx
jle 0x140006f60
cmp dword [rdx - 8], 1
jle 0x140006f52
mov edx, dword [rdx - 0x10]
lea rcx, [rbp - 0x30]
call fcn.140005fc0
mov rdx, qword [rbp - 0x30]
mov r8, rbx
add r8, r8
mov rcx, rdi
call fcn.14002d5d0
mov rax, qword [r14]
mov qword [rax + 0x874], rdi
mov r14d, 1
mov dword [rbp + 0x48], r14d
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, r14d
jg 0x140007125
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140007121
lea rdx, str.Read_process_bug_info_string_failed__CmdLine_s
jmp 0x140007112
lea rdx, str.Read_process_bug_info_size_failed__CmdLine_s
jmp 0x140007112
lea rdx, str.Parse_cmd_line__bug_info__failed__CmdLine_s
jmp 0x140007112
mov r8d, 9
lea rdx, str._extinfo:
mov rcx, rbx
call fcn.1400329dc
test eax, eax
jne 0x14000710b
and qword [rbp - 0x20], 0
lea r8, [rbp - 0x20]
lea rdx, [0x14005fcf4]
lea rcx, [rbx + 0x12]
call fcn.14000f4b4
cmp eax, 1
jne 0x1400070ee
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400070ee
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x1400070ee
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400070db
cmp qword [rbp - 0x10], 8
jne 0x1400070db
mov rcx, qword [rbp - 0x18]
cmp rcx, 0x1000
jae 0x1400070db
call fcn.14003941c
mov qword [rsi + 0x10], rax
test rax, rax
je 0x1400070b9
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rcx
mov r9, qword [rbp - 0x18]
mov r8, rax
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400070b9
mov rax, qword [rbp - 0x18]
cmp qword [rbp - 0x10], rax
jne 0x1400070b9
mov rcx, qword [rsi + 0x10]
lea rax, [rcx + 0xc]
mov qword [rsp + 0x20], rax
mov r9d, dword [rcx + 8]
mov r8d, dword [rcx + 4]
lea rdx, str.Ext1_lu__Ext2_lu__Ext3_s
lea rcx, [0x14005f4e0]
call fcn.140025b7c
jmp 0x140007121
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi + 0x10]
lea rdx, str.Read_ExtInfo_failed__ptr_p__err_lu
mov r9d, eax
lea rcx, [0x14005f4e0]
call fcn.140025b7c
jmp 0x140007121
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi + 0x18]
lea rdx, str.Read_InfoSize_failed__hProcess_p__err_lu
jmp 0x1400070ca
lea r9, [rbx + 0x12]
mov r8, qword [rsi + 0x18]
lea rdx, str.Parse_cmd_line__ext_info__failed__hProcess_p__CmdLine_s
lea rcx, [0x14005f4e0]
call fcn.140025b7c
jmp 0x140007121
lea rdx, str.Invalid_parameters:__s
mov r8, rbx
lea rcx, [0x14005f4e0]
call fcn.140025b7c
mov r14d, dword [rbp + 0x48]
inc r13d
mov rbx, qword [rbp - 8]
add rbx, 8
mov qword [rbp - 8], rbx
call fcn.1400329cc
cmp r13d, dword [rax]
jl 0x140006cdb
call fcn.1400329cc
cmp dword [rax], 1
jg 0x140007173
call fcn.1400329cc
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r9, rax
mov r8d, dword [rdi]
lea rdx, str.PaseCmdLine:_parameter_is_null.__argc:_i_cmdline:_s
lea rcx, [0x14005f4e0]
call fcn.140025b7c
mov eax, r14d
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret