Function at 0x429ad0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f74c
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.0045b980
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 0x429bd5
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 0x429be8
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 0x429c23
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429c19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a2fe
push edx
push ecx
call fcn.00499aee
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 0x429c9c
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 0x429caf
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 0x429cea
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429ce0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a2fe
push edx
push ecx
call fcn.00499aee
add esp, 8
call fcn.0045bbe0
test edx, edx
jg 0x429d18
jl 0x429cf9
test eax, eax
jae 0x429d18
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 0x429d25
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 0x429d67
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 0x429e13
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 0x429e26
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 0x429e61
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429e57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a2fe
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0xa60]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x429ea5
mov ecx, dword [ebp - 0xa74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429e9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a2fe
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0xa48]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x429ee9
mov ecx, dword [ebp - 0xa5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429edf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a2fe
push edx
push ecx
call fcn.00499aee
add esp, 8
lea eax, [ebp - 0x244]
push 0x2e
push eax
call sub.VCRUNTIME140.dll_wcsrchr
add esp, 8
test eax, eax
je 0x42a128
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 0x429f32
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 0x42a027
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 0x42a034
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 0x42a078
mov ecx, dword [ebp - 0xa74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a06e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a118
push edx
push ecx
call fcn.00499aee
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 0x42a0cf
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a0c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a118
push edx
push ecx
call fcn.00499aee
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 0x42a128
mov ecx, dword [ebp - 0xa5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a11e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42a11e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
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 0x42a242
cmp dword [ebp - 0xa84], 0
mov dword [ebp - 0xa88], 0
jle 0x42a23b
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 0x42a202
mov edx, dword [ebp - 0xa7c]
cmp edx, dword [ebp - 0xa78]
je 0x42a1f5
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 0x42a1d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a1d0
sub eax, dword [ebp - 0xa94]
mov ecx, edx
sar eax, 1
push eax
push ebx
call fcn.00404580
add dword [ebp - 0xa7c], 0x18
jmp 0x42a202
push edi
push edx
lea ecx, [ebp - 0xa80]
call fcn.00426b70
add esi, 4
lea eax, [ebp - 0xa94]
cmp esi, eax
jne 0x42a187
mov eax, dword [ebp - 0xa88]
add edi, 4
inc eax
mov dword [ebp - 0xa88], eax
cmp eax, dword [ebp - 0xa84]
jl 0x42a181
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 0x42a30e
mov edi, dword [ebp - 0xa7c]
cmp esi, edi
je 0x42a2c5
lea ebx, [ebx]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x42a2a5
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x42a29b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a2fe
mov eax, edx
push ecx
push eax
call fcn.00499aee
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 0x42a270
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 0x42a304
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42a304
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00499aee
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.00499afc
mov esp, ebp
pop ebp
ret