Function at 0x18002f120
Capabilities:
Query service configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov r10, r9
mov r13, rcx
xor edi, edi
mov qword [rbp - 0x21], rdi
mov eax, ILFindLastID
mov qword [rbp - 0x19], rax
mov byte [rbp - 0x31], dil
mov ecx, r8d
mov dword [rbp - 0x75], ecx
imul r9d, r8d, 0x1c7
mov dword [rbp - 0x71], r9d
mov rbx, qword [rbp - 0x69]
cmp r8d, r9d
ja 0x18002f7d5
mov rsi, qword [rbp - 0x69]
mov r12, qword [rbp - 0x69]
nop word [rax + rax]
cmp ecx, 0x4f52
ja 0x18002f54b
je 0x18002f532
cmp ecx, 0xbf4
ja 0x18002f4e9
je 0x18002f1ef
mov eax, ecx
sub eax, 0x55
je 0x18002f1e6
sub eax, 0x78
je 0x18002f7a8
cmp eax, 0x51
jne 0x18002f788
lea r8d, [rax - 0x50]
lea rdx, str.Fspell_checking_limit
lea rcx, [rbp - 0x59]
call fcn.18004be24
mov word [rbp - 0x57], di
jmp 0x18002f77d
mov rsi, qword [r13]
jmp 0x18002f788
mov r15, qword [r13 + 0x18]
test r15, r15
je 0x18002f4e1
nop dword [rax]
lea rax, [r15 + r15*4]
lea rbx, [rsi + rax*8]
mov rax, qword [rbx + 8]
cmp qword [rdx], rax
ja 0x18002f4c9
mov eax, 0xe2
mov dword [rbp - 0x6d], eax
nop dword [rax]
sub eax, 0xe0
je 0x18002f7bb
sub eax, 1
je 0x18002f278
cmp eax, 1
jne 0x18002f4b0
mov rdx, qword [rdx]
mov rax, qword [rbx + 0x18]
lea rcx, [rax + rax*4]
cmp qword [rsi + rcx*8 + 8], rdx
jne 0x18002f267
nop dword [rax + rax]
mov r15, rax
lea rax, [rax + rax*4]
mov rax, qword [rsi + rax*8 + 0x18]
lea rcx, [rax + rax*4]
cmp qword [rsi + rcx*8 + 8], rdx
je 0x18002f250
lea rax, [r15 + r15*4]
lea rbx, [rsi + rax*8]
mov r12, qword [rbx + 0x20]
jmp 0x18002f4b0
test r12, r12
je 0x18002f3c6
lea rax, [r12 + r12*4]
lea r10, [rsi + rax*8]
cmp qword [r10 + 0x10], r15
jne 0x18002f326
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x18002f30c
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x18002f2f2
lea rax, [rax + rax*4]
lea r9, [rsi + rax*8]
mov rdx, qword [r9 + 0x10]
lea rax, [rdx + rdx*4]
mov rcx, qword [rsi + rax*8 + 0x10]
test rcx, rcx
je 0x18002f2d1
nop
mov rdx, rcx
lea rax, [rcx + rcx*4]
mov rcx, qword [rsi + rax*8 + 0x10]
test rcx, rcx
jne 0x18002f2c0
test rdx, rdx
je 0x18002f2ee
lea rax, [rdx + rdx*4]
mov qword [rsi + rax*8 + 0x10], r8
mov rax, qword [rbx + 0x10]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], rdx
jmp 0x18002f2f2
mov qword [r9 + 0x10], r8
mov rax, qword [rbx + 0x18]
mov qword [r10 + 0x10], rax
mov rax, qword [rbx + 0x18]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], r12
jmp 0x18002f461
mov rax, qword [rbx + 0x10]
mov qword [r10 + 0x10], rax
mov rax, qword [rbx + 0x10]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], r12
jmp 0x18002f461
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x18002f3ac
mov r8, qword [rbx + 0x18]
test r8, r8
je 0x18002f392
lea rax, [rax + rax*4]
lea r9, [rsi + rax*8]
mov rdx, qword [r9 + 0x18]
lea rax, [rdx + rdx*4]
mov rcx, qword [rsi + rax*8 + 0x18]
test rcx, rcx
je 0x18002f371
nop dword [rax]
nop word [rax + rax]
mov rdx, rcx
lea rax, [rcx + rcx*4]
mov rcx, qword [rsi + rax*8 + 0x18]
test rcx, rcx
jne 0x18002f360
test rdx, rdx
je 0x18002f38e
lea rax, [rdx + rdx*4]
mov qword [rsi + rax*8 + 0x18], r8
mov rax, qword [rbx + 0x18]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], rdx
jmp 0x18002f392
mov qword [r9 + 0x18], r8
mov rax, qword [rbx + 0x10]
mov qword [r10 + 0x18], rax
mov rax, qword [rbx + 0x10]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], r12
jmp 0x18002f461
mov rax, qword [rbx + 0x18]
mov qword [r10 + 0x18], rax
mov rax, qword [rbx + 0x18]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], r12
jmp 0x18002f461
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x18002f44c
mov r8, qword [rbx + 0x18]
test r8, r8
je 0x18002f43e
lea rax, [rax + rax*4]
lea r9, [rsi + rax*8]
mov rdx, qword [r9 + 0x18]
lea rax, [rdx + rdx*4]
mov rcx, qword [rsi + rax*8 + 0x18]
test rcx, rcx
je 0x18002f411
nop dword [rax]
nop word [rax + rax]
mov rdx, rcx
lea rax, [rcx + rcx*4]
mov rcx, qword [rsi + rax*8 + 0x18]
test rcx, rcx
jne 0x18002f400
test rdx, rdx
je 0x18002f43a
lea rax, [rdx + rdx*4]
mov qword [rsi + rax*8 + 0x18], r8
mov rax, qword [rbx + 0x18]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], rdx
mov rax, qword [rbx + 0x10]
mov qword [r13 + 0x18], rax
mov rax, qword [rbx + 0x10]
jmp 0x18002f458
mov qword [r9 + 0x18], r8
mov rax, qword [rbx + 0x10]
mov qword [r13 + 0x18], rax
mov rax, qword [rbx + 0x10]
jmp 0x18002f458
mov rax, qword [rbx + 0x18]
mov qword [r13 + 0x18], rax
mov rax, qword [rbx + 0x18]
lea rcx, [rax + rax*4]
mov qword [rsi + rcx*8 + 0x20], rdi
mov rcx, qword [r13 + 0x30]
mov rax, qword [r13 + 0x28]
mov qword [rax + rcx*8], r15
inc qword [r13 + 0x30]
mov rax, qword [r13 + 0x38]
cmp qword [r13 + 0x30], rax
jb 0x18002f4b0
lea r14, [rax + rax]
lea rax, [r14*8]
mov qword [rbp - 0x69], rax
xor r9d, r9d
lea r8d, [r9 + 0x4b]
lea rdx, [rbp - 0x69]
mov rcx, qword [r13 + 0x28]
call fcn.180035ab0
test rax, rax
je 0x18002f7cb
mov qword [r13 + 0x28], rax
mov qword [r13 + 0x38], r14
mov eax, dword [rbp - 0x6d]
dec eax
mov dword [rbp - 0x6d], eax
cmp eax, 0xdf
mov rdx, qword [rbp + 0x6f]
ja 0x18002f220
jmp 0x18002f4cd
mov r15, qword [rbx + 0x18]
test r15, r15
jne 0x18002f200
mov ecx, dword [rbp - 0x75]
mov r8d, dword [rbp + 0x77]
mov r9d, dword [rbp - 0x71]
mov rbx, rdi
jmp 0x18002f788
cmp ecx, 0x1793
je 0x18002f7c8
cmp ecx, 0x2838
jne 0x18002f788
mov r8d, 4
lea rdx, [0x18006f5f8]
lea rcx, [rbp - 0x59]
call fcn.18004bddc
mov r8d, 4
lea rdx, [0x18006f61e]
lea rcx, [rbp - 0x59]
call fcn.18004bddc
jmp 0x18002f77d
mov eax, dword [0x18006f4ec]
mov dword [rbp - 0x47], eax
movzx eax, word [0x18006f4f0]
mov word [rbp - 0x43], ax
jmp 0x18002f788
cmp ecx, 0xebba
ja 0x18002f6a2
je 0x18002f613
cmp ecx, 0x766c
je 0x18002f5ed
cmp ecx, 0x9d86
je 0x18002f5e1
cmp ecx, 0xc4a0
jne 0x18002f788
mov byte [rbp - 0x79], 1
mov qword [rbp - 0x61], rdi
mov ecx, 0x20
call fcn.1800457f8
mov r14, rax
mov qword [rbp + 0x17], rax
test rax, rax
je 0x18002f5c8
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], ILFindLastID
mov byte [rax], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r8 + r13], 0
jne 0x18002f5b1
mov rdx, r13
mov rcx, rax
call fcn.18001b930
jmp 0x18002f5cb
mov r14, rdi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbp - 0x21], xmm1
jmp 0x18002f77d
mov dword [rbp - 0x3b], 0x78
jmp 0x18002f788
mov dword [rbp - 0x41], 0x57006d
mov word [rbp - 0x3d], di
mov r8d, 1
lea rdx, str.failed_to_reference_memory_ctaCtxPtr_016llx
lea rcx, [rbp - 0x3d]
call fcn.18004be24
jmp 0x18002f77d
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], rax
mov byte [rbp - 9], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x18002f626
lea rcx, [rbp - 9]
call fcn.18001b930
nop
mov r9d, 0x115
lea r8, [rbp - 0x31]
xor edx, edx
lea rcx, [rbp - 9]
call fcn.180034f50
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x18002f68b
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f686
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f830
call fcn.180045834
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp - 0x61], rax
jmp 0x18002f77d
cmp ecx, 0x112d4
je 0x18002f6f9
cmp ecx, 0x139ee
jne 0x18002f788
mov rcx, qword [r10 + 0x10]
mov rdx, qword [r10 + 0x18]
cmp rcx, rdx
jae 0x18002f6e2
lea rax, [rcx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0x10
jb 0x18002f6d7
mov rax, qword [r10]
mov word [rax + rcx], 0xa
jmp 0x18002f785
mov r9b, 0xa
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, r10
call fcn.180007290
jmp 0x18002f77d
mov r9d, 0x22
lea r8, [rbp - 0x31]
xor edx, edx
mov rcx, r10
call fcn.18001bbe0
mov ecx, edi
movzx eax, byte [rbp - 0x79]
mov r15, qword [rbp - 0x61]
test r15, r15
cmovne ecx, eax
mov byte [rbp - 0x79], cl
cmp cl, 0
je 0x18002f77d
mov r8d, 0xf01ff
lea rdx, [rbp - 0x59]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r14, rax
test rax, rax
jne 0x18002f74f
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [rbp - 0x79], r14b
jmp 0x18002f77d
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfig2A]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r8d, dword [rbp + 0x77]
mov r9d, dword [rbp - 0x71]
mov ecx, dword [rbp - 0x75]
imul eax, r8d, 0x23
add ecx, eax
mov dword [rbp - 0x75], ecx
cmp ecx, r9d
ja 0x18002f7d1
mov rdx, qword [rbp + 0x6f]
mov r10, qword [rbp + 0x7f]
mov eax, ILFindLastID
jmp 0x18002f190
cmp dword [r10], 0x71
jne 0x18002f7cb
lea rdi, [0x180088a48]
mov rax, qword [rbp - 0x19]
jmp 0x18002f7d8
dec qword [r13 + 0x20]
mov rdi, r15
mov rax, qword [rbp - 0x19]
jmp 0x18002f7d8
mov rdi, rbx
mov rax, qword [rbp - 0x19]
jmp 0x18002f7d8
mov rax, qword [rbp - 0x19]
mov rdi, rbx
cmp rax, 0x10
jb 0x18002f80c
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f807
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f82a
call fcn.180045834
mov rax, rdi
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18004bb04
nop
call fcn.18004bb04
nop
int3