Function at 0x429af0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49eedc
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.0045baa0
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 0x429bf5
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 0x429c08
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 0x429c43
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429c39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a31e
push edx
push ecx
call fcn.0049927f
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 0x429cbc
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 0x429ccf
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 0x429d0a
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429d00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a31e
push edx
push ecx
call fcn.0049927f
add esp, 8
call fcn.0045bd00
test edx, edx
jg 0x429d38
jl 0x429d19
test eax, eax
jae 0x429d38
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 0x429d45
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 0x429d87
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 0x429e33
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 0x429e46
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 0x429e81
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429e77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a31e
push edx
push ecx
call fcn.0049927f
add esp, 8
mov edx, dword [ebp - 0xa60]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x429ec5
mov ecx, dword [ebp - 0xa74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429ebb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a31e
push edx
push ecx
call fcn.0049927f
add esp, 8
mov edx, dword [ebp - 0xa48]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x429f09
mov ecx, dword [ebp - 0xa5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429eff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a31e
push edx
push ecx
call fcn.0049927f
add esp, 8
lea eax, [ebp - 0x244]
push 0x2e
push eax
call sub.VCRUNTIME140.dll_wcsrchr
add esp, 8
test eax, eax
je 0x42a148
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 [0x4d3884]
add esp, 0xc
cmp dword [esi + 0x14], 8
lea eax, [ecx + 1]
mov dword [0x4d3884], eax
jb 0x429f52
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.0041d450
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 0x42a047
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 0x42a054
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 0x42a098
mov ecx, dword [ebp - 0xa74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a08e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a138
push edx
push ecx
call fcn.0049927f
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 0x42a0ef
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a0e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a138
push edx
push ecx
call fcn.0049927f
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 0x42a148
mov ecx, dword [ebp - 0xa5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a13e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42a13e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049927f
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 0x42a262
cmp dword [ebp - 0xa84], 0
mov dword [ebp - 0xa88], 0
jle 0x42a25b
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 0x42a222
mov edx, dword [ebp - 0xa7c]
cmp edx, dword [ebp - 0xa78]
je 0x42a215
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 0x42a1f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a1f0
sub eax, dword [ebp - 0xa94]
mov ecx, edx
sar eax, 1
push eax
push ebx
call fcn.00404580
add dword [ebp - 0xa7c], 0x18
jmp 0x42a222
push edi
push edx
lea ecx, [ebp - 0xa80]
call fcn.00426b90
add esi, 4
lea eax, [ebp - 0xa94]
cmp esi, eax
jne 0x42a1a7
mov eax, dword [ebp - 0xa88]
add edi, 4
inc eax
mov dword [ebp - 0xa88], eax
cmp eax, dword [ebp - 0xa84]
jl 0x42a1a1
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.00416040
mov esi, dword [ebp - 0xa80]
add esp, 8
test esi, esi
je 0x42a32e
mov edi, dword [ebp - 0xa7c]
cmp esi, edi
je 0x42a2e5
lea ebx, [ebx]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x42a2c5
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x42a2bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a31e
mov eax, edx
push ecx
push eax
call fcn.0049927f
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 0x42a290
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 0x42a324
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42a324
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0049927f
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.0049928d
mov esp, ebp
pop ebp
ret