Function at 0x453470
Capabilities:
Accept command line arguments
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495f14
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4be4b0]
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 esi, ecx
mov dword [ebp - 0xdc], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xe4], esi
xor ecx, ecx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xe0], eax
mov dword [esi], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 7
mov word [esi + 4], cx
mov edi, 7
mov dword [ebp - 4], ecx
xor eax, eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edi
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str._PerfTool
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x4537a1
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x10], ebx
jne 0x45369c
lea eax, [ebp - 0x28]
push eax
call fcn.00454130
add esp, 4
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 2
test edi, edi
jne 0x453583
mov edx, dword [ebp - 0x14]
lea ebx, [edi + 4]
xor eax, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x45367a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453574
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453649
push edx
push ecx
call fcn.0048c837
add esp, 8
jmp 0x45367a
mov ebx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
cmp ebx, 8
mov dword [ebp - 0xdc], 0xffffffff
lea eax, [edi - 1]
cmovae edx, dword [ebp - 0x28]
or ecx, 0xffffffff
cmp eax, ecx
mov dword [ebp - 0xd8], eax
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea ecx, [edx + ecx*2]
je 0x4535c6
cmp ecx, edx
je 0x45364f
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x4535b5
sub ecx, edx
sar ecx, 1
cmp ecx, 0xffffffff
je 0x453657
xor eax, eax
mov dword [ebp - 0xe8], ecx
cmp edi, ecx
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 0
cmovb ecx, edi
mov dword [ebp - 0x2c], 7
cmp ebx, 8
mov dword [ebp - 0xec], edi
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.004045a0
mov edx, dword [ebp - 0x14]
mov ebx, 0xc
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x45367a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453574
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x453574
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
or ecx, 0xffffffff
jmp 0x4535ca
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ebx
mov ebx, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
or ebx, 1
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
mov dword [ebp - 0xd4], ebx
jmp 0x4536c1
push eax
lea ecx, [ebp - 0x88]
call fcn.00401ff0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 4
mov ebx, 2
mov dword [ebp - 0xd4], ebx
cmp ecx, eax
je 0x4536da
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4536cb
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x58]
call fcn.004045a0
mov edi, dword [ebp - 0x44]
mov dword [ebp - 4], 3
test bl, 2
je 0x453739
mov edx, dword [ebp - 0x74]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x453722
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453718
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453778
push edx
push ecx
call fcn.0048c837
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov dword [ebp - 4], 1
test bl, 1
je 0x453b1b
mov edx, dword [ebp - 0x2c]
and ebx, 0xfffffffe
cmp edx, 8
jb 0x453788
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45377e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45377e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c837
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
jmp 0x453b1b
push 6
xor eax, eax
mov dword [ebp - 0x18], 0
push str.switch
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004045a0
push 0x2d
xor eax, eax
mov byte [ebp - 4], 5
push str.SOFTWAREKingsoftOffice6.0pluginsperftool
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004045a0
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0xdc]
push edx
lea edx, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xdc], 4
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push 0
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, dword [ebp - 0xd8]
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
test eax, eax
cmovne edi, ecx
cmp edx, 8
jb 0x453875
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45386b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4538b9
push edx
push ecx
call fcn.0048c837
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4538c9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4538bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4538bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c837
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test edi, edi
je 0x453b59
push eax
push 0x49b7f0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.004045a0
push 3
xor eax, eax
mov byte [ebp - 4], 6
push 0x4a204c
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.004045a0
push 0x2d
xor eax, eax
mov byte [ebp - 4], 7
push str.SOFTWAREKingsoftOffice6.0pluginsperftool
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.004045a0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xd0]
push 0x80000001
push eax
call fcn.004544a0
add esp, 0x14
lea ecx, [ebp - 0x58]
push eax
call fcn.00402430
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x4539e3
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4539d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453af1
push edx
push ecx
call fcn.0048c837
add esp, 8
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x453a44
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453a3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453af1
push edx
push ecx
call fcn.0048c837
add esp, 8
mov edx, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x453aa1
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453a97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453af1
push edx
push ecx
call fcn.0048c837
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x453b01
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453af7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x453af7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c837
add esp, 8
mov edi, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x453b79
cmp edi, 8
jb 0x453b59
lea edx, [edi*2 + 2]
mov ecx, dword [ebp - 0x58]
mov eax, ecx
cmp edx, 0x1000
jb 0x453b4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453df8
push edx
push ecx
call fcn.0048c837
add esp, 8
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.0048c845
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
mov byte [ebp - 4], 9
add eax, 0xd
mov word [ebp - 0x70], cx
or ebx, 0x10
mov dword [ebp - 0x60], 0
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0xd4], ebx
call fcn.00408040
push dword [ebp - 0x48]
cmp edi, 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x70]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00401cf0
push 0xd
push str.perftool.dll
lea ecx, [ebp - 0x70]
call fcn.00401cf0
mov eax, dword [esi]
test eax, eax
je 0x453bde
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], 0
lea eax, [ebp - 0x70]
lea ecx, [esi + 4]
cmp ecx, eax
je 0x453bf9
cmp dword [ebp - 0x5c], 8
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.004045a0
mov edx, dword [ebp - 0x5c]
and ebx, 0xffffffef
mov dword [ebp - 0xd4], ebx
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x453c40
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453c36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453df8
push edx
push ecx
call fcn.0048c837
add esp, 8
push dword [ebp - 0xe0]
xor eax, eax
mov dword [ebp - 0x60], 0
mov ecx, esi
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00454220
test al, al
jne 0x453c7d
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x453b59
lea edx, [edx*2 + 2]
jmp 0x453b2e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x4c5a28], 1
mov eax, dword [esi]
test eax, eax
je 0x453c9a
push str.PerfToolInit
push eax
call edi
jmp 0x453c9c
xor eax, eax
mov dword [0x4c5a2c], eax
mov eax, dword [esi]
test eax, eax
je 0x453cb1
push str.PerfToolTerm
push eax
call edi
jmp 0x453cb3
xor eax, eax
mov dword [0x4c5a30], eax
mov eax, dword [esi]
test eax, eax
je 0x453cc8
push str.PerfToolTermForce
push eax
call edi
jmp 0x453cca
xor eax, eax
mov dword [0x4c5a34], eax
mov eax, dword [esi]
test eax, eax
je 0x453cdf
push str.PerfLogBegin
push eax
call edi
jmp 0x453ce1
xor eax, eax
mov dword [0x4c5a38], eax
mov eax, dword [esi]
test eax, eax
je 0x453cf6
push str.PerfLogEnd
push eax
call edi
jmp 0x453cf8
xor eax, eax
mov dword [0x4c5a3c], eax
mov eax, dword [esi]
test eax, eax
je 0x453d0d
push str.PerfLogBegin2
push eax
call edi
jmp 0x453d0f
xor eax, eax
mov dword [0x4c5a40], eax
mov eax, dword [esi]
test eax, eax
je 0x453d24
push str.PerfLogEnd2
push eax
call edi
jmp 0x453d26
xor eax, eax
mov dword [0x4c5a44], eax
mov eax, dword [esi]
test eax, eax
je 0x453d3b
push str.AddToStrTable
push eax
call edi
jmp 0x453d3d
xor eax, eax
mov dword [0x4c5a48], eax
mov eax, dword [esi]
test eax, eax
je 0x453d52
push str.PerfStubBegin
push eax
call edi
jmp 0x453d54
xor eax, eax
mov dword [0x4c5a4c], eax
mov eax, dword [esi]
test eax, eax
je 0x453d69
push str.PerfStubEnd
push eax
call edi
jmp 0x453d6b
xor eax, eax
mov dword [0x4c5a50], eax
mov eax, dword [esi]
test eax, eax
je 0x453d80
push str.PerfToolGetLogFilePath
push eax
call edi
jmp 0x453d82
xor eax, eax
mov dword [0x4c5a54], eax
mov eax, dword [esi]
test eax, eax
je 0x453d97
push str.PerfToolGetBeginPerfCount
push eax
call edi
jmp 0x453d99
xor eax, eax
mov dword [0x4c5a58], eax
mov eax, dword [esi]
test eax, eax
je 0x453dae
push str.PerfToolSetUIStable
push eax
call edi
jmp 0x453db0
xor eax, eax
mov dword [0x4c5a5c], eax
mov eax, dword [0x4c5a2c]
test eax, eax
je 0x453dc0
call eax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x453b59
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453b4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x453b4f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3