Function at 0x429a70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f5ac
mov eax, dword fs:[0]
push eax
sub esp, 0xa90
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x244]
mov esi, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0xa90], ebx
mov dword [ebp - 0xa8c], ebx
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x244]
push 0x104
push eax
call fcn.0045b840
add esp, 0x14
mov dword [ebp - 0xa80], 0
mov dword [ebp - 0xa7c], 0
mov dword [ebp - 0xa78], 0
push 9
xor eax, eax
mov dword [ebp - 0x2c], 0
push str._PerfTool
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00404580
mov ecx, dword [ebp - 0xa7c]
mov byte [ebp - 4], 1
cmp ecx, dword [ebp - 0xa78]
je 0x429b75
mov eax, dword [ebp - 0x2c]
mov edx, 7
mov dword [ecx], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [ebp - 0xa7c], 0x18
mov word [ebp - 0x2c], ax
jmp 0x429b88
lea eax, [ebp - 0x2c]
push eax
push ecx
lea ecx, [ebp - 0xa80]
call fcn.00401680
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x429bc3
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429bb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a29e
push edx
push ecx
call fcn.0049995e
add esp, 8
push 0x18
xor eax, eax
mov dword [ebp - 0x2c], 0
push str._PFIgnoreDirtyFilePrompt
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00404580
mov ecx, dword [ebp - 0xa7c]
mov byte [ebp - 4], 2
cmp ecx, dword [ebp - 0xa78]
je 0x429c3c
mov eax, dword [ebp - 0x2c]
mov edx, 7
mov dword [ecx], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [ebp - 0xa7c], 0x18
mov word [ebp - 0x2c], ax
jmp 0x429c4f
lea eax, [ebp - 0x2c]
push eax
push ecx
lea ecx, [ebp - 0xa80]
call fcn.00401680
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x429c8a
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429c80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a29e
push edx
push ecx
call fcn.0049995e
add esp, 8
call fcn.0045baa0
test edx, edx
jg 0x429cb8
jl 0x429c99
test eax, eax
jae 0x429cb8
neg eax
adc edx, 0
neg edx
push edx
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.00407fb0
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x429cc5
push edx
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.00407fb0
mov ecx, eax
xor eax, eax
mov dword [ebp - 0xa5c], 0
mov word [ebp - 0xa5c], ax
add esp, 0xc
lea eax, [ebp - 0x12]
mov dword [ebp - 0xa4c], 0
mov dword [ebp - 0xa48], 7
cmp ecx, eax
je 0x429d07
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0xa5c]
call fcn.00404580
push 0x10
xor eax, eax
mov dword [ebp - 0xa74], 0
push str._PerfBeginCount
lea ecx, [ebp - 0xa74]
mov byte [ebp - 4], 3
mov dword [ebp - 0xa64], 0
mov dword [ebp - 0xa60], 7
mov word [ebp - 0xa74], ax
call fcn.00404580
lea eax, [ebp - 0xa5c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xa74]
push eax
push dword [ebp - 0xa90]
lea ecx, [ebp - 0x2c]
call fcn.00405340
mov ecx, dword [ebp - 0xa7c]
mov byte [ebp - 4], 5
cmp ecx, dword [ebp - 0xa78]
je 0x429db3
mov eax, dword [ebp - 0x2c]
mov edx, 7
mov dword [ecx], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [ebp - 0xa7c], 0x18
mov word [ebp - 0x2c], ax
jmp 0x429dc6
lea eax, [ebp - 0x2c]
push eax
push ecx
lea ecx, [ebp - 0xa80]
call fcn.00401680
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x429e01
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429df7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a29e
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0xa60]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x429e45
mov ecx, dword [ebp - 0xa74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429e3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a29e
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0xa48]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x429e89
mov ecx, dword [ebp - 0xa5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429e7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a29e
push edx
push ecx
call fcn.0049995e
add esp, 8
lea eax, [ebp - 0x244]
push 0x2e
push eax
call sub.VCRUNTIME140.dll_wcsrchr
add esp, 8
test eax, eax
je 0x42a0c8
xor ecx, ecx
push 0x800
mov word [eax], cx
lea eax, [ebp - 0xa44]
push ecx
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x4d3874]
add esp, 0xc
cmp dword [esi + 0x14], 8
lea eax, [ecx + 1]
mov dword [0x4d3874], eax
jb 0x429ed2
mov esi, dword [esi]
push ecx
push esi
lea eax, [ebp - 0x244]
push eax
push str._ws__ws__lu.kpl
lea eax, [ebp - 0xa44]
push 0x400
push eax
call fcn.0041d3d0
add esp, 0x18
mov dword [ebp - 0xa5c], 0
xor eax, eax
mov dword [ebp - 0xa4c], 0
lea ecx, [ebp - 0xa5c]
mov dword [ebp - 0xa48], 7
mov word [ebp - 0xa5c], ax
push 0xe
push str.__PerfLogFile
call fcn.00404580
lea eax, [ebp - 0xa44]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xa5c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401590
push 0x4a980c
push eax
lea eax, [ebp - 0xa74]
mov byte [ebp - 4], 7
push eax
call fcn.00401590
add esp, 0x18
mov edx, eax
mov ecx, dword [ebp - 0xa7c]
mov byte [ebp - 4], 8
cmp ecx, dword [ebp - 0xa78]
je 0x429fc7
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x14], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
add dword [ebp - 0xa7c], 0x18
jmp 0x429fd4
push edx
push ecx
lea ecx, [ebp - 0xa80]
call fcn.00401680
mov edx, dword [ebp - 0xa60]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x42a018
mov ecx, dword [ebp - 0xa74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a00e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a0b8
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0xa64], 0
mov dword [ebp - 0xa60], 7
mov word [ebp - 0xa74], ax
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x42a06f
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a065
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a0b8
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0xa48]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x42a0c8
mov ecx, dword [ebp - 0xa5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a0be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42a0be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
lea eax, [ebp - 0xa84]
mov dword [ebp - 0xa84], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0xa8c], eax
mov dword [ebp - 0xa9c], str._PerfStackPrint
mov dword [ebp - 0xa98], str._PerfSymbolPath
test eax, eax
je 0x42a1e2
cmp dword [ebp - 0xa84], 0
mov dword [ebp - 0xa88], 0
jle 0x42a1db
mov edi, eax
lea esi, [ebp - 0xa9c]
push dword [esi]
push dword [edi]
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x42a1a2
mov edx, dword [ebp - 0xa7c]
cmp edx, dword [ebp - 0xa78]
je 0x42a195
mov ebx, dword [edi]
xor eax, eax
mov dword [edx], 0
mov word [edx], ax
mov eax, ebx
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
lea ecx, [eax + 2]
mov dword [ebp - 0xa94], ecx
jmp 0x42a170
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a170
sub eax, dword [ebp - 0xa94]
mov ecx, edx
sar eax, 1
push eax
push ebx
call fcn.00404580
add dword [ebp - 0xa7c], 0x18
jmp 0x42a1a2
push edi
push edx
lea ecx, [ebp - 0xa80]
call fcn.00426b10
add esi, 4
lea eax, [ebp - 0xa94]
cmp esi, eax
jne 0x42a127
mov eax, dword [ebp - 0xa88]
add edi, 4
inc eax
mov dword [ebp - 0xa88], eax
cmp eax, dword [ebp - 0xa84]
jl 0x42a121
mov eax, dword [ebp - 0xa8c]
mov ebx, dword [ebp - 0xa90]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0xa80]
push eax
push ebx
call fcn.004161f0
mov esi, dword [ebp - 0xa80]
add esp, 8
test esi, esi
je 0x42a2ae
mov edi, dword [ebp - 0xa7c]
cmp esi, edi
je 0x42a265
lea ebx, [ebx]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x42a245
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x42a23b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a29e
mov eax, edx
push ecx
push eax
call fcn.0049995e
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x42a210
mov esi, dword [ebp - 0xa80]
mov ecx, dword [ebp - 0xa78]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x42a2a4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42a2a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0049995e
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049996c
mov esp, ebp
pop ebp
ret