Function at 0x4377f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5414ce
mov eax, dword fs:[0]
push eax
sub esp, 0xa7c
mov eax, dword [0x58d038]
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 eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push 0x208
lea edx, [ebp - 0x218]
push ebx
push edx
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa88], ecx
mov dword [ebp - 0xa80], ebx
call fcn.00480280
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0043d070
add esp, 0x14
mov dword [ebp - 0xa7c], ebx
mov dword [ebp - 0xa78], ebx
mov dword [ebp - 0xa74], ebx
xor ecx, ecx
push 9
mov word [ebp - 0xa34], cx
mov edi, 7
push str._PerfTool
lea ecx, [ebp - 0xa34]
mov dword [ebp - 4], ebx
mov dword [ebp - 0xa20], edi
mov dword [ebp - 0xa24], ebx
call fcn.00401b70
lea edx, [ebp - 0xa34]
push edx
lea ecx, [ebp - 0xa7c]
mov byte [ebp - 4], 1
call fcn.00406860
mov esi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0xa20], esi
jb 0x4378d4
mov eax, dword [ebp - 0xa34]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
push 0x18
mov word [ebp - 0xa34], cx
push str._PFIgnoreDirtyFilePrompt
lea ecx, [ebp - 0xa34]
mov dword [ebp - 0xa20], edi
mov dword [ebp - 0xa24], ebx
call fcn.00401b70
lea edx, [ebp - 0xa34]
push edx
lea ecx, [ebp - 0xa7c]
mov byte [ebp - 4], 2
call fcn.00406860
mov byte [ebp - 4], bl
cmp dword [ebp - 0xa20], esi
jb 0x43792b
mov eax, dword [ebp - 0xa34]
push eax
call fcn.00480102
add esp, 4
call fcn.0043d090
push edx
push eax
lea ecx, [ebp - 0xa6c]
push ecx
call fcn.00408e70
add esp, 0xc
mov dword [ebp - 0xa80], eax
push 0x10
xor edx, edx
push str._PerfBeginCount
lea ecx, [ebp - 0xa34]
mov byte [ebp - 4], 3
mov dword [ebp - 0xa20], edi
mov dword [ebp - 0xa24], ebx
mov word [ebp - 0xa34], dx
call fcn.00401b70
mov eax, dword [ebp - 0xa80]
push eax
lea ecx, [ebp - 0xa34]
push ecx
lea edx, [ebp - 0xa50]
push edx
mov byte [ebp - 4], 4
call fcn.00404e90
add esp, 0xc
push eax
lea ecx, [ebp - 0xa7c]
mov byte [ebp - 4], 5
call fcn.00405f90
cmp dword [ebp - 0xa3c], esi
jb 0x4379ba
mov eax, dword [ebp - 0xa50]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa3c], edi
mov dword [ebp - 0xa40], ebx
mov word [ebp - 0xa50], cx
cmp dword [ebp - 0xa20], esi
jb 0x4379e6
mov edx, dword [ebp - 0xa34]
push edx
call fcn.00480102
add esp, 4
xor eax, eax
mov dword [ebp - 0xa20], edi
mov dword [ebp - 0xa24], ebx
mov word [ebp - 0xa34], ax
mov byte [ebp - 4], bl
cmp dword [ebp - 0xa58], esi
jb 0x437a15
mov ecx, dword [ebp - 0xa6c]
push ecx
call fcn.00480102
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str._PerfVtune
push eax
call fcn.0048385f
add esp, 8
test eax, eax
je 0x437a84
push 0xa
xor edx, edx
push str._PerfVtune
lea ecx, [ebp - 0xa34]
mov dword [ebp - 0xa20], edi
mov dword [ebp - 0xa24], ebx
mov word [ebp - 0xa34], dx
call fcn.00401b70
lea eax, [ebp - 0xa34]
push eax
lea ecx, [ebp - 0xa7c]
mov byte [ebp - 4], 6
call fcn.00406860
mov byte [ebp - 4], bl
cmp dword [ebp - 0xa20], esi
jb 0x437a84
mov ecx, dword [ebp - 0xa34]
push ecx
call fcn.00480102
add esp, 4
lea edx, [ebp - 0x218]
push 0x2e
push edx
call fcn.0048358c
add esp, 8
cmp eax, ebx
je 0x437bd3
push 0x800
lea edx, [ebp - 0xa18]
xor ecx, ecx
push ebx
push edx
mov word [eax], cx
call fcn.00480280
mov eax, dword [0x593654]
mov ecx, eax
inc eax
mov dword [0x593654], eax
mov eax, dword [ebp - 0xa88]
add esp, 0xc
cmp dword [eax + 0x14], esi
jb 0x437ad1
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
push str._ws__ws__lu.kpl
lea ecx, [ebp - 0xa18]
push 0x400
push ecx
call fcn.00482a49
add esp, 0x18
push 0xe
xor edx, edx
push str.__PerfLogFile
lea ecx, [ebp - 0xa34]
mov dword [ebp - 0xa20], edi
mov dword [ebp - 0xa24], ebx
mov word [ebp - 0xa34], dx
call fcn.00401b70
lea eax, [ebp - 0xa18]
push eax
lea ecx, [ebp - 0xa34]
push ecx
lea edx, [ebp - 0xa6c]
push edx
mov byte [ebp - 4], 7
call fcn.00404e30
push 0x54e870
push eax
lea eax, [ebp - 0xa50]
push eax
mov byte [ebp - 4], 8
call fcn.00404e30
add esp, 0x18
push eax
lea ecx, [ebp - 0xa7c]
mov byte [ebp - 4], 9
call fcn.00405f90
cmp dword [ebp - 0xa3c], esi
jb 0x437b78
mov ecx, dword [ebp - 0xa50]
push ecx
call fcn.00480102
add esp, 4
xor edx, edx
mov dword [ebp - 0xa3c], edi
mov dword [ebp - 0xa40], ebx
mov word [ebp - 0xa50], dx
cmp dword [ebp - 0xa58], esi
jb 0x437ba4
mov eax, dword [ebp - 0xa6c]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa58], edi
mov dword [ebp - 0xa5c], ebx
mov word [ebp - 0xa6c], cx
mov byte [ebp - 4], bl
cmp dword [ebp - 0xa20], esi
jb 0x437bd3
mov edx, dword [ebp - 0xa34]
push edx
call fcn.00480102
add esp, 4
mov esi, dword [ebp - 0xa84]
lea eax, [ebp - 0xa7c]
push eax
push esi
call fcn.0041bb30
mov eax, dword [ebp - 0xa7c]
add esp, 8
cmp eax, ebx
je 0x437c1d
mov ecx, dword [ebp - 0xa84]
push ecx
mov ecx, dword [ebp - 0xa78]
lea edx, [ebp - 0xa70]
push edx
push ecx
push eax
call fcn.004025e0
mov edx, dword [ebp - 0xa7c]
push edx
call fcn.00480102
add esp, 0x14
mov eax, esi
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.00480264
mov esp, ebp
pop ebp
ret