Function at 0x140009cd0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140090080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor esi, esi
mov dword [rbp - 1], 0x99249921
mov edx, esi
mov dword [rbp + 3], 0x993e9935
mov rbx, rcx
mov dword [rbp + 7], 0x997a993f
mov dword [rbp + 0xb], 0x993a9931
mov r14d, 0x66b1
mov dword [rbp + 0xf], 0x993b
nop dword [rax]
movsxd rax, edx
lea rcx, [rbp - 1]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r14w
inc edx
xor word [rcx], ax
cmp edx, 9
jb 0x140009d30
mov word [rbp + 0x11], si
lea rcx, [rbp - 1]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x140009d60
add rax, rax
mov qword [rsp + 0xd0], rdi
mov r15d, 0xfffc
lea r9, [rbp - 0x31]
cmp rax, r15
lea r8, [rbp - 0x21]
cmova rax, r15
xor edx, edx
mov word [rbp - 0x21], ax
xor ecx, ecx
add ax, 2
mov word [rbp - 0x1f], ax
lea rax, [rbp - 1]
mov qword [rbp - 0x19], rax
call qword [sym.imp.ntdll.dll_LdrGetDllHandle]
mov r9, qword [rbp - 0x31]
test r9, r9
je 0x140009e3b
movsxd rax, dword [r9 + 0x3c]
mov r8d, esi
mov edi, dword [rax + r9 + 0x88]
add rdi, r9
mov r11d, dword [rdi + 0x18]
test r11d, r11d
je 0x140009e3b
mov esi, dword [rdi + 0x20]
mov r10d, r8d
mov rdx, rbx
lea rax, [rsi + r10*4]
mov eax, dword [rax + r9]
add rax, r9
je 0x140009e14
test rbx, rbx
je 0x140009e14
movzx ecx, byte [rax]
cmp cl, byte [rbx]
jne 0x140009e10
sub rax, rbx
test cl, cl
je 0x140009e0b
cmp byte [rdx], 0
je 0x140009e10
movzx ecx, byte [rax + rdx + 1]
inc rdx
cmp cl, byte [rdx]
je 0x140009df4
jmp 0x140009e10
cmp byte [rdx], 0
je 0x140009e1e
cmp cl, byte [rdx]
je 0x140009e1e
inc r8d
cmp r8d, r11d
jb 0x140009dd2
jmp 0x140009e3b
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r10*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jne 0x140009f80
xor eax, eax
mov dword [rbp + 0x17], 0x99399938
xor r12d, r12d
mov dword [rbp + 0x1b], 0x9961993f
mov edx, r12d
mov dword [rbp + 0x1f], 0x99219961
mov dword [rbp + 0x23], 0x9932997b
mov dword [rbp + 0x27], 0x9934993b
mov word [rbp + 0x2b], ax
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp + 0x17]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r14w
inc edx
xor word [rcx], ax
cmp edx, 0xa
jb 0x140009e70
mov word [rbp + 0x2b], r12w
lea rcx, [rbp + 0x17]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140009ea0
add rax, rax
lea r9, [rbp - 0x29]
cmp rax, r15
lea r8, [rbp - 0x11]
cmova rax, r15
xor edx, edx
mov word [rbp - 0x11], ax
xor ecx, ecx
add ax, 2
mov word [rbp - 0xf], ax
lea rax, [rbp + 0x17]
mov qword [rbp - 9], rax
call qword [sym.imp.ntdll.dll_LdrGetDllHandle]
mov r10, qword [rbp - 0x29]
test r10, r10
jne 0x140009eeb
mov rax, r12
jmp 0x140009f83
movsxd rax, dword [r10 + 0x3c]
mov r9d, r12d
mov edi, dword [rax + r10 + 0x88]
add rdi, r10
mov esi, dword [rdi + 0x18]
test esi, esi
je 0x140009ee3
mov r14d, dword [rdi + 0x20]
nop dword [rax + rax]
mov r11d, r9d
mov rdx, rbx
lea rax, [r10 + r11*4]
mov r8d, dword [rax + r14]
add r8, r10
je 0x140009f5a
test rbx, rbx
je 0x140009f5a
movzx eax, byte [r8]
cmp al, byte [rbx]
jne 0x140009f50
sub r8, rbx
test al, al
je 0x140009f4b
cmp byte [rdx], r12b
je 0x140009f50
movzx eax, byte [r8 + rdx + 1]
inc rdx
cmp al, byte [rdx]
je 0x140009f33
jmp 0x140009f50
cmp byte [rdx], r12b
je 0x140009f67
movsx ecx, byte [rdx]
movsx edx, al
cmp edx, ecx
je 0x140009f67
inc r9d
cmp r9d, esi
jb 0x140009f10
mov rax, r12
jmp 0x140009f83
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r11*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
jmp 0x140009f83
xor r12d, r12d
mov eax, dword [rax + 4]
xor edx, edx
mov dword [rbp - 0x39], eax
xor r9d, r9d
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], r12
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rcx, [rdx - 1]
call fcn.14000e300
mov rdi, qword [rsp + 0xd0]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140071860
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret