Function at 0x435610
Capabilities:
Create service
Modify service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa54
mov eax, dword [0x4b571c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x20e]
mov ebx, ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x43590d
cmp eax, 0x104
je 0x43590d
mov ecx, 0x22
mov word [ebp - 0x210], cx
mov word [ebp + eax*2 - 0x20e], cx
lea eax, [eax*2 + 4]
cmp eax, 0x20c
jae 0x435a92
xor ecx, ecx
push 0xf003f
push ecx
push ecx
mov word [ebp + eax - 0x210], cx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x43573b
push 0x400
lea eax, [ebp - 0xa10]
push eax
push 0xd80a
call fcn.00434980
add esp, 0xc
test eax, eax
jne 0x4356d2
push 0x494cc8
lea eax, [ebp - 0xa10]
push 0x400
push eax
call fcn.004735a1
push eax
call fcn.0042d6f0
add esp, 0x10
push 0
lea eax, [ebx + 0x40]
push eax
lea eax, [ebp - 0xa10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0xa48], 0xba
push str.Could_not_open_Service_Manager
sub esp, 0xc
mov dword [ebp - 0xa4c], str.d:jenkinsworkspace_atkexcomsvc_atkexcomsvc_atkexcomsvc.cpp
movq xmm0, qword [ebp - 0xa4c]
mov eax, esp
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CatkexComSvcModule::Install
call fcn.0044af90
push eax
call fcn.0044ef80
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004512f7
mov esp, ebp
pop ebp
ret
mov ecx, ebx
lea esi, [ebx + 0x40]
call fcn.00435b30
test eax, eax
jne 0x435846
push eax
push eax
push str.RPCSS
push eax
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push 3
push 0x10
push 0xf01ff
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, eax
test ebx, ebx
jne 0x4357e0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x400
lea eax, [ebp - 0xa10]
push eax
push 0xd80b
call fcn.00434980
add esp, 0xc
test eax, eax
jne 0x4357ba
push 0x494d38
lea eax, [ebp - 0xa10]
push 0x400
push eax
call fcn.004735a1
push eax
call fcn.0042d6f0
add esp, 0x10
push 0
push esi
lea eax, [ebp - 0xa10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0xa48], 0xd4
push str.Could_not_start_service
jmp 0x4356f6
push str.after_register__atkexcom_StartService......
sub esp, 0xc
mov dword [ebp - 0xa4c], str.d:jenkinsworkspace_atkexcomsvc_atkexcomsvc_atkexcomsvc.cpp
mov eax, esp
mov dword [ebp - 0xa48], 0xd9
movq xmm0, qword [ebp - 0xa4c]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CatkexComSvcModule::Install
call fcn.0044af90
push eax
call fcn.0044ef80
add esp, 0x18
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
mov dword [ebp - 0xa54], eax
call esi
push edi
call esi
mov ebx, dword [ebp - 0xa54]
jmp 0x4358b8
push str.atkexcom_is_already_install__open_it....
sub esp, 0xc
mov dword [ebp - 0xa4c], str.d:jenkinsworkspace_atkexcomsvc_atkexcomsvc_atkexcomsvc.cpp
mov eax, esp
mov dword [ebp - 0xa48], 0xe2
movq xmm0, qword [ebp - 0xa4c]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CatkexComSvcModule::Install
call fcn.0044af90
push eax
call fcn.0044ef80
add esp, 0x18
push 0xf01ff
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push esi
push 0
push 0
push str.RPCSS
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push 1
push 2
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov ebx, eax
push ebx
push str.bSuccess...._d
sub esp, 0xc
mov dword [ebp - 0xa4c], str.d:jenkinsworkspace_atkexcomsvc_atkexcomsvc_atkexcomsvc.cpp
mov eax, esp
mov dword [ebp - 0xa48], 0xef
movq xmm0, qword [ebp - 0xa4c]
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CatkexComSvcModule::Install
call fcn.0044af90
push eax
call fcn.0044ef80
add esp, 0x1c
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004512f7
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0xa18], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0xa14], 7
mov word [ebp - 0xa28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435933
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa28]
call fcn.00404660
cmp dword [ebp - 0xa14], 8
lea ecx, [ebp - 0xa28]
mov eax, dword [ebp - 0xa18]
lea edx, [ebp - 0xa4d]
cmovae ecx, dword [ebp - 0xa28]
push edx
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0xa28]
cmovae ecx, dword [ebp - 0xa28]
push eax
push ecx
lea ecx, [ebp - 0xa40]
call fcn.00434280
cmp dword [ebp - 0xa30], 0
je 0x4359f2
cmp dword [ebp - 0xa2c], 0x10
lea eax, [ebp - 0xa40]
mov dword [ebp - 0xa4c], str.d:jenkinsworkspace_atkexcomsvc_atkexcomsvc_atkexcomsvc.cpp
cmovae eax, dword [ebp - 0xa40]
push eax
push str.FilePath_issue....._s
sub esp, 0xc
mov dword [ebp - 0xa48], 0xa6
movq xmm0, qword [ebp - 0xa4c]
mov eax, esp
push 2
movq qword [eax], xmm0
mov dword [eax + 8], str.CatkexComSvcModule::Install
call fcn.0044af90
push eax
call fcn.0044ef80
add esp, 0x1c
mov edx, dword [ebp - 0xa2c]
cmp edx, 0x10
jb 0x435a28
mov ecx, dword [ebp - 0xa40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x435a1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435a97
push edx
push ecx
call fcn.00451338
add esp, 8
mov edx, dword [ebp - 0xa14]
mov dword [ebp - 0xa30], 0
mov dword [ebp - 0xa2c], 0xf
mov byte [ebp - 0xa40], 0
cmp edx, 8
jb 0x435a7f
mov ecx, dword [ebp - 0xa28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435a75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435a97
push edx
push ecx
call fcn.00451338
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004512f7
mov esp, ebp
pop ebp
ret
call fcn.004520a5
call fcn.0046c98c
int3