Function at 0x4950f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551647
mov eax, dword fs:[0]
push eax
mov eax, 0x2588
call fcn.0050a280
mov eax, dword [0x5a4ca4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2584], ecx
push 0x3fc
lea eax, [ebp - 0x1d0c]
mov dword [ebp - 0x1d10], 0x2e
push 0
push eax
call fcn.00521d30
mov eax, dword [0x56a7f8]
mov dword [ebp - 0x1910], eax
mov eax, dword [0x56a7fc]
push 0x3f8
mov dword [ebp - 0x190c], eax
lea eax, [ebp - 0x1908]
push 0
push eax
call fcn.00521d30
mov eax, dword [0x56a810]
movups xmm0, xmmword [str....._bin]
push 0x3ec
mov dword [ebp - 0x1500], eax
lea eax, [ebp - 0x14fc]
push 0
push eax
movups xmmword [ebp - 0x1510], xmm0
call fcn.00521d30
movups xmm0, xmmword [str......._bin]
mov ax, word [0x56a82c]
push 0x3e6
mov word [ebp - 0x10f8], ax
lea eax, [ebp - 0x10f6]
movups xmmword [ebp - 0x1110], xmm0
push 0
movq xmm0, qword [0x56a824]
push eax
movq qword [ebp - 0x1100], xmm0
call fcn.00521d30
movups xmm0, xmmword [str.dllAiSuiteSDK]
push 0x3e0
lea eax, [ebp - 0xcf0]
movups xmmword [ebp - 0xd10], xmm0
push 0
movups xmm0, xmmword [0x56a840]
push eax
movups xmmword [ebp - 0xd00], xmm0
call fcn.00521d30
add esp, 0x3c
lea eax, [ebp - 0x410]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor esi, esi
lea edi, [ebp - 0x1d10]
push edi
lea eax, [ebp - 0x2110]
push 0x200
push eax
call fcn.00497c80
push str.cpuidsdk.dll
lea eax, [ebp - 0x2510]
push 0x200
push eax
call fcn.00497c80
push str.cpuz_x32.exe
lea eax, [ebp - 0x510]
push 0x80
push eax
call fcn.00497c80
lea eax, [ebp - 0x2510]
push eax
lea eax, [ebp - 0x2110]
push eax
push str._s_s
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.00497c80
add esp, 0x38
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x2584]
mov dword [ecx + 4], eax
test eax, eax
jne 0x495304
inc esi
add edi, 0x400
cmp esi, 5
jl 0x495223
push str._fan_service__CPUZ_Error___Cant_load_cpuidsdk.dll
sub esp, 0xc
mov dword [ebp - 0x2580], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservicewin32project1.cpp
mov eax, esp
mov dword [ebp - 0x257c], 0x8b
movq xmm0, qword [ebp - 0x2580]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.ASUS_CPUZ::InitDll
call fcn.0047d6b0
push eax
call fcn.00481b00
push str.Error___Cant_load_DLL_file.
call fcn.0040a2b0
add esp, 0x1c
xor eax, eax
jmp 0x495a76
push str._fan_service__CPUZ__InitDll__new
sub esp, 0xc
mov dword [ebp - 0x2580], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservicewin32project1.cpp
mov eax, esp
mov dword [ebp - 0x257c], 0x91
movq xmm0, qword [ebp - 0x2580]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.ASUS_CPUZ::InitDll
call fcn.0047d6b0
push eax
call fcn.00481b00
push 0x108
call fcn.0050971d
add esp, 0x1c
mov dword [ebp - 0x2594], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x495369
mov ecx, eax
call fcn.00445ad0
jmp 0x49536b
xor eax, eax
mov edi, dword [ebp - 0x2584]
push str._fan_service__CPUZ__InitDll__init
sub esp, 0xc
mov dword [ebp - 0x2580], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservicewin32project1.cpp
mov dword [ebp - 0x257c], 0x94
movq xmm0, qword [ebp - 0x2580]
mov dword [edi + 8], eax
mov eax, esp
push 2
mov dword [ebp - 4], 0xffffffff
movq qword [eax], xmm0
mov dword [eax + 8], str.ASUS_CPUZ::InitDll
call fcn.0047d6b0
push eax
call fcn.00481b00
mov ecx, dword [edi + 8]
add esp, 0x18
push dword [edi + 4]
call fcn.00446010
push str._fan_service__CPUZ__InitDll__create
sub esp, 0xc
mov dword [ebp - 0x2580], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservicewin32project1.cpp
mov eax, esp
mov dword [ebp - 0x257c], 0x96
movq xmm0, qword [ebp - 0x2580]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.ASUS_CPUZ::InitDll
call fcn.0047d6b0
push eax
call fcn.00481b00
mov ecx, dword [edi + 8]
add esp, 0x18
call fcn.00445d50
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x910]
push 0
push 0
push 0x200
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x2110]
push eax
push 0
push 0
call esi
push 0
push 0
push 0x200
lea eax, [ebp - 0x710]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x2510]
push eax
push 0
push 0
call esi
push str._fan_service__CPUZ__before_InitDll_
sub esp, 0xc
mov dword [ebp - 0x2580], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservicewin32project1.cpp
mov eax, esp
mov dword [ebp - 0x257c], 0xa1
movq xmm0, qword [ebp - 0x2580]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.ASUS_CPUZ::InitDll
call fcn.0047d6b0
push eax
call fcn.00481b00
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x258c]
add esp, 0x18
push eax
lea eax, [ebp - 0x2590]
push eax
push 0x7ffbffbf
lea eax, [ebp - 0x710]
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.00445fd0
push str._fan_service__CPUZ__after_InitDll_
sub esp, 0xc
mov dword [ebp - 0x2580], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservicewin32project1.cpp
mov ecx, esp
mov dword [ebp - 0x257c], 0xa8
movq xmm0, qword [ebp - 0x2580]
mov esi, eax
mov dword [ebp - 0x2584], esi
push 2
movq qword [ecx], xmm0
mov dword [ecx + 8], str.ASUS_CPUZ::InitDll
call fcn.0047d6b0
push eax
call fcn.00481b00
mov ecx, dword [ebp - 0x2590]
add esp, 0x18
test ecx, ecx
je 0x49572c
lea eax, [ecx - 1]
cmp eax, 7
ja case.0x49551d.3
jmp dword [eax*4 + 0x495ab0]
mov ecx, dword [ebp - 0x258c]
mov eax, ecx
sub eax, 1
je 0x495559
sub eax, 1
lea eax, [ebp - 0x410]
je 0x495544
push ecx
push str.Eval_version_error_0x_X.
jmp 0x49559b
push str.LEvaluation_version_has_expired.
push 0x200
push eax
call fcn.00497c80
add esp, 0xc
jmp 0x4955a9
push str.You_are_running_a_trial_version_of_the_DLL_SDK._In_order_to_make_it_work__please_run_CPU_Z_at_the_same_time.
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.00497c80
add esp, 0xc
jmp 0x4955a9
push dword [ebp - 0x258c]
push str.Driver_error_0x_X.
jmp 0x495595
push str.Virtual_machine_detected.
jmp 0x49555e
push str.SDK_mutex_locked.
jmp 0x49555e
push ecx
push str.Error_code_0x_X
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.00497c80
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x2518], 0
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x2514], 7
mov word [ebp - 0x2528], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4955d0
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2528]
call fcn.00404cd0
mov edx, dword [ebp - 0x2518]
mov dword [ebp - 4], 1
test edx, edx
je 0x4956e5
cmp dword [ebp - 0x2514], 8
lea eax, [ebp - 0x2528]
lea ecx, [ebp - 0x2571]
cmovae eax, dword [ebp - 0x2528]
push ecx
lea ecx, [ebp - 0x2540]
lea eax, [eax + edx*2]
lea edx, [ebp - 0x2528]
cmovae edx, dword [ebp - 0x2528]
push eax
push edx
call fcn.0040a2e0
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x49564b
mov eax, dword [eax]
push eax
push str._fan_service__CPUZ__InitDll_:_fail__Error:__s
sub esp, 0xc
mov dword [ebp - 0x2580], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservicewin32project1.cpp
mov eax, esp
mov dword [ebp - 0x257c], 0xdc
movq xmm0, qword [ebp - 0x2580]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.ASUS_CPUZ::InitDll
call fcn.0047d6b0
push eax
call fcn.00481b00
mov edx, dword [ebp - 0x252c]
add esp, 0x1c
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4956cb
mov ecx, dword [ebp - 0x2540]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4956c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495a91
push edx
push ecx
call fcn.0050974d
add esp, 8
lea eax, [ebp - 0x410]
push eax
push str.Error:__s
call fcn.0040a2b0
mov esi, dword [ebp - 0x2584]
add esp, 8
mov edx, dword [ebp - 0x2514]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x49572c
mov ecx, dword [ebp - 0x2528]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x495722
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495a96
push edx
push ecx
call fcn.0050974d
add esp, 8
test esi, esi
jne 0x4958bc
xor eax, eax
mov dword [ebp - 0x2518], esi
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x2514], 7
mov word [ebp - 0x2528], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x495756
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2528]
call fcn.00404cd0
cmp dword [ebp - 0x2514], 8
lea ecx, [ebp - 0x2528]
mov eax, dword [ebp - 0x2518]
lea edx, [ebp - 0x2571]
cmovae ecx, dword [ebp - 0x2528]
push edx
mov dword [ebp - 4], 3
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x2528]
cmovae ecx, dword [ebp - 0x2528]
push eax
push ecx
lea ecx, [ebp - 0x2540]
call fcn.0040a2e0
cmp dword [ebp - 0x2530], 0
mov byte [ebp - 4], 4
je 0x495820
cmp dword [ebp - 0x252c], 0x10
lea eax, [ebp - 0x2540]
mov dword [ebp - 0x2580], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservicewin32project1.cpp
cmovae eax, dword [ebp - 0x2540]
push eax
push str._fan_service__CPUZ__InitDll_:_fail__error_s
sub esp, 0xc
mov dword [ebp - 0x257c], 0xe6
movq xmm0, qword [ebp - 0x2580]
mov eax, esp
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.ASUS_CPUZ::InitDll
call fcn.0047d6b0
push eax
call fcn.00481b00
add esp, 0x1c
mov edx, dword [ebp - 0x252c]
cmp edx, 0x10
jb 0x49585a
mov ecx, dword [ebp - 0x2540]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x495850
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495a9b
push edx
push ecx
call fcn.0050974d
add esp, 8
mov edx, dword [ebp - 0x2514]
mov dword [ebp - 0x2530], 0
mov dword [ebp - 0x252c], 0xf
mov byte [ebp - 0x2540], 0
cmp edx, 8
jb 0x4958b5
mov ecx, dword [ebp - 0x2528]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4958ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495aa0
push edx
push ecx
call fcn.0050974d
add esp, 8
xor eax, eax
jmp 0x495a76
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x2588]
push eax
mov dword [ebp - 0x2588], 0
call fcn.00445d80
push dword [ebp - 0x2588]
push str._nDLL_version:_0x_08X_n
call fcn.00481d60
add esp, 8
mov dword [ebp - 0x2548], 0
xor eax, eax
mov dword [ebp - 0x2544], 7
lea ecx, [ebp - 0x410]
mov word [ebp - 0x2558], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x495910
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2558]
call fcn.00404cd0
cmp dword [ebp - 0x2544], 8
lea ecx, [ebp - 0x2558]
mov eax, dword [ebp - 0x2548]
lea edx, [ebp - 0x2571]
cmovae ecx, dword [ebp - 0x2558]
push edx
mov dword [ebp - 4], 5
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x2558]
cmovae ecx, dword [ebp - 0x2558]
push eax
push ecx
lea ecx, [ebp - 0x2570]
call fcn.0040a2e0
cmp dword [ebp - 0x2560], 0
mov byte [ebp - 4], 6
je 0x4959e0
cmp dword [ebp - 0x255c], 0x10
lea eax, [ebp - 0x2570]
mov dword [ebp - 0x2580], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservicewin32project1.cpp
cmovae eax, dword [ebp - 0x2570]
push eax
push dword [ebp - 0x2588]
mov dword [ebp - 0x257c], 0xf3
movq xmm0, qword [ebp - 0x2580]
push str._fan_service__CPUZ__InitDll_:_version_x__path_s
sub esp, 0xc
mov eax, esp
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.ASUS_CPUZ::InitDll
call fcn.0047d6b0
push eax
call fcn.00481b00
add esp, 0x20
mov edx, dword [ebp - 0x255c]
cmp edx, 0x10
jb 0x495a1a
mov ecx, dword [ebp - 0x2570]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x495a10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495aa5
push edx
push ecx
call fcn.0050974d
add esp, 8
mov edx, dword [ebp - 0x2544]
mov dword [ebp - 0x2560], 0
mov dword [ebp - 0x255c], 0xf
mov byte [ebp - 0x2570], 0
cmp edx, 8
jb 0x495a71
mov ecx, dword [ebp - 0x2558]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x495a67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495aaa
push edx
push ecx
call fcn.0050974d
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050970c
mov esp, ebp
pop ebp
call fcn.00524f8e
call fcn.00524f8e
call fcn.00524f8e
call fcn.00524f8e
call fcn.00524f8e
call fcn.00524f8e
nop
and al, 0x55
dec ecx
add byte [ebp + edx*2 + 0x49], dh
add byte [edi - 0x7effb6ab], cl
push ebp
dec ecx
add byte [edi - 0x70ffb6ab], cl
push ebp
dec ecx
add byte [edi - 0x77ffb6ab], cl
push ebp
dec ecx
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp