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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x198
mov ebx, 0x9b
xor r15d, r15d
mov r11d, ebx
lea edi, [rbx - 1]
mov r10, rbx
mov ecx, r15d
lea r8, [rbp - 0x70]
lea eax, [rcx - 0x3c]
cmp eax, 0x1e
ja 0x180099a71
mov al, cl
jmp 0x180099a82
cmp ecx, 0x3c
jge 0x180099a7b
lea eax, [rcx + 0x3c]
jmp 0x180099a82
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov byte [r8], al
inc ecx
inc r8
cmp ecx, ebx
jl 0x180099a65
mov rcx, rdi
mov rdx, rdi
mov rax, r15
test rcx, rcx
jle 0x180099abd
mov r8b, byte [rbp + rax - 0x70]
mov r9b, byte [rbp + rax - 0x6f]
cmp r8b, r9b
jle 0x180099ab5
mov byte [rbp + rax - 0x70], r9b
mov byte [rbp + rax - 0x6f], r8b
inc rax
cmp rax, rcx
jl 0x180099a9c
dec rcx
sub rdx, 1
jne 0x180099a94
sub r10, 1
jne 0x180099a5e
sub r11, 1
jne 0x180099a5b
mov rax, qword gs:[0x30]
mov rsi, r15
mov rcx, qword [rax + 0x60]
mov rdx, qword [rcx + 0x18]
add rdx, 0x10
mov rcx, qword [rdx]
cmp rcx, rdx
je 0x180099b1a
lea r9, [fcn.180099d80]
mov r8, qword [rcx + 0x30]
cmp r9, r8
jb 0x180099b0d
mov eax, dword [rcx + 0x40]
add rax, r8
cmp r9, rax
jb 0x180099b17
mov rcx, qword [rcx]
cmp rcx, rdx
je 0x180099b1a
jmp 0x180099af9
mov rsi, r8
call fcn.180099d80
mov r12d, eax
lea rdx, [rsp + 0x58]
add r12, rsi
mov ecx, r15d
mov r8d, dword [r12 + 4]
mov eax, dword [r12 + 8]
add rax, rsi
mov qword [rsp + 0x68], rax
movsd xmm0, qword [r8 + rsi]
mov eax, dword [r8 + rsi + 8]
movsd qword [rsp + 0x50], xmm0
mov dword [rsp + 0x58], eax
mov eax, ecx
inc ecx
and eax, 3
mov al, byte [rsp + rax + 0x54]
xor byte [rdx], al
inc rdx
cmp ecx, 4
jb 0x180099b54
lea r13, [r8 + 0xc]
mov dword [rsp + 0x40], 0xe553a458
add r13, rsi
mov dword [rsp + 0x44], 0xc38ae110
mov r10, r15
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x10]
mov r9, qword [rbx + 0x30]
test r9, r9
je 0x180099c61
movups xmm0, xmmword [rbx + 0x58]
movsxd rax, dword [r9 + 0x3c]
mov rbx, qword [rbx]
movdqu xmmword [rsp + 0x70], xmm0
mov r11d, dword [rax + r9 + 0x88]
test r11d, r11d
je 0x180099b94
mov rax, qword [rsp + 0x70]
mov edx, r15d
shr rax, 0x10
movzx ecx, ax
test ecx, ecx
je 0x180099bf3
mov rax, qword [rsp + 0x78]
mov r8d, ecx
movsx ecx, byte [rax]
ror edx, 0xd
cmp byte [rax], 0x61
jl 0x180099be8
add edx, 0xffffffe0
add edx, ecx
inc rax
sub r8, 1
jne 0x180099bda
add r11, r9
mov r14d, dword [r11 + 0x20]
add r14, r9
cmp dword [r11 + 0x18], 0
jbe 0x180099c36
mov edi, dword [r14]
lea r14, [r14 + 4]
add rdi, r9
xor r8d, r8d
movsx ecx, byte [rdi]
inc rdi
ror r8d, 0xd
add r8d, ecx
test cl, cl
jne 0x180099c11
lea eax, [r8 + rdx]
cmp eax, dword [rsp + r10*4 + 0x40]
je 0x180099c3e
inc r15d
cmp r15d, dword [r11 + 0x18]
jb 0x180099c04
xor r15d, r15d
jmp 0x180099b94
mov edx, dword [r11 + 0x24]
lea eax, [r15 + r15]
mov ecx, dword [r11 + 0x1c]
add rax, r9
add rcx, r9
movzx r8d, word [rdx + rax]
mov eax, dword [rcx + r8*4]
add rax, r9
xor r15d, r15d
jmp 0x180099c64
mov rax, r15
mov qword [rbp + r10*8 - 0x80], rax
inc r10
cmp r10, 2
jl 0x180099b83
mov ebx, dword [rsp + 0x58]
mov r9d, 4
mov edx, ebx
mov r8d, 0x3000
xor ecx, ecx
mov r14d, ebx
call qword [rbp - 0x80]
mov rdi, rax
mov eax, ebx
mov rdx, rdi
test ebx, ebx
je 0x180099cad
sub r13, rdi
mov cl, byte [rdx + r13]
mov byte [rdx], cl
inc rdx
add eax, 0xffffffff
jne 0x180099c9f
mov edx, r15d
test ebx, ebx
je 0x180099ccc
mov rcx, rdi
mov eax, edx
inc edx
and eax, 7
mov al, byte [rax + r12 + 0x10]
xor byte [rcx], al
inc rcx
cmp edx, ebx
jb 0x180099cb7
mov eax, dword [r12]
lea r9, [rsp + 0x48]
mov bl, byte [r12 + 0x20]
mov rdx, r14
mov r15, qword [rbp + 0xe8]
cmp bl, 1
mov dword [rsp + 0x40], eax
mov rcx, rdi
mov eax, dword [r12 + 0xc]
cmove r15, rsi
xor r13d, r13d
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], r13d
lea r8d, [r13 + 0x20]
call qword [rbp - 0x78]
mov rdx, qword [rsp + 0x40]
cmp bl, 1
mov qword [rsp + 0x60], r13
mov rcx, r12
mov eax, dword [r12 + 0x1c]
cmovne rsi, r13
mov r8d, dword [r12 + 0x18]
mov r9, rsi
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call rdi
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x180099d69
mov r9d, dword [rbp + 0xf8]
mov rdx, r15
mov r8, qword [rbp + 0xf0]
mov rcx, qword [rbp + 0xe0]
call rax
xor eax, eax
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret