Function at 0x484ef0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5406d7
mov eax, dword fs:[0]
push eax
mov eax, 0x2588
call fcn.004f9ab0
mov eax, dword [0x58ec74]
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.00511230
mov eax, dword [0x556cfc]
mov dword [ebp - 0x1910], eax
mov eax, dword [0x556d00]
push 0x3f8
mov dword [ebp - 0x190c], eax
lea eax, [ebp - 0x1908]
push 0
push eax
call fcn.00511230
mov eax, dword [0x556d14]
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.00511230
movups xmm0, xmmword [str......._bin]
mov ax, word [0x556d30]
push 0x3e6
mov word [ebp - 0x10f8], ax
lea eax, [ebp - 0x10f6]
movups xmmword [ebp - 0x1110], xmm0
push 0
movq xmm0, qword [0x556d28]
push eax
movq qword [ebp - 0x1100], xmm0
call fcn.00511230
movups xmm0, xmmword [str.dllAiSuiteSDK]
push 0x3e0
lea eax, [ebp - 0xcf0]
movups xmmword [ebp - 0xd10], xmm0
push 0
movups xmm0, xmmword [0x556d44]
push eax
movups xmmword [ebp - 0xd00], xmm0
call fcn.00511230
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.00487520
push str.cpuidsdk.dll
lea eax, [ebp - 0x2510]
push 0x200
push eax
call fcn.00487520
push str.cpuz_x32.exe
lea eax, [ebp - 0x510]
push 0x80
push eax
call fcn.00487520
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.00487520
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 0x485104
inc esi
add edi, 0x400
cmp esi, 5
jl 0x485023
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.0046dbc0
push eax
call fcn.00471a00
push str.Error___Cant_load_DLL_file.
call fcn.00409420
add esp, 0x1c
xor eax, eax
jmp 0x485876
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.0046dbc0
push eax
call fcn.00471a00
push 0xc4
call fcn.004f8f4d
add esp, 0x1c
mov dword [ebp - 0x2594], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x485169
mov ecx, eax
call fcn.0043ec70
jmp 0x48516b
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.0046dbc0
push eax
call fcn.00471a00
mov ecx, dword [edi + 8]
add esp, 0x18
push dword [edi + 4]
call fcn.0043f040
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.0046dbc0
push eax
call fcn.00471a00
mov ecx, dword [edi + 8]
add esp, 0x18
call fcn.0043ee40
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.0046dbc0
push eax
call fcn.00471a00
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.0043f000
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.0046dbc0
push eax
call fcn.00471a00
mov ecx, dword [ebp - 0x2590]
add esp, 0x18
test ecx, ecx
je 0x48552c
lea eax, [ecx - 1]
cmp eax, 7
ja case.0x48531d.3
jmp dword [eax*4 + 0x4858b0]
mov ecx, dword [ebp - 0x258c]
mov eax, ecx
sub eax, 1
je 0x485359
sub eax, 1
lea eax, [ebp - 0x410]
je 0x485344
push ecx
push str.Eval_version_error_0x_X.
jmp 0x48539b
push str.LEvaluation_version_has_expired.
push 0x200
push eax
call fcn.00487520
add esp, 0xc
jmp 0x4853a9
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.00487520
add esp, 0xc
jmp 0x4853a9
push dword [ebp - 0x258c]
push str.Driver_error_0x_X.
jmp 0x485395
push str.Virtual_machine_detected.
jmp 0x48535e
push str.SDK_mutex_locked.
jmp 0x48535e
push ecx
push str.Error_code_0x_X
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.00487520
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 0x4853d0
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 0x4854e5
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.00409450
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x48544b
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.0046dbc0
push eax
call fcn.00471a00
mov edx, dword [ebp - 0x252c]
add esp, 0x1c
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4854cb
mov ecx, dword [ebp - 0x2540]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4854c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x485891
push edx
push ecx
call fcn.004f8f7d
add esp, 8
lea eax, [ebp - 0x410]
push eax
push str.Error:__s
call fcn.00409420
mov esi, dword [ebp - 0x2584]
add esp, 8
mov edx, dword [ebp - 0x2514]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x48552c
mov ecx, dword [ebp - 0x2528]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x485522
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x485896
push edx
push ecx
call fcn.004f8f7d
add esp, 8
test esi, esi
jne 0x4856bc
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 0x485556
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.00409450
cmp dword [ebp - 0x2530], 0
mov byte [ebp - 4], 4
je 0x485620
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.0046dbc0
push eax
call fcn.00471a00
add esp, 0x1c
mov edx, dword [ebp - 0x252c]
cmp edx, 0x10
jb 0x48565a
mov ecx, dword [ebp - 0x2540]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x485650
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48589b
push edx
push ecx
call fcn.004f8f7d
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 0x4856b5
mov ecx, dword [ebp - 0x2528]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4856ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4858a0
push edx
push ecx
call fcn.004f8f7d
add esp, 8
xor eax, eax
jmp 0x485876
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x2588]
push eax
mov dword [ebp - 0x2588], 0
call fcn.0043ee70
push dword [ebp - 0x2588]
push str._nDLL_version:_0x_08X_n
call fcn.00471c60
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 0x485710
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.00409450
cmp dword [ebp - 0x2560], 0
mov byte [ebp - 4], 6
je 0x4857e0
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.0046dbc0
push eax
call fcn.00471a00
add esp, 0x20
mov edx, dword [ebp - 0x255c]
cmp edx, 0x10
jb 0x48581a
mov ecx, dword [ebp - 0x2570]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x485810
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4858a5
push edx
push ecx
call fcn.004f8f7d
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 0x485871
mov ecx, dword [ebp - 0x2558]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x485867
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4858aa
push edx
push ecx
call fcn.004f8f7d
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.004f8f3c
mov esp, ebp
pop ebp
ret
call fcn.00514793
call fcn.00514793
call fcn.00514793
call fcn.00514793
call fcn.00514793
call fcn.00514793
nop
and al, 0x53
dec eax
add byte [ebx + edx*2 + 0x48], dh
add byte [edi - 0x7effb7ad], cl
push ebx
dec eax
add byte [edi - 0x70ffb7ad], cl
push ebx
dec eax
add byte [edi - 0x77ffb7ad], cl
push ebx
dec eax
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp