Function at 0x401ff4
Capabilities:
Accept command line arguments

Disassembly:
push 0x2c
mov eax, 0x42343b
call fcn.0042318c
mov edi, ecx
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x38], esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [eax], esi
jle 0x4023bd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
push 9
push 0x42a2c4
mov eax, dword [eax]
mov esi, dword [eax + esi*4]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x40228f
lea ecx, [ebp - 0x30]
add esi, 0x12
push ecx
lea ebx, [edi + 4]
push ebx
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 0x10]
push eax
push str._p:_p:_p:_lu
push esi
call fcn.004082d0
add esp, 0x18
cmp eax, 4
jne 0x402284
mov eax, dword [ebx]
and dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [edi], ecx
test eax, eax
jne 0x4020a8
push ecx
push eax
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x4020a8
push esi
push str.open_process_handle_failed__cmd_line_s
push 0x426940
call fcn.00419776
mov eax, dword [edi + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x28]
push ecx
push 4
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4020cb
cmp dword [ebp - 0x28], 4
jne 0x4020cb
xor eax, eax
inc eax
jmp 0x4020cd
xor eax, eax
push 0x709
push dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x24]
push dword [ebp - 0x30]
push eax
push str.bReadBugReportInfoSizeSucc:_u_pid:_u_addr:_p_SizeValue:_u_SizeOfStruct:_u
push 0x426940
call fcn.00419776
add esp, 0x1c
cmp dword [ebp - 0x34], 0
je 0x402279
cmp dword [ebp - 0x14], 0x709
jb 0x402279
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebx], eax
test ecx, ecx
je 0x402129
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x40211b
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x40226e
lea edx, [ebp - 0x28]
push edx
push ecx
push eax
push dword [ebp - 0x24]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x40226e
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x28], eax
jne 0x40226e
mov ecx, dword [ebx]
cmp dword [ecx + 0x5d8], eax
jae 0x40226e
lea edx, [ecx + 0x5d4]
cmp dword [edx], eax
jae 0x40226e
cmp dword [ecx + 0x5dc], eax
jae 0x40226e
cmp dword [ecx + 0x5e0], eax
jae 0x40226e
cmp dword [ecx + 0x5e4], eax
jae 0x40226e
mov eax, dword [edx]
shr ecx, 1
lea eax, [eax + ecx*2]
mov dword [edx], eax
mov ecx, dword [ebx]
lea eax, [ecx + 0x5d8]
and ecx, 0xfffffffe
add dword [eax], ecx
mov ecx, dword [ebx]
lea eax, [ecx + 0x5dc]
and ecx, 0xfffffffe
add dword [eax], ecx
mov ecx, dword [ebx]
lea eax, [ecx + 0x5e0]
and ecx, 0xfffffffe
add dword [eax], ecx
mov ecx, dword [ebx]
lea eax, [ecx + 0x5e4]
and ecx, 0xfffffffe
add dword [eax], ecx
mov eax, dword [ebx]
push dword [eax + 0x5f4]
lea eax, [ebp - 0x18]
push dword [edi + 0xc]
push eax
call fcn.004023f3
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 4]
push eax
call fcn.0042246a
mov esi, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 4]
push eax
push 0
push esi
call dword [sym.imp.VCRUNTIME140.dll_memset]
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x40224c
cmp dword [eax - 4], 1
lea edx, [ecx + ecx]
mov dword [ebp - 0x34], edx
jle 0x402240
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040161a
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
push edx
push eax
push esi
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
add esp, 0xc
mov eax, dword [ebx]
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
inc ebx
mov dword [ebp - 0x10], ebx
mov dword [eax + 0x5f4], esi
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040188c
jmp 0x4023a8
push esi
push str.Read_process_bug_info_string_failed__CmdLine_s
jmp 0x402398
push esi
push str.Read_process_bug_info_size_failed__CmdLine_s
jmp 0x402398
push esi
push str.Parse_cmd_line__bug_info__failed__CmdLine_s
jmp 0x402398
push 9
push str._extinfo:
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x402392
and dword [ebp - 0x1c], eax
add esi, 0x12
lea eax, [ebp - 0x1c]
push eax
push 0x42a510
push esi
call fcn.004082d0
add esp, 0xc
cmp eax, 1
jne 0x402387
cmp dword [ebp - 0x1c], 0
je 0x402387
cmp dword [edi + 0xc], 0
je 0x402387
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x402376
cmp dword [ebp - 0x2c], 4
jne 0x402376
cmp dword [ebp - 0x20], 0x1000
jae 0x402376
push dword [ebp - 0x20]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [edi + 8], eax
pop ecx
test eax, eax
je 0x402358
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x402358
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x20]
jne 0x402358
mov ecx, dword [edi + 8]
lea eax, [ecx + 0xc]
push eax
push dword [ecx + 8]
push dword [ecx + 4]
push str.Ext1_lu__Ext2_lu__Ext3_s
push 0x426940
call fcn.00419776
add esp, 0x14
jmp 0x4023a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [edi + 8]
push str.Read_ExtInfo_failed__ptr_p__err_lu
push 0x426940
call fcn.00419776
add esp, 0x10
jmp 0x4023a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [edi + 0xc]
push str.Read_InfoSize_failed__hProcess_p__err_lu
jmp 0x402367
push esi
push dword [edi + 0xc]
push str.Parse_cmd_line__ext_info__failed__hProcess_p__CmdLine_s
jmp 0x402367
push esi
push str.Invalid_parameters:__s
push 0x426940
call fcn.00419776
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x38]
inc esi
mov dword [ebp - 0x38], esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp esi, dword [eax]
jl 0x40201b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [eax], 1
jg 0x4023eb
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
push esi
push dword [eax]
push str.PaseCmdLine:_parameter_is_null.__argc:_i_cmdline:_s
push 0x426940
call fcn.00419776
add esp, 0x10
mov eax, ebx
call fcn.00423155
ret