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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4946c4
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4be4bc]
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 0x441ce1
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x10], ebx
jne 0x441bdc
lea eax, [ebp - 0x28]
push eax
call fcn.00442670
add esp, 4
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 2
test edi, edi
jne 0x441ac3
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 0x441bba
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441ab4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441b89
push edx
push ecx
call fcn.0048c947
add esp, 8
jmp 0x441bba
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 0x441b06
cmp ecx, edx
je 0x441b8f
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x441af5
sub ecx, edx
sar ecx, 1
cmp ecx, 0xffffffff
je 0x441b97
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.00402680
mov edx, dword [ebp - 0x14]
mov ebx, 0xc
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x441bba
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441ab4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x441ab4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
or ecx, 0xffffffff
jmp 0x441b0a
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 0x441c01
push eax
lea ecx, [ebp - 0x88]
call fcn.004016c0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 4
mov ebx, 2
mov dword [ebp - 0xd4], ebx
cmp ecx, eax
je 0x441c1a
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x441c0b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00402680
mov edi, dword [ebp - 0x44]
mov dword [ebp - 4], 3
test bl, 2
je 0x441c79
mov edx, dword [ebp - 0x74]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x441c62
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441c58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441cb8
push edx
push ecx
call fcn.0048c947
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 0x44205b
mov edx, dword [ebp - 0x2c]
and ebx, 0xfffffffe
cmp edx, 8
jb 0x441cc8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441cbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x441cbe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
jmp 0x44205b
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.00402680
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.00402680
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 0x441db5
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441dab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441df9
push edx
push ecx
call fcn.0048c947
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 0x441e09
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441dff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x441dff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
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 0x442099
push eax
push 0x49b864
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.00402680
push 3
xor eax, eax
mov byte [ebp - 4], 6
push 0x4a0eb4
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.00402680
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.00402680
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.004429e0
add esp, 0x14
lea ecx, [ebp - 0x58]
push eax
call fcn.004037e0
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x441f23
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441f19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442031
push edx
push ecx
call fcn.0048c947
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 0x441f84
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441f7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442031
push edx
push ecx
call fcn.0048c947
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 0x441fe1
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x441fd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442031
push edx
push ecx
call fcn.0048c947
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 0x442041
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442037
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x442037
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
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 0x4420b9
cmp edi, 8
jb 0x442099
lea edx, [edi*2 + 2]
mov ecx, dword [ebp - 0x58]
mov eax, ecx
cmp edx, 0x1000
jb 0x44208f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442338
push edx
push ecx
call fcn.0048c947
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.0048cbb4
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.00402790
push dword [ebp - 0x48]
cmp edi, 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x70]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00402410
push 0xd
push str.perftool.dll
lea ecx, [ebp - 0x70]
call fcn.00402410
mov eax, dword [esi]
test eax, eax
je 0x44211e
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 0x442139
cmp dword [ebp - 0x5c], 8
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00402680
mov edx, dword [ebp - 0x5c]
and ebx, 0xffffffef
mov dword [ebp - 0xd4], ebx
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x442180
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442176
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442338
push edx
push ecx
call fcn.0048c947
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.00442760
test al, al
jne 0x4421bd
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x442099
lea edx, [edx*2 + 2]
jmp 0x44206e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x4c47cc], 1
mov eax, dword [esi]
test eax, eax
je 0x4421da
push str.PerfToolInit
push eax
call edi
jmp 0x4421dc
xor eax, eax
mov dword [0x4c47d0], eax
mov eax, dword [esi]
test eax, eax
je 0x4421f1
push str.PerfToolTerm
push eax
call edi
jmp 0x4421f3
xor eax, eax
mov dword [0x4c47d4], eax
mov eax, dword [esi]
test eax, eax
je 0x442208
push str.PerfToolTermForce
push eax
call edi
jmp 0x44220a
xor eax, eax
mov dword [0x4c47d8], eax
mov eax, dword [esi]
test eax, eax
je 0x44221f
push str.PerfLogBegin
push eax
call edi
jmp 0x442221
xor eax, eax
mov dword [0x4c47dc], eax
mov eax, dword [esi]
test eax, eax
je 0x442236
push str.PerfLogEnd
push eax
call edi
jmp 0x442238
xor eax, eax
mov dword [0x4c47e0], eax
mov eax, dword [esi]
test eax, eax
je 0x44224d
push str.PerfLogBegin2
push eax
call edi
jmp 0x44224f
xor eax, eax
mov dword [0x4c47e4], eax
mov eax, dword [esi]
test eax, eax
je 0x442264
push str.PerfLogEnd2
push eax
call edi
jmp 0x442266
xor eax, eax
mov dword [0x4c47e8], eax
mov eax, dword [esi]
test eax, eax
je 0x44227b
push str.AddToStrTable
push eax
call edi
jmp 0x44227d
xor eax, eax
mov dword [0x4c47ec], eax
mov eax, dword [esi]
test eax, eax
je 0x442292
push str.PerfStubBegin
push eax
call edi
jmp 0x442294
xor eax, eax
mov dword [0x4c47f0], eax
mov eax, dword [esi]
test eax, eax
je 0x4422a9
push str.PerfStubEnd
push eax
call edi
jmp 0x4422ab
xor eax, eax
mov dword [0x4c47f4], eax
mov eax, dword [esi]
test eax, eax
je 0x4422c0
push str.PerfToolGetLogFilePath
push eax
call edi
jmp 0x4422c2
xor eax, eax
mov dword [0x4c47f8], eax
mov eax, dword [esi]
test eax, eax
je 0x4422d7
push str.PerfToolGetBeginPerfCount
push eax
call edi
jmp 0x4422d9
xor eax, eax
mov dword [0x4c47fc], eax
mov eax, dword [esi]
test eax, eax
je 0x4422ee
push str.PerfToolSetUIStable
push eax
call edi
jmp 0x4422f0
xor eax, eax
mov dword [0x4c4800], eax
mov eax, dword [0x4c47d0]
test eax, eax
je 0x442300
call eax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x442099
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44208f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44208f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3