Function at 0x427d40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d6f3
mov eax, dword fs:[0]
push eax
sub esp, 0xaa0
mov eax, dword [0x4b74b0]
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 - 0xaac], ebx
mov dword [ebp - 0xaa4], ebx
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x244]
push 0x104
push eax
call fcn.0044f240
add esp, 0x14
mov dword [ebp - 0xa98], 0
mov dword [ebp - 0xa94], 0
mov dword [ebp - 0xa90], 0
push 9
xor eax, eax
mov dword [ebp - 4], 0
push str._PerfTool
lea ecx, [ebp - 0xa5c]
mov dword [ebp - 0xa4c], 0
mov dword [ebp - 0xa48], 7
mov word [ebp - 0xa5c], ax
call fcn.00404550
mov ecx, dword [ebp - 0xa94]
mov byte [ebp - 4], 1
cmp ecx, dword [ebp - 0xa90]
je 0x427e60
mov eax, dword [ebp - 0xa5c]
mov edx, 7
mov dword [ecx + 0x10], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0xa58]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xa54]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xa50]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xa4c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0xa48]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [ebp - 0xa94], 0x18
mov word [ebp - 0xa5c], ax
jmp 0x427e79
lea eax, [ebp - 0xa5c]
push eax
push ecx
lea ecx, [ebp - 0xa98]
call fcn.00401700
mov edx, dword [ebp - 0xa48]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x427eb7
mov ecx, dword [ebp - 0xa5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427ead
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285fe
push edx
push ecx
call fcn.00487869
add esp, 8
push 0x18
xor eax, eax
mov dword [ebp - 0xa4c], 0
push str._PFIgnoreDirtyFilePrompt
lea ecx, [ebp - 0xa5c]
mov dword [ebp - 0xa48], 7
mov word [ebp - 0xa5c], ax
call fcn.00404550
mov ecx, dword [ebp - 0xa94]
mov byte [ebp - 4], 2
cmp ecx, dword [ebp - 0xa90]
je 0x427f4b
mov eax, dword [ebp - 0xa5c]
mov edx, 7
mov dword [ecx + 0x10], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0xa58]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xa54]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xa50]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xa4c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0xa48]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [ebp - 0xa94], 0x18
mov word [ebp - 0xa5c], ax
jmp 0x427f64
lea eax, [ebp - 0xa5c]
push eax
push ecx
lea ecx, [ebp - 0xa98]
call fcn.00401700
mov edx, dword [ebp - 0xa48]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x427fa2
mov ecx, dword [ebp - 0xa5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427f98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285fe
push edx
push ecx
call fcn.00487869
add esp, 8
call fcn.0044f490
test edx, edx
jg 0x427fd0
jl 0x427fb1
test eax, eax
jae 0x427fd0
neg eax
adc edx, 0
neg edx
push edx
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.00408380
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x427fdd
push edx
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.00408380
mov ecx, eax
xor eax, eax
mov dword [ebp - 0xa64], 0
mov word [ebp - 0xa74], ax
add esp, 0xc
lea eax, [ebp - 0x12]
mov dword [ebp - 0xa60], 7
cmp ecx, eax
je 0x428015
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0xa74]
call fcn.00404550
push 0x10
xor eax, eax
mov byte [ebp - 4], 3
push str._PerfBeginCount
lea ecx, [ebp - 0xa5c]
mov dword [ebp - 0xa4c], 0
mov dword [ebp - 0xa48], 7
mov word [ebp - 0xa5c], ax
call fcn.00404550
lea eax, [ebp - 0xa74]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xa5c]
push eax
lea eax, [ebp - 0xa8c]
push eax
call fcn.00404b60
add esp, 0xc
mov edx, eax
mov ecx, dword [ebp - 0xa94]
mov byte [ebp - 4], 5
cmp ecx, dword [ebp - 0xa90]
je 0x4280c9
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 - 0xa94], 0x18
jmp 0x4280d6
push edx
push ecx
lea ecx, [ebp - 0xa98]
call fcn.00401700
mov edx, dword [ebp - 0xa78]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x42811a
mov ecx, dword [ebp - 0xa8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428110
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281c9
push edx
push ecx
call fcn.00487869
add esp, 8
mov edx, dword [ebp - 0xa48]
xor eax, eax
mov dword [ebp - 0xa7c], 0
mov dword [ebp - 0xa78], 7
mov word [ebp - 0xa8c], ax
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x428177
mov ecx, dword [ebp - 0xa5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42816d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4281c9
push edx
push ecx
call fcn.00487869
add esp, 8
mov edx, dword [ebp - 0xa60]
xor eax, eax
mov dword [ebp - 0xa4c], 0
mov dword [ebp - 0xa48], 7
mov word [ebp - 0xa5c], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x4281d9
mov ecx, dword [ebp - 0xa74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4281cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4281cf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00487869
add esp, 8
lea eax, [ebp - 0x244]
push 0x2e
push eax
call sub.VCRUNTIME140.dll_wcsrchr
add esp, 8
test eax, eax
je 0x42841a
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 [0x4bc628]
add esp, 0xc
cmp dword [esi + 0x14], 8
lea eax, [ecx + 1]
mov dword [0x4bc628], eax
jb 0x428222
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.0041bdc0
add esp, 0x18
mov dword [ebp - 0xa64], 0
xor eax, eax
mov dword [ebp - 0xa60], 7
lea ecx, [ebp - 0xa74]
mov word [ebp - 0xa74], ax
push 0xe
push str.__PerfLogFile
call fcn.00404550
lea eax, [ebp - 0xa44]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xa74]
push eax
lea eax, [ebp - 0xa5c]
push eax
call fcn.00401680
push 0x49676c
push eax
lea eax, [ebp - 0xa8c]
mov byte [ebp - 4], 7
push eax
call fcn.00401680
add esp, 0x18
mov ecx, eax
mov edx, dword [ebp - 0xa94]
mov byte [ebp - 4], 8
cmp edx, dword [ebp - 0xa90]
je 0x42830a
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x14], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
add dword [ebp - 0xa94], 0x18
jmp 0x428317
push ecx
push edx
lea ecx, [ebp - 0xa98]
call fcn.00401700
mov edx, dword [ebp - 0xa78]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x42835b
mov ecx, dword [ebp - 0xa8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428351
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42840a
push edx
push ecx
call fcn.00487869
add esp, 8
mov edx, dword [ebp - 0xa48]
xor eax, eax
mov dword [ebp - 0xa7c], 0
mov dword [ebp - 0xa78], 7
mov word [ebp - 0xa8c], ax
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x4283b8
mov ecx, dword [ebp - 0xa5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4283ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42840a
push edx
push ecx
call fcn.00487869
add esp, 8
mov edx, dword [ebp - 0xa60]
xor eax, eax
mov dword [ebp - 0xa4c], 0
mov dword [ebp - 0xa48], 7
mov word [ebp - 0xa5c], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x42841a
mov ecx, dword [ebp - 0xa74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428410
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428410
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00487869
add esp, 8
lea eax, [ebp - 0xa9c]
mov dword [ebp - 0xa9c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0xaa4], eax
mov dword [ebp - 0xa50], str._PerfStackPrint
mov dword [ebp - 0xa4c], str._PerfSymbolPath
mov dword [ebp - 0xa48], str._PerfVtune
test eax, eax
je 0x428542
cmp dword [ebp - 0xa9c], 0
mov dword [ebp - 0xaa0], 0
jle 0x42853b
mov edi, eax
lea ecx, [ecx]
lea esi, [ebp - 0xa50]
push dword [esi]
push dword [edi]
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x428502
mov edx, dword [ebp - 0xa94]
cmp edx, dword [ebp - 0xa90]
je 0x4284f5
mov ebx, dword [edi]
xor eax, eax
mov word [edx], ax
mov eax, ebx
mov dword [edx + 0x10], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
lea ecx, [eax + 2]
mov dword [ebp - 0xaa8], ecx
jmp 0x4284d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4284d0
sub eax, dword [ebp - 0xaa8]
mov ecx, edx
sar eax, 1
push eax
push ebx
call fcn.00404550
add dword [ebp - 0xa94], 0x18
jmp 0x428502
push edi
push edx
lea ecx, [ebp - 0xa98]
call fcn.00425120
add esi, 4
lea eax, [ebp - 0xa44]
cmp esi, eax
jne 0x428486
mov eax, dword [ebp - 0xaa0]
add edi, 4
inc eax
mov dword [ebp - 0xaa0], eax
cmp eax, dword [ebp - 0xa9c]
jl 0x428480
mov eax, dword [ebp - 0xaa4]
mov ebx, dword [ebp - 0xaac]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0xa98]
push eax
push ebx
call fcn.00416270
mov esi, dword [ebp - 0xa98]
add esp, 8
test esi, esi
je 0x42860e
mov edi, dword [ebp - 0xa94]
cmp esi, edi
je 0x4285c5
lea ebx, [ebx]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4285a5
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x42859b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4285fe
mov eax, edx
push ecx
push eax
call fcn.00487869
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 0x428570
mov esi, dword [ebp - 0xa98]
mov ecx, dword [ebp - 0xa90]
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 0x428604
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428604
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00487869
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.00487877
mov esp, ebp
pop ebp
ret