Function at 0x4365e0
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x4b571c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
push ebx
mov dword [ebp - 0x818], eax
call fcn.004351e0
mov edi, eax
call fcn.0044af90
mov dword [ebp - 0x814], str.d:jenkinsworkspace_atkexcomsvc_atkexcomsvc_atkexcomsvc.cpp
mov edx, eax
test bl, bl
je 0x436908
push str.DoRegisterAppId:1......
sub esp, 0xc
mov dword [ebp - 0x810], 0x61
movq xmm0, qword [ebp - 0x814]
mov ecx, esp
push 2
movq qword [ecx], xmm0
push edx
mov dword [ecx + 8], str.CatkexComSvcModule::RegisterAppId
call fcn.0044ef80
add esp, 0x18
mov dword [ebp - 0x808], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
mov eax, dword [ebp - 0x818]
add eax, 0x40
mov dword [ebp - 0x818], eax
test esi, esi
je 0x4366a6
push 1
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
je 0x4366a3
push eax
mov dword [ebp - 0x808], 1
call ebx
push esi
call ebx
call fcn.0044af90
cmp dword [ebp - 0x808], 0
mov edx, eax
mov dword [ebp - 0x814], str.d:jenkinsworkspace_atkexcomsvc_atkexcomsvc_atkexcomsvc.cpp
je 0x4368f7
push str.IsInstalled:1......
sub esp, 0xc
mov dword [ebp - 0x810], 0x64
movq xmm0, qword [ebp - 0x814]
mov ecx, esp
push 2
movq qword [ecx], xmm0
push edx
mov dword [ecx + 8], str.CatkexComSvcModule::RegisterAppId
call fcn.0044ef80
add esp, 0x18
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x820], eax
test eax, eax
jne 0x436765
push str.OpenSCManagerW_fail......
sub esp, 0xc
mov dword [ebp - 0x814], str.d:jenkinsworkspace_atkexcomsvc_atkexcomsvc_atkexcomsvc.cpp
mov eax, esp
mov dword [ebp - 0x810], 0x69
movq xmm0, qword [ebp - 0x814]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CatkexComSvcModule::RegisterAppId
call fcn.0044af90
push eax
call fcn.0044ef80
add esp, 0x18
call fcn.0042d790
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004512f7
mov esp, ebp
pop ebp
ret 4
push 2
push dword [ebp - 0x818]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x4368a5
push 0x494bc8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 2
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push 0x400
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00468a50
add esp, 0xc
mov dword [ebp - 0x808], 0
lea eax, [ebp - 0x804]
push str.ASUS_Com_Service_Description
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x804]
mov dword [ebp - 0x808], eax
lea eax, [ebp - 0x808]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push esi
call ebx
push str.register_atkexcom_successfully......
sub esp, 0xc
mov dword [ebp - 0x814], str.d:jenkinsworkspace_atkexcomsvc_atkexcomsvc_atkexcomsvc.cpp
mov eax, esp
mov dword [ebp - 0x810], 0x80
movq xmm0, qword [ebp - 0x814]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CatkexComSvcModule::RegisterAppId
call fcn.0044af90
push eax
call fcn.0044ef80
lea eax, [ebp - 0x81c]
push eax
call fcn.0041c690
add esp, 0x1c
lea ecx, [ebp - 0x81c]
mov esi, dword [eax]
call fcn.004067a0
test esi, esi
je 0x43686c
lea eax, [ebp - 0x81c]
push eax
call fcn.0041c690
add esp, 4
mov ecx, dword [eax]
call fcn.0041d230
lea ecx, [ebp - 0x81c]
call fcn.004067a0
lea eax, [ebp - 0x81c]
push eax
call fcn.0041c690
add esp, 4
lea ecx, [ebp - 0x81c]
mov esi, dword [eax]
call fcn.004067a0
test esi, esi
je 0x4368ed
call fcn.0044af90
mov ecx, eax
call fcn.0044e940
push dword [ebp - 0x820]
call ebx
jmp 0x43693a
push str.OpenService_fail......
sub esp, 0xc
mov dword [ebp - 0x814], str.d:jenkinsworkspace_atkexcomsvc_atkexcomsvc_atkexcomsvc.cpp
mov eax, esp
mov dword [ebp - 0x810], 0x87
movq xmm0, qword [ebp - 0x814]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CatkexComSvcModule::RegisterAppId
call fcn.0044af90
push eax
call fcn.0044ef80
add esp, 0x18
call fcn.0042d790
mov edi, eax
push dword [ebp - 0x820]
call ebx
jmp 0x43693a
mov dword [ebp - 0x810], 0x8f
push str.IsInstalled:0......
jmp 0x436917
mov dword [ebp - 0x810], 0x94
push str.DoRegisterAppId:0......
movq xmm0, qword [ebp - 0x814]
sub esp, 0xc
mov eax, esp
push 2
movq qword [eax], xmm0
push edx
mov dword [eax + 8], str.CatkexComSvcModule::RegisterAppId
call fcn.0044ef80
add esp, 0x18
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004512f7
mov esp, ebp
pop ebp
ret 4