Function at 0x485c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541987
mov eax, dword fs:[0]
push eax
mov eax, 0x2588
call fcn.004facd0
mov eax, dword [0x58fc74]
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.00512450
mov eax, dword [0x557e78]
mov dword [ebp - 0x1910], eax
mov eax, dword [0x557e7c]
push 0x3f8
mov dword [ebp - 0x190c], eax
lea eax, [ebp - 0x1908]
push 0
push eax
call fcn.00512450
mov eax, dword [0x557e90]
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.00512450
movups xmm0, xmmword [str......._bin]
mov ax, word [0x557eac]
push 0x3e6
mov word [ebp - 0x10f8], ax
lea eax, [ebp - 0x10f6]
movups xmmword [ebp - 0x1110], xmm0
push 0
movq xmm0, qword [0x557ea4]
push eax
movq qword [ebp - 0x1100], xmm0
call fcn.00512450
movups xmm0, xmmword [str.dllAiSuiteSDK]
push 0x3e0
lea eax, [ebp - 0xcf0]
movups xmmword [ebp - 0xd10], xmm0
push 0
movups xmm0, xmmword [0x557ec0]
push eax
movups xmmword [ebp - 0xd00], xmm0
call fcn.00512450
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.00488750
push str.cpuidsdk.dll
lea eax, [ebp - 0x2510]
push 0x200
push eax
call fcn.00488750
push str.cpuz_x32.exe
lea eax, [ebp - 0x510]
push 0x80
push eax
call fcn.00488750
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.00488750
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 0x485e24
inc esi
add edi, 0x400
cmp esi, 5
jl 0x485d43
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.0046e790
push eax
call fcn.00472660
push str.Error___Cant_load_DLL_file.
call fcn.00409640
add esp, 0x1c
xor eax, eax
jmp 0x486596
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.0046e790
push eax
call fcn.00472660
push 0x108
call fcn.004fa16d
add esp, 0x1c
mov dword [ebp - 0x2594], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x485e89
mov ecx, eax
call fcn.0043ef20
jmp 0x485e8b
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.0046e790
push eax
call fcn.00472660
mov ecx, dword [edi + 8]
add esp, 0x18
push dword [edi + 4]
call fcn.0043f460
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.0046e790
push eax
call fcn.00472660
mov ecx, dword [edi + 8]
add esp, 0x18
call fcn.0043f1a0
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.0046e790
push eax
call fcn.00472660
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x258c]
add esp, 0x18
push eax
lea eax, [ebp - 0x2590]
push eax
push SysReAllocString
lea eax, [ebp - 0x710]
push eax
lea eax, [ebp - 0x910]
push eax
call fcn.0043f420
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.0046e790
push eax
call fcn.00472660
mov ecx, dword [ebp - 0x2590]
add esp, 0x18
test ecx, ecx
je 0x48624c
lea eax, [ecx - 1]
cmp eax, 7
ja case.0x48603d.3
jmp dword [eax*4 + 0x4865d0]
mov ecx, dword [ebp - 0x258c]
mov eax, ecx
sub eax, 1
je 0x486079
sub eax, 1
lea eax, [ebp - 0x410]
je 0x486064
push ecx
push str.Eval_version_error_0x_X.
jmp 0x4860bb
push str.LEvaluation_version_has_expired.
push 0x200
push eax
call fcn.00488750
add esp, 0xc
jmp 0x4860c9
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.00488750
add esp, 0xc
jmp 0x4860c9
push dword [ebp - 0x258c]
push str.Driver_error_0x_X.
jmp 0x4860b5
push str.Virtual_machine_detected.
jmp 0x48607e
push str.SDK_mutex_locked.
jmp 0x48607e
push ecx
push str.Error_code_0x_X
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.00488750
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 0x4860f0
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2528]
call fcn.004040c0
mov edx, dword [ebp - 0x2518]
mov dword [ebp - 4], 1
test edx, edx
je 0x486205
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.00409670
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x48616b
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.0046e790
push eax
call fcn.00472660
mov edx, dword [ebp - 0x252c]
add esp, 0x1c
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4861eb
mov ecx, dword [ebp - 0x2540]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4861e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4865b1
push edx
push ecx
call fcn.004fa19d
add esp, 8
lea eax, [ebp - 0x410]
push eax
push str.Error:__s
call fcn.00409640
mov esi, dword [ebp - 0x2584]
add esp, 8
mov edx, dword [ebp - 0x2514]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x48624c
mov ecx, dword [ebp - 0x2528]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486242
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4865b6
push edx
push ecx
call fcn.004fa19d
add esp, 8
test esi, esi
jne 0x4863dc
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 0x486276
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2528]
call fcn.004040c0
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.00409670
cmp dword [ebp - 0x2530], 0
mov byte [ebp - 4], 4
je 0x486340
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.0046e790
push eax
call fcn.00472660
add esp, 0x1c
mov edx, dword [ebp - 0x252c]
cmp edx, 0x10
jb 0x48637a
mov ecx, dword [ebp - 0x2540]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x486370
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4865bb
push edx
push ecx
call fcn.004fa19d
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 0x4863d5
mov ecx, dword [ebp - 0x2528]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4863cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4865c0
push edx
push ecx
call fcn.004fa19d
add esp, 8
xor eax, eax
jmp 0x486596
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x2588]
push eax
mov dword [ebp - 0x2588], 0
call fcn.0043f1d0
push dword [ebp - 0x2588]
push str._nDLL_version:_0x_08X_n
call fcn.004728c0
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 0x486430
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2558]
call fcn.004040c0
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.00409670
cmp dword [ebp - 0x2560], 0
mov byte [ebp - 4], 6
je 0x486500
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.0046e790
push eax
call fcn.00472660
add esp, 0x20
mov edx, dword [ebp - 0x255c]
cmp edx, 0x10
jb 0x48653a
mov ecx, dword [ebp - 0x2570]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x486530
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4865c5
push edx
push ecx
call fcn.004fa19d
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 0x486591
mov ecx, dword [ebp - 0x2558]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x486587
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4865ca
push edx
push ecx
call fcn.004fa19d
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.004fa15c
mov esp, ebp
pop ebp
ret
call fcn.005159b3
call fcn.005159b3
call fcn.005159b3
call fcn.005159b3
call fcn.005159b3
call fcn.005159b3
nop
inc esp
pushal
dec eax
add byte [eax + 0x60af0048], dl
dec eax
add byte [ecx - 0x50ffb7a0], ah
pushal
dec eax
add byte [edi - 0x50ffb7a0], ch
pushal
dec eax
add byte [eax + 0x55004860], ch
push ebp