Function at 0x4374a0
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x58ec74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x20e]
mov edi, ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4379e3
cmp eax, 0x104
je 0x4379e3
mov ecx, 0x22
mov word [ebp - 0x210], cx
mov word [ebp + eax*2 - 0x20e], cx
lea eax, [eax*2 + 4]
cmp eax, 0x20c
jae 0x437a37
push str._Install__before_OpenSCManager...
xor ecx, ecx
mov dword [ebp - 0xa34], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservice_asusfancontrolservice.cpp
sub esp, 0xc
mov word [ebp + eax - 0x210], cx
mov eax, esp
mov dword [ebp - 0xa30], 0x107
movq xmm0, qword [ebp - 0xa34]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CAsusFanControlServiceModule::Install
call fcn.0046dbc0
push eax
call fcn.00471a00
add esp, 0x18
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x4375ca
push 0x400
lea eax, [ebp - 0xa10]
push eax
push 0xd80a
call fcn.00434fb0
add esp, 0xc
test eax, eax
jne 0x4375a1
push str.Could_not_open_Service_Manager
lea eax, [ebp - 0xa10]
push 0x400
push eax
call fcn.0051c067
push eax
call fcn.00434ed0
add esp, 0x10
push 0
lea eax, [edi + 0x40]
push eax
lea eax, [ebp - 0xa10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0xa30], 0x113
push str._Install_issue__Could_not_open_Service_Manager
jmp 0x4379f2
push str._Install__before_IsInstalled__...
sub esp, 0xc
mov dword [ebp - 0xa34], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservice_asusfancontrolservice.cpp
mov eax, esp
mov dword [ebp - 0xa30], 0x119
movq xmm0, qword [ebp - 0xa34]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CAsusFanControlServiceModule::Install
call fcn.0046dbc0
push eax
call fcn.00471a00
add esp, 0x18
mov ecx, edi
call fcn.00437ad0
mov esi, eax
call fcn.0046dbc0
add edi, 0x40
mov dword [ebp - 0xa34], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservice_asusfancontrolservice.cpp
mov ecx, eax
test esi, esi
jne 0x43770e
push str._Install__ready_to_install_service
sub esp, 0xc
mov dword [ebp - 0xa30], 0x11c
movq xmm0, qword [ebp - 0xa34]
mov eax, esp
push 2
movq qword [eax], xmm0
push ecx
mov dword [eax + 8], str.CAsusFanControlServiceModule::Install
call fcn.00471a00
add esp, 0x18
lea eax, [ebp - 0x210]
push esi
push esi
push str.RPCSS
push esi
push esi
push eax
push 1
push 2
push 0x10
push 0xf01ff
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
jne 0x4376fa
lea eax, [ebp - 0xa28]
push str.CreateService
push eax
call fcn.00437090
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x4376a8
mov eax, dword [eax]
push eax
push str._Install___s
sub esp, 0xc
mov dword [ebp - 0xa34], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservice_asusfancontrolservice.cpp
mov eax, esp
mov dword [ebp - 0xa30], 0x122
movq xmm0, qword [ebp - 0xa34]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CAsusFanControlServiceModule::Install
call fcn.0046dbc0
push eax
call fcn.00471a00
add esp, 0x1c
lea ecx, [ebp - 0xa28]
call fcn.00404a80
jmp 0x4378d9
mov dword [ebp - 0xa30], 0x123
push str._Install__CreateService....
jmp 0x43789f
push str._Install__service_is_installed__just_open_it
sub esp, 0xc
mov dword [ebp - 0xa30], 0x127
movq xmm0, qword [ebp - 0xa34]
mov eax, esp
push 2
movq qword [eax], xmm0
push ecx
mov dword [eax + 8], str.CAsusFanControlServiceModule::Install
call fcn.00471a00
add esp, 0x18
push 0xf01ff
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x4377be
lea eax, [ebp - 0xa28]
push str.OpenService
push eax
call fcn.00437090
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x43776f
mov eax, dword [eax]
push eax
push str._Install___s
sub esp, 0xc
mov dword [ebp - 0xa34], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservice_asusfancontrolservice.cpp
mov eax, esp
mov dword [ebp - 0xa30], 0x129
movq xmm0, qword [ebp - 0xa34]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CAsusFanControlServiceModule::Install
call fcn.0046dbc0
push eax
call fcn.00471a00
add esp, 0x1c
lea ecx, [ebp - 0xa28]
call fcn.00404a80
jmp 0x4377ff
push str._Install__OpenService....
sub esp, 0xc
mov dword [ebp - 0xa34], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservice_asusfancontrolservice.cpp
mov eax, esp
mov dword [ebp - 0xa30], 0x12a
movq xmm0, qword [ebp - 0xa34]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CAsusFanControlServiceModule::Install
call fcn.0046dbc0
push eax
call fcn.00471a00
add esp, 0x18
push edi
push 0
push 0
push str.RPCSS
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 1
push 2
push 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x437890
lea eax, [ebp - 0xa28]
push str.ChangeServiceConfig
push eax
call fcn.00437090
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x437841
mov eax, dword [eax]
push eax
push str._Install___s
sub esp, 0xc
mov dword [ebp - 0xa34], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservice_asusfancontrolservice.cpp
mov eax, esp
mov dword [ebp - 0xa30], 0x132
movq xmm0, qword [ebp - 0xa34]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CAsusFanControlServiceModule::Install
call fcn.0046dbc0
push eax
call fcn.00471a00
add esp, 0x1c
lea ecx, [ebp - 0xa28]
call fcn.00404a80
jmp 0x4378d1
mov dword [ebp - 0xa30], 0x133
push str._Install__ChangeServiceConfig....
sub esp, 0xc
mov dword [ebp - 0xa34], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservice_asusfancontrolservice.cpp
movq xmm0, qword [ebp - 0xa34]
mov eax, esp
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CAsusFanControlServiceModule::Install
call fcn.0046dbc0
push eax
call fcn.00471a00
add esp, 0x18
test esi, esi
jne 0x437980
push str._Install__before_CloseServiceHandle__...
sub esp, 0xc
mov dword [ebp - 0xa34], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservice_asusfancontrolservice.cpp
mov eax, esp
mov dword [ebp - 0xa30], 0x138
movq xmm0, qword [ebp - 0xa34]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CAsusFanControlServiceModule::Install
call fcn.0046dbc0
push eax
call fcn.00471a00
add esp, 0x18
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x400
lea eax, [ebp - 0xa10]
push eax
push 0xd80b
call fcn.00434fb0
add esp, 0xc
test eax, eax
jne 0x43795d
push str.Could_not_start_service
lea eax, [ebp - 0xa10]
push 0x400
push eax
call fcn.0051c067
push eax
call fcn.00434ed0
add esp, 0x10
push 0
push edi
lea eax, [ebp - 0xa10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0xa30], 0x142
push str._Install_issue__Could_not_start_service
jmp 0x4379f2
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
push str._Install__before_return...
sub esp, 0xc
mov dword [ebp - 0xa34], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservice_asusfancontrolservice.cpp
mov eax, esp
mov dword [ebp - 0xa30], 0x148
movq xmm0, qword [ebp - 0xa34]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CAsusFanControlServiceModule::Install
call fcn.0046dbc0
push eax
call fcn.00471a00
add esp, 0x18
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8f3c
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0xa30], 0xfe
push str._Install_issue__ModuleFileName_issue
sub esp, 0xc
mov dword [ebp - 0xa34], str.d:jenkinsworkspace_asusfancontrolservice_asusfancontrolservice_asusfancontrolservice.cpp
movq xmm0, qword [ebp - 0xa34]
mov eax, esp
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CAsusFanControlServiceModule::Install
call fcn.0046dbc0
push eax
call fcn.00471a00
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.004f8f3c
mov esp, ebp
pop ebp
ret
call fcn.004f998b
int3