Function at 0x1400057b0
Capabilities:
Create service

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x2b8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x230], 0xfffffffffffffffe
mov qword [rbp + 0xd0], r9
mov qword [rbp + 0xd8], r8
mov qword [rbp + 0xe0], rdx
mov rax, rcx
mov rcx, qword [rbp + 0xe0]
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0x2f0]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0x2e8]
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x2e0]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x2d8]
mov qword [rbp + 0x110], rax
mov rdx, qword [rbp + 0x2d0]
mov qword [rbp + 0x118], rdx
mov r10, qword [rbp + 0x2c8]
mov qword [rbp + 0x120], r10
mov r10, qword [rbp + 0x2c0]
mov qword [rbp + 0x128], r10
mov r10d, dword [rbp + 0x2b8]
mov dword [rbp + 0x130], r10d
mov r10d, dword [rbp + 0x2b0]
mov dword [rbp + 0x134], r10d
mov r10d, dword [rbp + 0x2a8]
mov dword [rbp + 0x138], r10d
mov r10d, dword [rbp + 0x2a0]
mov dword [rbp + 0x13c], r10d
mov qword [rbp + 0x1e8], rcx
mov qword [rbp + 0x1f0], r8
mov qword [rbp + 0x1f8], r9
mov qword [rbp + 0x200], rdx
mov qword [rbp + 0x208], rax
mov byte [rbp + 0x1e7], 0
mov byte [rbp + 0x1e6], 0
mov byte [rbp + 0x1e5], 0
mov byte [rbp + 0x1e4], 0
mov byte [rbp + 0x1e3], 0
mov byte [rbp + 0x1e2], 0
mov byte [rbp + 0x1e1], 0
mov byte [rbp + 0x1e7], 1
mov byte [rbp + 0x1e6], 1
mov byte [rbp + 0x1e5], 1
mov byte [rbp + 0x1e4], 1
mov byte [rbp + 0x1e3], 1
mov byte [rbp + 0x1e2], 1
mov byte [rbp + 0x1e1], 1
call fcn.140003780
mov qword [rbp + 0x140], rdx
mov qword [rbp + 0x148], rax
jmp 0x140005937
mov rax, qword [rbp + 0x140]
mov rcx, qword [rbp + 0x148]
mov qword [rbp + 0x158], rcx
mov qword [rbp + 0x160], rax
lea rcx, [rbp + 0x158]
call fcn.1400069c0
mov qword [rbp + 0xc8], rax
jmp 0x140005968
mov rcx, qword [rbp + 0xd8]
mov byte [rbp + 0x1e7], 0
call fcn.14006f190
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], rax
jmp 0x14000598b
mov rax, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xc0]
mov qword [rbp + 0x168], rcx
mov qword [rbp + 0x170], rax
lea rcx, [rbp + 0x168]
call fcn.140006ce0
mov qword [rbp + 0xb0], rax
jmp 0x1400059bc
mov rcx, qword [rbp + 0xd0]
mov byte [rbp + 0x1e6], 0
call fcn.140019060
mov qword [rbp + 0xa0], rdx
mov qword [rbp + 0xa8], rax
jmp 0x1400059df
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rbp + 0xa8]
mov qword [rbp + 0x178], rcx
mov qword [rbp + 0x180], rax
lea rcx, [rbp + 0x178]
call fcn.140006ce0
mov qword [rbp + 0x98], rax
jmp 0x140005a10
mov rcx, qword [rbp + 0x128]
mov byte [rbp + 0x1e5], 0
call fcn.14006f190
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], rax
jmp 0x140005a33
mov rax, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x90]
mov qword [rbp + 0x188], rcx
mov qword [rbp + 0x190], rax
lea rcx, [rbp + 0x188]
call fcn.140006ce0
mov qword [rbp + 0x80], rax
jmp 0x140005a64
mov rcx, qword [rbp + 0x120]
mov byte [rbp + 0x1e4], 0
call fcn.140019060
mov qword [rbp + 0x70], rdx
mov qword [rbp + 0x78], rax
jmp 0x140005a81
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x78]
mov qword [rbp + 0x198], rcx
mov qword [rbp + 0x1a0], rax
lea rcx, [rbp + 0x198]
call fcn.140006ce0
mov qword [rbp + 0x68], rax
jmp 0x140005aa9
mov rdx, qword [rbp + 0x110]
mov rcx, qword [rbp + 0x118]
mov qword [rbp + 0x210], 0
mov qword [rbp + 0x218], 0
mov qword [rbp + 0x228], 0
mov rax, qword [rbp + 0x228]
mov qword [rbp + 0x220], rax
mov r8, qword [rbp + 0x220]
call fcn.140069d40
mov qword [rbp + 0x60], rax
jmp 0x140005af8
mov rcx, qword [rbp + 0x108]
mov byte [rbp + 0x1e3], 0
call fcn.140019060
mov qword [rbp + 0x50], rdx
mov qword [rbp + 0x58], rax
jmp 0x140005b15
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x58]
mov qword [rbp + 0x1a8], rcx
mov qword [rbp + 0x1b0], rax
lea rcx, [rbp + 0x1a8]
call fcn.140006ce0
mov qword [rbp + 0x48], rax
jmp 0x140005b3d
mov rcx, qword [rbp + 0x100]
mov byte [rbp + 0x1e2], 0
call fcn.140019060
mov qword [rbp + 0x38], rdx
mov qword [rbp + 0x40], rax
jmp 0x140005b5a
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
mov qword [rbp + 0x1b8], rcx
mov qword [rbp + 0x1c0], rax
lea rcx, [rbp + 0x1b8]
call fcn.140006ce0
mov qword [rbp + 0x30], rax
jmp 0x140005b82
mov rcx, qword [rbp + 0xf8]
mov byte [rbp + 0x1e1], 0
call fcn.140019060
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], rax
jmp 0x140005b9f
mov rax, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
mov qword [rbp + 0x1c8], rcx
mov qword [rbp + 0x1d0], rax
lea rcx, [rbp + 0x1c8]
call fcn.140006ce0
mov qword [rbp + 0x18], rax
jmp 0x140005bc7
mov r9d, dword [rbp + 0x13c]
mov r8, qword [rbp + 0x98]
mov rdx, qword [rbp + 0xb0]
mov rcx, qword [rbp + 0xc8]
mov r10d, dword [rbp + 0x138]
mov r11d, dword [rbp + 0x134]
mov esi, dword [rbp + 0x130]
mov rdi, qword [rbp + 0x80]
mov rbx, qword [rbp + 0x68]
mov r14, qword [rbp + 0x60]
mov r15, qword [rbp + 0x48]
mov r12, qword [rbp + 0x30]
mov r13, qword [rbp + 0x18]
mov rax, rsp
mov qword [rbp + 8], rax
mov qword [rax + 0x60], r13
mov qword [rax + 0x58], r12
mov qword [rax + 0x50], r15
mov qword [rax + 0x48], r14
mov qword [rax + 0x40], rbx
mov qword [rax + 0x38], rdi
mov dword [rax + 0x30], esi
mov dword [rax + 0x28], r11d
mov dword [rax + 0x20], r10d
mov rax, qword [sym.imp.ADVAPI32.dll_CreateServiceW]
call rax
mov qword [rbp + 0x10], rax
jmp 0x140005c4b
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x150], rax
lea rcx, [rbp + 0x150]
call fcn.14006a390
mov byte [rbp + 7], al
jmp 0x140005c67
mov cl, byte [rbp + 7]
not cl
lea rax, [rbp + 0x150]
mov qword [rbp + 0x1d8], rax
mov rdx, qword [rbp + 0x1d8]
and cl, 1
call fcn.1400062c0
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rax
jmp 0x140005c93
mov r8, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp + 0xe8]
call fcn.140004ea0
jmp 0x140005ca9
mov rax, qword [rbp + 0xf0]
add rsp, 0x2b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret