Function at 0x140002760
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400471b0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r13, rcx
xor r15d, r15d
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
xor r8d, r8d
lea rdx, [0x14003e314]
lea rcx, [rsp + 0x68]
call fcn.140003d50
nop
lea rdx, [rsp + 0x48]
call fcn.140003590
nop
lea rsi, [r13 + 0x430]
lea rcx, [rsp + 0x48]
mov r8, qword [rsp + 0x48]
mov r10, qword [rsp + 0x60]
cmp r10, 8
cmovae rcx, r8
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x140002801
mov r9, qword [rsi]
mov rdx, qword [rsi + 0x10]
mov r14, qword [rsp + 0x58]
cmp rdx, r14
jne 0x140002842
test rdx, rdx
je 0x140002834
sub r9, rcx
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r9 + rcx], ax
jne 0x140002842
add rcx, 2
sub rdx, 1
jne 0x140002820
mov rdi, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x68]
jmp 0x140002a9b
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
lea rdi, [rsp + 0x48]
cmp r10, 8
cmovae rdi, r8
movabs rax, 0x7ffffffffffffffe
mov rcx, 0xffffffffffffffff
cmp r14, 8
jae 0x140002882
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x20], xmm0
lea ebx, [rcx + 8]
jmp 0x1400028bd
mov rbx, r14
or rbx, 7
cmp rbx, rax
cmova rbx, rax
mov rdx, rbx
add rdx, 1
cmovb rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140003cd0
mov qword [rsp + 0x20], rax
lea r8, [r14*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.140015370
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
call fcn.140003130
test al, al
jne 0x1400028f1
mov r8d, 5
lea rdx, str.en_US
lea rcx, [rsp + 0x68]
call fcn.140003d50
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
lea r14, [rsp + 0x68]
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rbp - 0x80]
cmp rdi, 8
cmovae r14, rbx
mov r12, qword [rsp + 0x78]
cmp r12, 8
jae 0x140002932
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x20], xmm0
mov r15d, 7
jmp 0x14000297e
mov r15, r12
or r15, 7
movabs rax, 0x7ffffffffffffffe
cmp r15, rax
cmova r15, rax
mov rdx, r15
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140003cd0
mov qword [rsp + 0x20], rax
lea r8, [r12*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.140015370
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x78]
call fcn.140002b70
nop
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov r14, rax
test rax, rax
je 0x140002a25
mov rdx, qword [r13]
mov rcx, r13
mov rax, qword [rdx]
call qword [0x14002f5d8]
mov rdx, rax
mov r8d, 0xf003f
mov rcx, r14
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenServiceW]
mov r15, rax
test rax, rax
je 0x140002a1c
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r8, qword [rbp - 0x78]
lea rdx, [0x14003e324]
lea rcx, [rbp - 0x50]
call fcn.140003b10
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_ChangeServiceConfig2W]
mov rcx, r15
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
lea rax, [rsp + 0x48]
cmp rsi, rax
je 0x140002a4e
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rsi
call fcn.140003d50
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x140002a8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b59
call fcn.140012fbc
xor r15d, r15d
mov r8, qword [rsp + 0x48]
mov r10, qword [rsp + 0x60]
cmp r10, 8
jb 0x140002ad6
lea rdx, [r10*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140002ace
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b5f
mov rcx, r8
call fcn.140012fbc
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r15w
cmp rdi, 8
jb 0x140002b21
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002b19
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b53
mov rcx, rbx
call fcn.140012fbc
xor eax, eax
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140012f70
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140019554
nop
call fcn.140019554
nop
call fcn.140019554
int3