Function at 0x1400865c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14004cdc0
test eax, eax
je 0x14008661d
mov rcx, rbx
call fcn.14004cde0
sub eax, 1
je 0x140086603
sub eax, 9
je 0x1400865f6
cmp eax, 2
jne 0x14008661d
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140166ec0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140167b80
mov rcx, rbx
call fcn.14004ced0
cmp eax, 0x20
jne 0x14008661d
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140084f30
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x20], rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r13, rcx
call fcn.14004cdc0
test eax, eax
je case.0x140166f02.3
mov rcx, r13
call fcn.14004cde0
lea ebx, [rax - 1]
cmp ebx, 0xb
ja case.0x140166f02.3
lea rcx, [0x140000000]
movsxd rax, ebx
mov eax, dword [rcx + rax*4 + 0x167b14]
add rax, rcx
jmp rax
mov rcx, r13
call fcn.14004d4b0
add eax, 0xfffffffe
test eax, 0xfffffffd
je case.0x140166f02.2
mov rcx, r13
call fcn.140084f30
mov r12, rax
test rax, rax
jne 0x140166f41
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r12, r13
mov rcx, r12
call fcn.14004cf10
mov rcx, r12
mov r14d, eax
call fcn.14004cf50
mov edi, eax
mov edx, r14d
xor eax, eax
mov r8d, edi
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
lea r9d, [rax + 8]
lea ecx, [rax + 0xb]
call fcn.14004c310
mov qword [rsp + 0x78], rax
mov r15, rax
test rax, rax
jne 0x140166f92
cmp r12, r13
je case.0x140166f02.3
mov rcx, r12
call fcn.14004cbc0
jmp case.0x140166f02.3
mov qword [rsp + 0x70], rbp
mov rdx, r12
mov rcx, r15
mov qword [rsp + 0x80], rsi
call fcn.14004ed40
mov rcx, r12
call fcn.14004cfe0
mov rcx, r15
mov esi, eax
call fcn.14004cfe0
movsxd rcx, ebx
mov ebp, eax
lea rax, [0x140000000]
mov edx, dword [rax + rcx*4 + 0x167b44]
add rdx, rax
jmp rdx
mov rcx, r12
call fcn.14004cf90
mov rcx, r12
mov ebx, eax
call fcn.14004cf10
mov ecx, eax
xor edx, edx
mov eax, ebx
div ecx
mov rcx, r12
mov r15d, eax
call fcn.14004ce00
mov rcx, qword [rsp + 0x78]
mov rbx, rax
call fcn.14004ce00
mov r11, rax
test edi, edi
je 0x1401671bf
movss xmm2, dword [0x140322c4c]
nop dword [rax]
xor r10d, r10d
mov rdx, rbx
mov rcx, r11
cmp r14d, 4
jb 0x140167155
lea eax, [r14 - 4]
shr eax, 2
inc eax
mov r9d, eax
lea r10d, [rax*4]
nop word [rax + rax]
movzx eax, byte [rdx + 2]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx], xmm0
movzx eax, byte [rdx + 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx + 4], xmm1
movzx eax, byte [rdx]
add rdx, r15
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx + 8], xmm0
movzx eax, byte [rdx + 2]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx + 0xc], xmm0
movzx eax, byte [rdx + 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx + 0x10], xmm1
movzx eax, byte [rdx]
add rdx, r15
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx + 0x14], xmm0
movzx eax, byte [rdx + 2]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx + 0x18], xmm0
movzx eax, byte [rdx + 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx + 0x1c], xmm1
movzx eax, byte [rdx]
add rdx, r15
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx + 0x20], xmm0
movzx eax, byte [rdx + 2]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx + 0x24], xmm0
movzx eax, byte [rdx + 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx + 0x28], xmm1
movzx eax, byte [rdx]
add rdx, r15
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx + 0x2c], xmm0
add rcx, 0x30
sub r9, 1
jne 0x140167050
cmp r10d, r14d
jae 0x1401671af
add rcx, 8
mov r8d, r14d
inc rdx
sub r8d, r10d
movzx eax, byte [rdx + 1]
lea rcx, [rcx + 0xc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x14], xmm0
movzx eax, byte [rdx]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x10], xmm1
movzx eax, byte [rdx - 1]
add rdx, r15
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0xc], xmm0
sub r8, 1
jne 0x140167167
add rbx, rsi
add r11, rbp
sub rdi, 1
jne 0x140167020
mov r15, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x70]
cmp r12, r13
je 0x1401671de
mov rcx, r12
call fcn.14004cbc0
mov rax, r15
jmp 0x140166f28
mov rcx, r12
call fcn.14004ce00
mov rcx, r15
mov rbx, rax
call fcn.14004ce00
mov r11, rax
test edi, edi
je case.0x140166fd2.2
movss xmm2, dword [0x140322c54]
nop dword [rax + rax]
xor r10d, r10d
cmp r14d, 4
jb 0x1401672e1
lea eax, [r14 - 4]
shr eax, 2
lea rdx, [rbx + 4]
inc eax
lea rcx, [r11 + 8]
mov r8d, eax
lea r10d, [rax*4]
lea r9, [rax*4]
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdx - 4]
lea rcx, [rcx + 0x30]
lea rdx, [rdx + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x38], xmm0
movss dword [rcx - 0x34], xmm0
movss dword [rcx - 0x30], xmm0
movzx eax, word [rdx - 0xa]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x2c], xmm1
movss dword [rcx - 0x28], xmm1
movss dword [rcx - 0x24], xmm1
movzx eax, word [rdx - 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x20], xmm0
movss dword [rcx - 0x1c], xmm0
movss dword [rcx - 0x18], xmm0
movzx eax, word [rdx - 6]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x14], xmm1
movss dword [rcx - 0x10], xmm1
movss dword [rcx - 0xc], xmm1
sub r8, 1
jne 0x140167250
cmp r10d, r14d
jb 0x1401672e9
jmp 0x14016732a
test r14d, r14d
je 0x14016732a
xor r9d, r9d
lea rcx, [r9 + 1]
mov r8d, r14d
lea rcx, [r9 + rcx*2]
sub r8d, r10d
lea rcx, [r11 + rcx*4]
lea rdx, [rbx + r9*2]
movzx eax, word [rdx]
lea rcx, [rcx + 0xc]
lea rdx, [rdx + 2]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x14], xmm0
movss dword [rcx - 0x10], xmm0
movss dword [rcx - 0xc], xmm0
sub r8, 1
jne 0x1401672ff
add rbx, rsi
add r11, rbp
sub rdi, 1
jne 0x140167210
jmp case.0x140166fd2.2
mov rcx, r12
call fcn.14004ce00
mov rcx, r15
mov rbx, rax
call fcn.14004ce00
mov r11, rax
test edi, edi
je case.0x140166fd2.2
movss xmm2, dword [0x140322c54]
nop word [rax + rax]
xor r10d, r10d
cmp r14d, 4
jb 0x1401674b9
lea eax, [r14 - 4]
shr eax, 2
lea rcx, [r11 + 8]
inc eax
lea rdx, [rbx + 4]
mov r9d, eax
lea r10d, [rax*4]
lea r8, [rax*4]
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdx - 4]
lea rcx, [rcx + 0x30]
lea rdx, [rdx + 0x18]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x38], xmm0
movzx eax, word [rdx - 0x1a]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x34], xmm1
movzx eax, word [rdx - 0x18]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x30], xmm0
movzx eax, word [rdx - 0x16]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x2c], xmm1
movzx eax, word [rdx - 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x28], xmm0
movzx eax, word [rdx - 0x12]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x24], xmm1
movzx eax, word [rdx - 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x20], xmm0
movzx eax, word [rdx - 0xe]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x1c], xmm1
movzx eax, word [rdx - 0xc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x18], xmm0
movzx eax, word [rdx - 0xa]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x14], xmm1
movzx eax, word [rdx - 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x10], xmm0
movzx eax, word [rdx - 6]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0xc], xmm1
sub r9, 1
jne 0x1401673b0
cmp r10d, r14d
jb 0x1401674c1
jmp 0x140167529
test r14d, r14d
je 0x140167529
xor r8d, r8d
lea rcx, [r8 + 1]
lea rdx, [r8 + 1]
lea rcx, [r8 + rcx*2]
lea rdx, [r8 + rdx*2]
mov r8d, r14d
sub r8d, r10d
lea rcx, [r11 + rcx*4]
lea rdx, [rbx + rdx*2]
movzx eax, word [rdx - 4]
lea rcx, [rcx + 0xc]
lea rdx, [rdx + 6]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x14], xmm0
movzx eax, word [rdx - 8]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x10], xmm1
movzx eax, word [rdx - 6]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0xc], xmm0
sub r8, 1
jne 0x1401674df
add rbx, rsi
add r11, rbp
sub rdi, 1
jne 0x140167370
jmp case.0x140166fd2.2
mov rcx, r12
call fcn.14004ce00
mov rcx, r15
mov rbx, rax
call fcn.14004ce00
mov r11, rax
test edi, edi
je case.0x140166fd2.2
movss xmm2, dword [0x140322c54]
nop dword [rax]
nop dword [rax + rax]
xor r10d, r10d
cmp r14d, 4
jb 0x1401676b9
lea eax, [r14 - 4]
shr eax, 2
lea rcx, [r11 + 8]
inc eax
lea rdx, [rbx + 4]
mov r9d, eax
lea r10d, [rax*4]
lea r8, [rax*4]
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdx - 4]
lea rcx, [rcx + 0x30]
lea rdx, [rdx + 0x20]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x38], xmm0
movzx eax, word [rdx - 0x22]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x34], xmm1
movzx eax, word [rdx - 0x20]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x30], xmm0
movzx eax, word [rdx - 0x1c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x2c], xmm1
movzx eax, word [rdx - 0x1a]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x28], xmm0
movzx eax, word [rdx - 0x18]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x24], xmm1
movzx eax, word [rdx - 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x20], xmm0
movzx eax, word [rdx - 0x12]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x1c], xmm1
movzx eax, word [rdx - 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x18], xmm0
movzx eax, word [rdx - 0xc]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x14], xmm1
movzx eax, word [rdx - 0xa]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x10], xmm0
movzx eax, word [rdx - 8]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0xc], xmm1
sub r9, 1
jne 0x1401675b0
cmp r10d, r14d
jb 0x1401676c1
jmp 0x140167728
test r14d, r14d
je 0x140167728
xor r8d, r8d
lea rcx, [r8 + 1]
lea rdx, [r8*8 + 4]
lea rcx, [r8 + rcx*2]
add rdx, rbx
mov r8d, r14d
lea rcx, [r11 + rcx*4]
sub r8d, r10d
movzx eax, word [rdx - 4]
lea rcx, [rcx + 0xc]
lea rdx, [rdx + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0x14], xmm0
movzx eax, word [rdx - 0xa]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm2
movss dword [rcx - 0x10], xmm1
movzx eax, word [rdx - 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
movss dword [rcx - 0xc], xmm0
sub r8, 1
jne 0x1401676de
add rbx, rsi
add r11, rbp
sub rdi, 1
jne 0x140167570
jmp case.0x140166fd2.2
mov rcx, r12
call fcn.14004ce00
mov rcx, r15
mov rbx, rax
call fcn.14004ce00
mov r10, rax
test edi, edi
je case.0x140166fd2.2
movss xmm2, dword [0x1404721f4]
mov r11, rdi
xorps xmm0, xmm0
nop dword [rax]
xor r9d, r9d
cmp r14d, 4
jb 0x14016784c
lea eax, [r14 - 4]
shr eax, 2
lea rdx, [rbx + 8]
inc eax
lea rcx, [r10 + 8]
mov r8d, eax
lea r9d, [rax*4]
lea rax, [rax*4]
movss xmm3, dword [rdx - 8]
comiss xmm0, xmm3
jbe 0x1401677b0
movaps xmm1, xmm0
jmp 0x1401677b7
movaps xmm1, xmm2
minss xmm1, xmm3
movss dword [rcx - 8], xmm1
movss dword [rcx - 4], xmm1
movss dword [rcx], xmm1
movss xmm3, dword [rdx - 4]
comiss xmm0, xmm3
jbe 0x1401677d4
movaps xmm1, xmm0
jmp 0x1401677db
movaps xmm1, xmm2
minss xmm1, xmm3
movss dword [rcx + 4], xmm1
movss dword [rcx + 8], xmm1
movss dword [rcx + 0xc], xmm1
movss xmm3, dword [rdx]
comiss xmm0, xmm3
jbe 0x1401677f8
movaps xmm1, xmm0
jmp 0x1401677ff
movaps xmm1, xmm2
minss xmm1, xmm3
movss dword [rcx + 0x10], xmm1
movss dword [rcx + 0x14], xmm1
movss dword [rcx + 0x18], xmm1
movss xmm3, dword [rdx + 4]
comiss xmm0, xmm3
jbe 0x14016781d
movaps xmm1, xmm0
jmp 0x140167824
movaps xmm1, xmm2
minss xmm1, xmm3
movss dword [rcx + 0x1c], xmm1
add rdx, 0x10
movss dword [rcx + 0x20], xmm1
movss dword [rcx + 0x24], xmm1
add rcx, 0x30
sub r8, 1
jne 0x1401677a1
cmp r9d, r14d
jb 0x140167853
jmp 0x14016789a
test r14d, r14d
je 0x14016789a
xor eax, eax
lea rcx, [rax + 1]
mov r8d, r14d
lea rcx, [rax + rcx*2]
sub r8d, r9d
lea rcx, [r10 + rcx*4]
lea rdx, [rbx + rax*4]
movss xmm3, dword [rdx]
comiss xmm0, xmm3
jbe 0x140167877
movaps xmm1, xmm0
jmp 0x14016787e
movaps xmm1, xmm2
minss xmm1, xmm3
movss dword [rcx - 8], xmm1
add rdx, 4
movss dword [rcx - 4], xmm1
movss dword [rcx], xmm1
add rcx, 0xc
sub r8, 1
jne 0x140167869
add rbx, rsi
add r10, rbp
sub r11, 1
jne 0x140167770
jmp case.0x140166fd2.2
mov rcx, r12
call fcn.14004ce00
mov rcx, r15
mov rbx, rax
call fcn.14004ce00
mov r11, rax
test edi, edi
je case.0x140166fd2.2
movss xmm1, dword [0x1404721f4]
xorps xmm0, xmm0
nop dword [rax + rax]
xor r10d, r10d
cmp r14d, 4
jb 0x140167a6f
lea eax, [r14 - 4]
shr eax, 2
lea rdx, [r11 + 8]
inc eax
lea rcx, [rbx + 8]
mov r8d, eax
lea r10d, [rax*4]
lea r9, [rax*4]
movss xmm3, dword [rcx - 8]
comiss xmm0, xmm3
jbe 0x140167920
movaps xmm2, xmm0
jmp 0x140167927
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx - 8], xmm2
movss xmm3, dword [rcx - 4]
comiss xmm0, xmm3
jbe 0x14016793b
movaps xmm2, xmm0
jmp 0x140167942
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx - 4], xmm2
movss xmm3, dword [rcx]
comiss xmm0, xmm3
jbe 0x140167955
movaps xmm2, xmm0
jmp 0x14016795c
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx], xmm2
movss xmm3, dword [rcx + 8]
comiss xmm0, xmm3
jbe 0x14016796f
movaps xmm2, xmm0
jmp 0x140167976
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx + 4], xmm2
movss xmm3, dword [rcx + 0xc]
comiss xmm0, xmm3
jbe 0x14016798a
movaps xmm2, xmm0
jmp 0x140167991
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx + 8], xmm2
movss xmm3, dword [rcx + 0x10]
comiss xmm0, xmm3
jbe 0x1401679a5
movaps xmm2, xmm0
jmp 0x1401679ac
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx + 0xc], xmm2
movss xmm3, dword [rcx + 0x18]
comiss xmm0, xmm3
jbe 0x1401679c0
movaps xmm2, xmm0
jmp 0x1401679c7
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx + 0x10], xmm2
movss xmm3, dword [rcx + 0x1c]
comiss xmm0, xmm3
jbe 0x1401679db
movaps xmm2, xmm0
jmp 0x1401679e2
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx + 0x14], xmm2
movss xmm3, dword [rcx + 0x20]
comiss xmm0, xmm3
jbe 0x1401679f6
movaps xmm2, xmm0
jmp 0x1401679fd
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx + 0x18], xmm2
movss xmm3, dword [rcx + 0x28]
comiss xmm0, xmm3
jbe 0x140167a11
movaps xmm2, xmm0
jmp 0x140167a18
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx + 0x1c], xmm2
movss xmm3, dword [rcx + 0x2c]
comiss xmm0, xmm3
jbe 0x140167a2c
movaps xmm2, xmm0
jmp 0x140167a33
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx + 0x20], xmm2
movss xmm3, dword [rcx + 0x30]
comiss xmm0, xmm3
jbe 0x140167a47
movaps xmm2, xmm0
jmp 0x140167a4e
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx + 0x24], xmm2
add rcx, 0x40
add rdx, 0x30
sub r8, 1
jne 0x140167911
cmp r10d, r14d
jb 0x140167a77
jmp 0x140167af1
test r14d, r14d
je 0x140167af1
xor r9d, r9d
lea rdx, [r9 + 1]
mov r8d, r14d
lea rdx, [r9 + rdx*2]
shl r9, 4
lea rcx, [rbx + 8]
add rcx, r9
lea rdx, [r11 + rdx*4]
sub r8d, r10d
movss xmm3, dword [rcx - 8]
comiss xmm0, xmm3
jbe 0x140167aa3
movaps xmm2, xmm0
jmp 0x140167aaa
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx - 8], xmm2
movss xmm3, dword [rcx - 4]
comiss xmm0, xmm3
jbe 0x140167abe
movaps xmm2, xmm0
jmp 0x140167ac5
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx - 4], xmm2
movss xmm3, dword [rcx]
comiss xmm0, xmm3
jbe 0x140167ad8
movaps xmm2, xmm0
jmp 0x140167adf
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [rdx], xmm2
add rcx, 0x10
add rdx, 0xc
sub r8, 1
jne 0x140167a94
add rbx, rsi
add r11, rbp
sub rdi, 1
jne 0x1401678e0
jmp case.0x140166fd2.2
mov rcx, r13
call fcn.14004c360
jmp 0x140166f28
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x40
mov r15, rcx
call fcn.14004cdc0
test eax, eax
je 0x140167c17
mov rcx, r15
call fcn.14004cde0
mov r8d, eax
mov ebx, eax
sub r8d, 1
je 0x140167c3d
sub r8d, 1
je 0x140167bcb
sub r8d, 7
je 0x140167c33
cmp r8d, 1
jne 0x140167c17
mov rsi, r15
mov rcx, rsi
call fcn.14004cf10
mov rcx, rsi
mov ebp, eax
call fcn.14004cf50
xor edi, edi
mov r8d, eax
mov dword [rsp + 0x30], edi
mov edx, ebp
mov dword [rsp + 0x28], edi
mov r14d, eax
mov dword [rsp + 0x20], edi
lea r9d, [rdi + 8]
lea ecx, [rdi + 9]
call fcn.14004c310
mov r13, rax
test rax, rax
jne 0x140167c71
cmp rsi, r15
je 0x140167c17
mov rcx, rsi
call fcn.14004cbc0
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov rcx, r15
call fcn.14004c360
jmp 0x140167c19
mov rcx, r15
call fcn.14004ced0
cmp eax, 0x18
je 0x140167bcb
mov rcx, r15
call fcn.14004ced0
cmp eax, 0x20
je 0x140167bcb
mov rcx, r15
call fcn.140084f30
mov rsi, rax
test rax, rax
jne 0x140167bce
jmp 0x140167c17
mov rdx, rsi
mov rcx, r13
call fcn.14004ed40
sub ebx, 1
je 0x140167d71
sub ebx, 1
je 0x140167d02
cmp ebx, 8
jne 0x140167e0c
test r14d, r14d
je 0x140167e0c
nop dword [rax]
mov edx, edi
mov rcx, rsi
call fcn.14007d5d0
mov edx, edi
mov rcx, r13
mov rbx, rax
call fcn.14007d5d0
test ebp, ebp
je 0x140167cf6
lea rcx, [rax + 4]
mov r8, rbp
lea rdx, [rbx + 4]
nop word [rax + rax]
movzx eax, word [rdx - 4]
lea rdx, [rdx + 8]
mov word [rcx - 4], ax
lea rcx, [rcx + 6]
movzx eax, word [rdx - 0xa]
mov word [rcx - 8], ax
movzx eax, word [rdx - 8]
mov word [rcx - 6], ax
sub r8, 1
jne 0x140167cd0
inc edi
cmp edi, r14d
jb 0x140167ca0
jmp 0x140167e0c
test r14d, r14d
je 0x140167e0c
nop dword [rax + rax]
mov edx, edi
mov rcx, rsi
call fcn.14007d5d0
mov edx, edi
mov rcx, r13
mov rbx, rax
call fcn.14007d5d0
test ebp, ebp
je 0x140167d65
lea rcx, [rax + 4]
mov r8, rbp
nop dword [rax]
nop word [rax + rax]
movzx edx, word [rbx]
lea rbx, [rbx + 2]
mov word [rcx - 4], dx
lea rcx, [rcx + 6]
movzx eax, word [rbx - 2]
mov word [rcx - 8], ax
movzx eax, word [rbx - 2]
mov word [rcx - 6], ax
sub r8, 1
jne 0x140167d40
inc edi
cmp edi, r14d
jb 0x140167d10
jmp 0x140167e0c
mov rcx, rsi
mov qword [rsp + 0x70], r12
call fcn.14004cf90
mov rcx, rsi
mov ebx, eax
call fcn.14004cf10
mov ecx, eax
xor edx, edx
mov eax, ebx
div ecx
mov r12d, eax
test r14d, r14d
je 0x140167e07
nop dword [rax + rax]
mov edx, edi
mov rcx, rsi
call fcn.14007d5d0
mov edx, edi
mov rcx, r13
mov rbx, rax
call fcn.14007d5d0
test ebp, ebp
je 0x140167e00
lea rcx, [rbx + 1]
mov r8, rbp
lea rdx, [rax + 4]
nop word [rax + rax]
movzx eax, byte [rcx + 1]
lea rdx, [rdx + 6]
shl ax, 8
mov word [rdx - 0xa], ax
movzx eax, byte [rcx]
shl ax, 8
mov word [rdx - 8], ax
movzx eax, byte [rcx - 1]
add rcx, r12
shl ax, 8
mov word [rdx - 6], ax
sub r8, 1
jne 0x140167dd0
inc edi
cmp edi, r14d
jb 0x140167da0
mov r12, qword [rsp + 0x70]
cmp rsi, r15
je 0x140167e19
mov rcx, rsi
call fcn.14004cbc0
mov rax, r13
jmp 0x140167c19