Function at 0x180003b40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov dword [rax + 8], ecx
push r14
sub rsp, 0x130
mov r14, rdx
lea edx, [rcx + 0x9cd]
mov dword [rsp + 0x20], edx
cmp ecx, edx
jae 0x1800041ee
mov qword [rax + 0x10], rbx
mov qword [rax - 0x10], rbp
mov ebp, dword [rsp + 0x140]
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov r13d, dword [rsp + 0x140]
mov qword [rax - 0x38], r15
mov r15, qword [rsp + 0x160]
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movss xmm7, dword [rsp + 0x140]
movaps xmmword [rax - 0x68], xmm8
movss xmm8, dword [rsp + 0x140]
movaps xmmword [rax - 0x78], xmm9
movss xmm9, dword [rsp + 0x140]
movaps xmmword [rax - 0x88], xmm10
movss xmm10, dword [0x180072b1c]
movaps xmmword [rax - 0x98], xmm11
movss xmm11, dword [rsp + 0x140]
movaps xmmword [rax - 0xa8], xmm12
movss xmm12, dword [0x180072adc]
movaps xmmword [rax - 0xb8], xmm13
movss xmm13, dword [0x180072a7c]
movaps xmmword [rsp + 0x70], xmm14
movss xmm14, dword [rsp + 0x140]
movaps xmmword [rsp + 0x60], xmm15
movss xmm15, dword [rsp + 0x140]
cmp ecx, 0x36e
ja 0x180003ed9
je 0x180003dfa
cmp ecx, 0x1df
ja 0x180003d80
je 0x180003d72
mov eax, ecx
sub eax, 0x5d
je 0x180003d63
sub eax, 0xc1
je 0x180003ca8
cmp eax, 0xd
jne 0x18000413f
movss xmm0, dword [0x180072bb8]
movss xmm6, dword [r14 + 0x2074]
movss dword [rsp + 0x2c], xmm0
movss xmm0, dword [0x180072bd0]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x38], xmm6
jmp 0x18000413f
xor r8d, r8d
mov dword [rsp + 0x30], r8d
cmp dword [r9], r8d
jle 0x18000413f
nop dword [rax]
mov r8, qword [rsp + 0x168]
mov edx, 0xb
nop dword [rax]
cmp edx, 0xb
je 0x180003d18
cmp edx, 0x743
je 0x180003cf7
cmp edx, 0xe7b
je 0x180003cf3
cmp edx, 0x15b3
jne 0x180003d27
add r14, 4
jmp 0x180003d27
add ebp, ebp
jmp 0x180003d27
mov eax, r13d
sar eax, 0x10
mov word [r8], ax
add r8, 2
movsx ecx, word [r15]
movsx ebp, word [r14]
cwde
imul ecx, eax
shl ebp, 0xe
sub ebp, ecx
jmp 0x180003d27
movsx r13d, word [r14]
movsx eax, word [r15]
imul r13d, eax
add r13d, ebp
add edx, 0x738
cmp edx, 0x1ce0
jbe 0x180003cd0
mov qword [rsp + 0x168], r8
mov r8d, dword [rsp + 0x30]
inc r8d
mov dword [rsp + 0x30], r8d
cmp r8d, dword [r9]
jl 0x180003cc0
mov ecx, dword [rsp + 0x140]
mov edx, dword [rsp + 0x20]
jmp 0x18000413f
movsx ebp, word [r8]
xor r13d, r13d
shl ebp, 0x10
jmp 0x18000413f
mov eax, ebp
sar eax, 0x10
mov word [r8], ax
jmp 0x18000413f
cmp ecx, 0x1ec
je 0x180003dca
cmp ecx, 0x2ad
jne 0x18000413f
movss xmm0, dword [r14 + 0x2084]
xorps xmm11, xmm11
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [r14 + 0x2088]
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [r14 + 0x208c]
movss dword [rsp + 0x54], xmm0
jmp 0x18000413f
cvttss2si ebx, dword [r14 + 0x207c]
movss xmm0, dword [r14 + 0x2078]
movss xmm6, dword [r14 + 0x2080]
mov dword [rsp + 0x34], ebx
movss dword [rsp + 0x24], xmm0
movss dword [rsp + 0x3c], xmm6
jmp 0x18000413f
mov eax, dword [r14 + 0x10]
xor r12d, r12d
test eax, eax
jle 0x180003ec8
mov r15, qword [rsp + 0x160]
lea rdi, [r14 + 0x28a0]
sub r15, r14
mov rsi, r8
sub rsi, r14
mov ebx, 5
mov eax, ebx
sub eax, 3
je 0x180003e73
sub eax, 1
je 0x180003e5d
cmp eax, 1
jne 0x180003e9a
movss xmm7, dword [rdi + r15 - 0x28a0]
addss xmm7, xmm7
movaps xmm9, xmm7
addss xmm9, xmm10
movaps xmm0, xmm9
addss xmm0, xmm13
divss xmm7, xmm0
jmp 0x180003e9a
movss xmm8, dword [rdi + rsi - 0x28a0]
addss xmm8, xmm10
mulss xmm8, xmm7
jmp 0x180003e9a
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_logf
movaps xmm1, xmm8
subss xmm1, xmm0
subss xmm1, dword [rdi]
mulss xmm1, xmm12
addss xmm1, dword [rdi]
movss dword [rdi], xmm1
addss xmm11, xmm1
dec ebx
cmp ebx, 2
ja 0x180003e26
mov eax, dword [r14 + 0x10]
inc r12d
add rdi, 4
cmp r12d, eax
jl 0x180003e21
mov r15, qword [rsp + 0x160]
mov ecx, dword [rsp + 0x140]
mov edx, dword [rsp + 0x20]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm11, xmm0
jmp 0x18000413f
cmp ecx, 0x672
ja 0x180004038
je 0x180003fe3
cmp ecx, 0x42f
je 0x180003fce
cmp ecx, 0x4f0
je 0x180003f80
cmp ecx, 0x5b1
jne 0x18000413f
mov ebx, dword [rsp + 0x34]
movss xmm14, dword [rsp + 0x2c]
cmp ebx, 1
jne 0x180003f27
comiss xmm9, dword [rsp + 0x24]
jmp 0x180003f36
cmp ebx, 0xffffffff
jne 0x180003f3f
movss xmm1, dword [rsp + 0x24]
comiss xmm1, xmm9
jbe 0x180003f3f
movss xmm14, dword [rsp + 0x28]
movss xmm0, dword [rsp + 0x24]
subss xmm0, xmm9
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm14
mulss xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_tanhf
mov ecx, dword [rsp + 0x140]
movaps xmm15, xmm0
mov edx, dword [rsp + 0x20]
addss xmm15, xmm10
mulss xmm15, xmm12
jmp 0x18000413f
movss xmm6, dword [rsp + 0x38]
comiss xmm6, xmm11
jbe 0x180003f93
movss xmm14, dword [rsp + 0x28]
movaps xmm0, xmm11
subss xmm0, xmm6
mulss xmm0, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_tanhf
movss xmm9, dword [r14 + 0x2aa8]
addss xmm0, xmm10
mov ecx, dword [rsp + 0x140]
mov edx, dword [rsp + 0x20]
mulss xmm0, xmm12
movss dword [rsp + 0x4c], xmm0
jmp 0x18000413f
movss xmm14, dword [rsp + 0x2c]
movss dword [r14 + 0x2ab4], xmm11
jmp 0x18000413f
movss xmm9, dword [r14 + 0x2ab8]
movss xmm6, dword [rsp + 0x3c]
comiss xmm6, xmm9
movss xmm14, dword [rsp + 0x2c]
jbe 0x180004006
movss xmm14, dword [rsp + 0x40]
movaps xmm0, xmm9
subss xmm0, xmm6
mulss xmm0, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_tanhf
mov ecx, dword [rsp + 0x140]
addss xmm0, xmm10
mov edx, dword [rsp + 0x20]
mulss xmm0, xmm12
movss dword [rsp + 0x50], xmm0
jmp 0x18000413f
cmp ecx, 0x733
je 0x1800040f3
cmp ecx, 0x7f4
jne 0x18000413f
movss xmm0, dword [r14 + 0x2aa4]
comiss xmm0, xmm10
jbe 0x18000406e
mov dword [r14 + 0x2aa4], 0x3f800000
movaps xmm0, xmm10
movss xmm1, dword [0x180072a9c]
comiss xmm1, xmm0
jbe 0x180004089
mov dword [r14 + 0x2aa4], 0x3c23d70a
movaps xmm0, xmm1
movaps xmm6, xmm10
xor edi, edi
subss xmm6, xmm0
addss xmm0, xmm13
divss xmm6, xmm0
cmp dword [r14 + 0x10], edi
jle 0x18000413f
mov rsi, r14
mov rbx, r9
sub rsi, r9
nop
movss xmm0, dword [rsi + rbx + 0x28a0]
xorps xmm0, xmmword [0x180072cd0]
call sub.api_ms_win_crt_math_l1_1_0.dll_expf
mulss xmm0, xmm6
movaps xmm1, xmm10
inc edi
addss xmm0, xmm10
divss xmm1, xmm0
movss dword [rbx], xmm1
add rbx, 4
cmp edi, dword [r14 + 0x10]
jl 0x1800040b0
mov ecx, dword [rsp + 0x140]
mov edx, dword [rsp + 0x20]
jmp 0x18000413f
movss xmm2, dword [r14 + 0x2aa4]
movaps xmm3, xmm15
mulss xmm3, dword [rsp + 0x44]
movss xmm0, dword [rsp + 0x48]
mulss xmm0, dword [rsp + 0x4c]
movss xmm1, dword [rsp + 0x50]
mulss xmm1, dword [rsp + 0x54]
addss xmm3, xmm0
addss xmm3, xmm1
subss xmm3, xmm2
mulss xmm3, dword [0x180072ab4]
addss xmm3, xmm2
movss dword [r14 + 0x2aa4], xmm3
mov r9, qword [rsp + 0x158]
add ecx, 0xc1
mov r8, qword [rsp + 0x150]
mov dword [rsp + 0x140], ecx
cmp ecx, edx
jb 0x180003c33
movaps xmm15, xmmword [rsp + 0x60]
movaps xmm14, xmmword [rsp + 0x70]
movaps xmm13, xmmword [rsp + 0x80]
movaps xmm12, xmmword [rsp + 0x90]
movaps xmm11, xmmword [rsp + 0xa0]
movaps xmm10, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
mov r15, qword [rsp + 0x100]
mov r13, qword [rsp + 0x108]
mov r12, qword [rsp + 0x110]
mov rdi, qword [rsp + 0x118]
mov rsi, qword [rsp + 0x120]
mov rbp, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x148]
add rsp, 0x130
pop r14
ret