Function at 0x429960
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d01c
mov eax, dword fs:[0]
push eax
sub esp, 0xa90
mov eax, dword [0x4cc498]
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.0045b020
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 0x429a65
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 0x429a78
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 0x429ab3
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429aa9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a18e
push edx
push ecx
call fcn.0049744e
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 0x429b2c
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 0x429b3f
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 0x429b7a
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429b70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a18e
push edx
push ecx
call fcn.0049744e
add esp, 8
call fcn.0045b280
test edx, edx
jg 0x429ba8
jl 0x429b89
test eax, eax
jae 0x429ba8
neg eax
adc edx, 0
neg edx
push edx
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.00407f60
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x429bb5
push edx
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.00407f60
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 0x429bf7
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 0x429ca3
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 0x429cb6
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 0x429cf1
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429ce7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a18e
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0xa60]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x429d35
mov ecx, dword [ebp - 0xa74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429d2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a18e
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0xa48]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x429d79
mov ecx, dword [ebp - 0xa5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429d6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a18e
push edx
push ecx
call fcn.0049744e
add esp, 8
lea eax, [ebp - 0x244]
push 0x2e
push eax
call sub.VCRUNTIME140.dll_wcsrchr
add esp, 8
test eax, eax
je 0x429fb8
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 [0x4d1844]
add esp, 0xc
cmp dword [esi + 0x14], 8
lea eax, [ecx + 1]
mov dword [0x4d1844], eax
jb 0x429dc2
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.0041d2c0
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 0x4a780c
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 0x429eb7
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 0x429ec4
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 0x429f08
mov ecx, dword [ebp - 0xa74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429efe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429fa8
push edx
push ecx
call fcn.0049744e
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 0x429f5f
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429f55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429fa8
push edx
push ecx
call fcn.0049744e
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 0x429fb8
mov ecx, dword [ebp - 0xa5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429fae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429fae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
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 0x42a0d2
cmp dword [ebp - 0xa84], 0
mov dword [ebp - 0xa88], 0
jle 0x42a0cb
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 0x42a092
mov edx, dword [ebp - 0xa7c]
cmp edx, dword [ebp - 0xa78]
je 0x42a085
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 0x42a060
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a060
sub eax, dword [ebp - 0xa94]
mov ecx, edx
sar eax, 1
push eax
push ebx
call fcn.00404580
add dword [ebp - 0xa7c], 0x18
jmp 0x42a092
push edi
push edx
lea ecx, [ebp - 0xa80]
call fcn.00426a00
add esi, 4
lea eax, [ebp - 0xa94]
cmp esi, eax
jne 0x42a017
mov eax, dword [ebp - 0xa88]
add edi, 4
inc eax
mov dword [ebp - 0xa88], eax
cmp eax, dword [ebp - 0xa84]
jl 0x42a011
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.004160d0
mov esi, dword [ebp - 0xa80]
add esp, 8
test esi, esi
je 0x42a19e
mov edi, dword [ebp - 0xa7c]
cmp esi, edi
je 0x42a155
lea ebx, [ebx]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x42a135
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x42a12b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a18e
mov eax, edx
push ecx
push eax
call fcn.0049744e
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 0x42a100
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 0x42a194
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42a194
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0049744e
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.0049745c
mov esp, ebp
pop ebp
ret