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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp rcx, qword [r8]
je 0x18001d80b
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 0x18001d7eb
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x18001d7eb
mov r12d, dword [r9 + 0x20]
dec r10d
mov r14d, 0x180bbfdd
lea rcx, [r12 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov bpl, byte [r11]
inc r11
test bpl, bpl
je 0x18001d7e6
movsx ecx, bpl
sub bpl, 0x41
mov edx, ecx
or edx, 0x20
cmp bpl, 0x19
mov bpl, byte [r11]
cmova edx, ecx
inc r11
xor edx, r14d
imul r14d, edx, 0x1000193
test bpl, bpl
jne 0x18001d7b4
cmp r14d, 0x8f684ef1
je 0x18001d7f0
test r10d, r10d
jne 0x18001d795
mov rax, qword [rax]
jmp 0x18001d770
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
mov qword [rsi], rbx
movabs rax, 0x8000000000000000
and qword [rsi + 8], 0
and qword [rsi + 0x10], 0
mov qword [rsi + 0x18], rax
mov rdx, qword [rsi]
movzx ecx, byte [rdx]
cmp ecx, 5
ja 0x18001d85c
je 0x18001d85c
test ecx, ecx
je 0x18001d85c
sub ecx, 1
je 0x18001d84f
sub ecx, 1
jne 0x18001d85c
mov rax, qword [rdx + 8]
mov rcx, qword [rax + 8]
mov qword [rsi + 0x10], rcx
jmp 0x18001d864
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rsi + 8], rcx
jmp 0x18001d864
mov qword [rsi + 0x18], 1
movzx ecx, byte [rbx]
cmp ecx, 5
ja 0x18001d8cc
je 0x18001d98f
test ecx, ecx
je 0x18001d8e7
sub ecx, 1
je 0x18001d8b6
sub ecx, 1
jne 0x18001d8d5
mov rdi, qword [rdi + 0x10]
mov rbx, qword [rbx + 8]
mov r8, rdi
lea rcx, [rdi + 0x10]
mov rdx, qword [rbx + 8]
call fcn.18001ba34
mov rdx, qword [rbx + 8]
lea rcx, [rdx - 8]
mov dl, byte [rdx - 0x10]
call fcn.1800418d4
add qword [rbx + 8], 0xfffffffffffffff0
mov qword [rsi + 0x10], rdi
jmp 0x18001da83
mov rdx, qword [rdi + 8]
mov rcx, qword [rbx + 8]
call fcn.180040750
mov qword [rsi + 8], rax
jmp 0x18001da83
sub ecx, 6
je 0x18001d98f
sub ecx, 1
je 0x18001d98f
cmp ecx, 1
je 0x18001d98f
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 0x18001d96a
mov r11d, dword [r9 + 0x18]
test r11d, r11d
je 0x18001d96a
mov r14d, dword [r9 + 0x20]
dec r11d
mov ebp, 0x723130e5
lea rcx, [r14 + r11*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov bl, byte [r10]
inc r10
test bl, bl
je 0x18001d965
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r10]
cmova edx, ecx
inc r10
xor edx, ebp
imul ebp, edx, 0x1000193
test bl, bl
jne 0x18001d93a
cmp ebp, 0x87583599
je 0x18001d96f
test r11d, r11d
jne 0x18001d91d
mov rax, qword [rax]
jmp 0x18001d8f8
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r11*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
jmp 0x18001da83
cmp qword [rdi + 0x18], 0
je 0x18001da46
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 0x18001da26
mov r11d, dword [r9 + 0x18]
test r11d, r11d
je 0x18001da26
mov r15d, dword [r9 + 0x20]
dec r11d
mov r14d, 0x4a89930e
lea rcx, [r15 + r11*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov dil, byte [r10]
inc r10
test dil, dil
je 0x18001da21
movsx ecx, dil
sub dil, 0x41
mov edx, ecx
or edx, 0x20
cmp dil, 0x19
mov dil, byte [r10]
cmova edx, ecx
inc r10
xor edx, r14d
imul r14d, edx, 0x1000193
test dil, dil
jne 0x18001d9ef
cmp r14d, 0x1e651178
je 0x18001da2b
test r11d, r11d
jne 0x18001d9d0
mov rax, qword [rax]
jmp 0x18001d9ab
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r11*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
call rax
cmp byte [rbx], 3
jne 0x18001da5d
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.180022cac
mov edx, 0x20
jmp 0x18001da72
cmp byte [rbx], 8
jne 0x18001da80
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.180022d28
mov edx, 0x28
mov rcx, qword [rbx + 8]
call fcn.180047804
and qword [rbx + 8], 0
mov byte [rbx], 0
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret