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

Disassembly:
sub rsp, 8
cmp dword [r8 + 0x90], 0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov ebp, edx
mov r10, r8
mov r11d, edx
mov rbx, rcx
je 0x18009d574
test r11d, r11d
je 0x18009d574
movzx eax, byte [r8 + 0x8c]
inc rbx
add r11d, 0xffffffff
mov byte [rbx - 1], al
shr dword [r8 + 0x8c], 8
add dword [r8 + 0x90], 0xfffffff8
cmp dword [r8 + 0x90], 0
jne 0x18009d543
cmp r11d, 0x44
mov qword [rsp + 0x28], rdi
mov qword [rsp], r12
lea r12, [0x180000000]
jb 0x18009dc2a
mov eax, 0xf0f0f0f1
mul r11d
shr edx, 6
mov edi, edx
nop
nop
movzx ecx, byte [r8 + 3]
mov eax, dword [r8]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 4]
xor edx, dword [r8 + 0x3c]
xor edx, dword [r8 + 0x10]
mov dword [r8], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 8]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 0x1c]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 0x38]
mov dword [rbx], ecx
movzx ecx, byte [r8 + 7]
mov eax, dword [r8 + 4]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 8]
xor edx, dword [r8 + 0x40]
xor edx, dword [r8 + 0x14]
mov dword [r8 + 4], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 0xc]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 0x20]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 0x3c]
mov dword [rbx + 4], ecx
movzx ecx, byte [r8 + 0xb]
mov eax, dword [r8 + 8]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 0xc]
xor edx, dword [r8 + 0x18]
xor edx, dword [r8]
mov dword [r8 + 8], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 0x10]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 0x24]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 0x40]
mov dword [rbx + 8], ecx
movzx ecx, byte [r8 + 0xf]
mov eax, dword [r8 + 0xc]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 0x10]
xor edx, dword [r8 + 4]
xor edx, dword [r8 + 0x1c]
mov dword [r8 + 0xc], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 0x14]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 0x28]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8]
mov dword [rbx + 0xc], ecx
movzx ecx, byte [r8 + 0x13]
mov eax, dword [r8 + 0x10]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 0x14]
xor edx, dword [r8 + 8]
xor edx, dword [r8 + 0x20]
mov dword [r8 + 0x10], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 0x18]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 0x2c]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 4]
mov dword [rbx + 0x10], ecx
movzx ecx, byte [r8 + 0x17]
mov eax, dword [r8 + 0x14]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 0x18]
xor edx, dword [r8 + 0xc]
xor edx, dword [r8 + 0x24]
mov dword [r8 + 0x14], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 0x1c]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 0x30]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 8]
mov dword [rbx + 0x14], ecx
movzx ecx, byte [r8 + 0x1b]
mov eax, dword [r8 + 0x18]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 0x1c]
xor edx, dword [r8 + 0x10]
xor edx, dword [r8 + 0x28]
mov dword [r8 + 0x18], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 0x20]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 0x34]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 0xc]
mov dword [rbx + 0x18], ecx
movzx ecx, byte [r8 + 0x1f]
mov eax, dword [r8 + 0x1c]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 0x20]
xor edx, dword [r8 + 0x2c]
xor edx, dword [r8 + 0x14]
mov dword [r8 + 0x1c], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 0x24]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 0x38]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 0x10]
mov dword [rbx + 0x1c], ecx
movzx ecx, byte [r8 + 0x23]
mov eax, dword [r8 + 0x20]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 0x24]
xor edx, dword [r8 + 0x30]
xor edx, dword [r8 + 0x18]
mov dword [r8 + 0x20], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 0x28]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 0x3c]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 0x14]
mov dword [rbx + 0x20], ecx
movzx ecx, byte [r8 + 0x27]
mov eax, dword [r8 + 0x24]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 0x28]
xor edx, dword [r8 + 0x1c]
xor edx, dword [r8 + 0x34]
mov dword [r8 + 0x24], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 0x2c]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 0x40]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 0x18]
mov dword [rbx + 0x24], ecx
mov eax, dword [r8 + 0x28]
movzx ecx, byte [r8 + 0x2b]
shl eax, 8
mov edx, dword [r12 + rcx*4 + 0x117960]
xor edx, eax
mov eax, dword [r8 + 0x2c]
xor edx, dword [r8 + 0x20]
xor edx, dword [r8 + 0x38]
mov dword [r8 + 0x28], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 0x30]
xor edx, dword [r8 + 0x88]
add edx, dword [r8]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 0x1c]
mov dword [rbx + 0x28], ecx
movzx ecx, byte [r8 + 0x2f]
mov eax, dword [r8 + 0x2c]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 0x30]
xor edx, dword [r8 + 0x3c]
xor edx, dword [r8 + 0x24]
mov dword [r8 + 0x2c], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 0x34]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 4]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 0x20]
mov dword [rbx + 0x2c], ecx
movzx ecx, byte [r8 + 0x33]
mov eax, dword [r8 + 0x30]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 0x34]
xor edx, dword [r8 + 0x40]
xor edx, dword [r8 + 0x28]
mov dword [r8 + 0x30], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 0x38]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 8]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 0x24]
mov dword [rbx + 0x30], ecx
movzx ecx, byte [r8 + 0x37]
mov eax, dword [r8 + 0x34]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 0x38]
xor edx, dword [r8 + 0x2c]
xor edx, dword [r8]
mov dword [r8 + 0x34], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 0x3c]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 0xc]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 0x28]
mov dword [rbx + 0x34], ecx
movzx ecx, byte [r8 + 0x3b]
mov eax, dword [r8 + 0x38]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 0x3c]
xor edx, dword [r8 + 0x30]
xor edx, dword [r8 + 4]
mov dword [r8 + 0x38], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 0x40]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 0x10]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 0x2c]
mov dword [rbx + 0x38], ecx
movzx ecx, byte [r8 + 0x3f]
mov eax, dword [r8 + 0x3c]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8 + 0x40]
xor edx, dword [r8 + 8]
xor edx, dword [r8 + 0x34]
mov dword [r8 + 0x3c], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 0x14]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r8 + 0x30]
mov dword [rbx + 0x3c], ecx
movzx ecx, byte [r8 + 0x43]
mov eax, dword [r8 + 0x40]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
xor edx, eax
mov eax, dword [r8]
xor edx, dword [r8 + 0x38]
xor edx, dword [r8 + 0xc]
mov dword [r8 + 0x40], edx
lea ecx, [rdx + rax]
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r8 + 4]
xor edx, dword [r8 + 0x88]
add edx, dword [r8 + 0x18]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add rbx, 0x44
add r11d, 0xffffffbc
add ecx, dword [r8 + 0x34]
dec rdi
mov dword [rbx - 4], ecx
jne 0x18009d5a0
cmp r11d, 4
mov qword [rsp + 0x20], rsi
jb 0x18009dcbe
mov r8d, r11d
shr r8, 2
movzx ecx, byte [r10 + 3]
mov eax, dword [r10]
lea rsi, [r10 + 4]
mov edx, dword [r12 + rcx*4 + 0x117960]
shl eax, 8
mov rdi, r10
xor edx, eax
mov ecx, select
add rbx, 4
xor edx, dword [r10 + 0x3c]
add r11d, 0xfffffffc
xor edx, dword [r10 + 0x10]
mov dword [r10], edx
rep movsd dword [rdi], dword [rsi]
mov eax, dword [r10]
lea ecx, [rdx + rax]
mov dword [r10 + 0x40], edx
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r10 + 4]
xor edx, dword [r10 + 0x88]
add edx, dword [r10 + 0x18]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
xor ecx, edx
add ecx, dword [r10 + 0x34]
dec r8
mov dword [rbx - 4], ecx
jne 0x18009dc40
test r11d, r11d
je 0x18009dd81
movzx edx, byte [r10 + 3]
mov eax, dword [r10]
lea rsi, [r10 + 4]
mov r8d, dword [r12 + rdx*4 + 0x117960]
shl eax, 8
mov rdi, r10
xor r8d, eax
mov ecx, select
xor r8d, dword [r10 + 0x3c]
xor r8d, dword [r10 + 0x10]
mov dword [r10], r8d
rep movsd dword [rdi], dword [rsi]
mov eax, dword [r10]
lea ecx, [r8 + rax]
mov dword [r10 + 0x40], r8d
mov eax, ecx
shr rax, 0x18
mov edx, dword [r12 + rax*4 + 0x117d60]
xor edx, ecx
ror edx, 8
add edx, dword [r10 + 4]
xor edx, dword [r10 + 0x88]
add edx, dword [r10 + 0x18]
mov eax, edx
shr rax, 0x18
mov ecx, dword [r12 + rax*4 + 0x117d60]
mov dword [r10 + 0x90], 0x20
xor ecx, edx
add ecx, dword [r10 + 0x34]
mov dword [r10 + 0x8c], ecx
nop
nop
test r11d, r11d
je 0x18009dd81
movzx ecx, byte [r10 + 0x8c]
inc rbx
add r11d, 0xffffffff
mov byte [rbx - 1], cl
shr dword [r10 + 0x8c], 8
add dword [r10 + 0x90], 0xfffffff8
cmp dword [r10 + 0x90], 0
jne 0x18009dd50
mov r12, qword [rsp]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x10]
mov eax, ebp
mov rbp, qword [rsp + 0x18]
add rsp, 8
ret