Function at 0x140123310
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rdi, qword [rsp + 0x80]
test r9, r9
mov rsi, rdx
mov rbx, r9
je 0x1400f2191
mov edx, dword [rcx + 0x60]
test edx, edx
jne 0x1400f2131
call fcn.1400f0860
test eax, eax
je 0x1400f2280
lea rax, str.cipher_mode_NONE_used
lea r8, [0x140271a88]
lea rcx, str.cipher.c
xor r9d, r9d
mov edx, 0x3ef
mov ebp, 0x47
mov qword [rsp + 0x20], rax
call fcn.1400f0eb0
jmp 0x1400f2186
test byte [rcx + 0x68], 1
je 0x1400f2175
cmp edx, 6
je 0x1400f21f0
jle 0x1400f21a0
cmp edx, 9
je 0x1400f2230
jle 0x1400f2311
cmp edx, 0xb
je 0x1400f21d4
jl 0x1400f22d4
cmp edx, 0x10001
mov ebp, 0x47
je 0x1400f2186
lea rcx, str.cipher_decrypt:_invalid_mode__d_n
call fcn.1400ea320
lea rcx, str.cipher_decrypt:_key_not_set_n
mov ebp, 0xb5
call fcn.1400ea2f0
mov eax, ebp
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rdi, r8
mov rbx, rdx
jmp 0x1400f20ef
cmp edx, 3
je 0x1400f2210
jle 0x1400f2250
cmp edx, 4
je 0x1400f22f0
cmp edx, 5
jne 0x1400f2169
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140127460
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp 0x140127290
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140125280
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp 0x140123310
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp 0x1401260b0
cmp edx, 1
je 0x1400f22b0
cmp edx, 2
jne 0x1400f2169
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp 0x1401245c0
xor ecx, ecx
call fcn.1400ebf00
test eax, eax
je 0x1400f2103
xor ebp, ebp
cmp rbx, rsi
je 0x1400f2186
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call sub.msvcrt.dll_memmove
jmp 0x1400f2186
mov rax, qword [rcx + 0x18]
mov r9, rbx
mov rdx, rsi
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
call fcn.1400f16f0
mov ebp, eax
jmp 0x1400f2186
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp 0x140127d50
mov rax, qword [rcx + 0x18]
lea r10, [rcx + 0x280]
mov r9, rdi
mov r8, rbx
mov rdx, rsi
xor ebp, ebp
mov rcx, r10
call qword [rax + 0x58]
jmp 0x1400f2186
cmp edx, 7
je 0x1400f2340
cmp edx, 8
jne 0x1400f2169
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp 0x140124020
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp 0x140122db0
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov eax, 0x8b
mov r15, rdx
mov rdx, qword [rcx + 0x18]
mov r14, rcx
cmp qword [rdx + 0x20], 0x10
je 0x140122df0
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
add r8, 8
cmp r8, qword [rsp + 0xc0]
mov eax, 0xc8
jb 0x140122dd6
test byte [rsp + 0xc0], 7
mov eax, 0x2d
jne 0x140122dd6
mov r13, qword [rsp + 0xc0]
shr r13, 3
cmp r13, 2
jbe 0x140122dd6
lea rax, [rcx + 0x90]
lea rdx, [r9 + 8]
lea rbx, [rcx + 0x80]
lea rsi, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov rax, qword [r9]
mov qword [rcx + 0x90], rax
mov rax, qword [rsp + 0xc0]
mov rcx, r15
lea r8, [rax - 8]
call sub.msvcrt.dll_memmove
lea rax, [r13 - 1]
xor ecx, ecx
lea r8, [rax + rax*2]
mov qword [rsp + 0x28], rax
mov rax, rsi
add r8, r8
mov rdx, r8
sub rax, 1
shr rdx, cl
add ecx, 8
mov byte [rax + 8], dl
cmp ecx, 0x40
jne 0x140122e73
lea rdi, [r14 + 0x280]
lea rbp, [rsp + 0x40]
mov dword [rsp + 0x34], 6
xor r12d, r12d
mov r13, qword [rsp + 0x28]
mov rax, qword [r14 + 0x90]
xor rax, qword [rsp + 0x48]
mov rdx, rbx
mov r8, rbx
mov rcx, rdi
mov qword [r14 + 0x80], rax
mov rax, qword [r15 + r13*8 - 8]
mov qword [r14 + 0x88], rax
mov rax, qword [r14 + 0x18]
call qword [rax + 0x48]
mov rdx, rsi
movzx ecx, byte [rdx + 7]
sub ecx, 1
cmp cl, 0xff
mov byte [rdx + 7], cl
jne 0x140122eee
sub rdx, 1
cmp rbp, rdx
jne 0x140122ed6
cmp r12d, eax
cmovb r12d, eax
mov rax, qword [r14 + 0x80]
mov qword [r14 + 0x90], rax
mov rax, qword [r14 + 0x88]
mov qword [r15 + r13*8 - 8], rax
sub r13, 1
jne 0x140122ea4
sub dword [rsp + 0x34], 1
jne 0x140122e9f
test byte [r14 + 0x68], 2
je 0x140122f4c
mov rcx, qword [rsp + 0x38]
lea rdx, [r14 + 0x70]
mov r8d, 8
call sub.msvcrt.dll_memcmp
test r12d, r12d
mov ebx, eax
jne 0x140122f75
test ebx, ebx
je 0x140122f6c
mov eax, 0xa
jmp 0x140122dd6
mov r15, qword [rsp + 0x38]
lea r10, [r14 + 0x98]
cmp byte [r15], 0xa6
jne 0x140122f81
add r15, 1
cmp r10, r15
jne 0x140122f58
test r12d, r12d
jne 0x140122f73
xor eax, eax
jmp 0x140122dd6
xor ebx, ebx
lea ecx, [r12 + 0x20]
call fcn.1400eab70
jmp 0x140122f3e
test r12d, r12d
je 0x140122f42
mov ebx, 1
jmp 0x140122f75
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov eax, 0xc8
mov r13, rcx
mov rcx, qword [rsp + 0xf0]
mov r12, rdx
mov qword [rsp + 0xe8], r9
cmp rcx, r8
jbe 0x140123360
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [r13 + 0x18]
xor edx, edx
mov rdi, qword [rax + 0x20]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x40], rax
mov rax, rcx
mov qword [rsp + 0x30], rdi
div rdi
test rdx, rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x38], rax
jne 0x1401235d0
cmp qword [rsp + 0x30], rcx
setb al
test byte [r13 + 0x64], 4
mov byte [rsp + 0x7f], al
je 0x1401233ac
test al, al
jne 0x1401237a9
mov rax, qword [r13 + 0x40]
test rax, rax
je 0x140123614
mov rsi, qword [rsp + 0x38]
lea rbx, [r13 + 0x70]
lea rdi, [r13 + 0x280]
mov r9, qword [rsp + 0xe8]
mov r8, r12
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call rax
test byte [r13 + 0x64], 4
je 0x1401235c6
cmp byte [rsp + 0x7f], 0
je 0x1401235c6
mov rax, qword [rsp + 0x38]
lea rsi, [r13 + 0x90]
xor r14d, r14d
imul rax, qword [rsp + 0x30]
add qword [rsp + 0xe8], rax
add r12, rax
mov r15, qword [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
mov rax, qword [rsp + 0x70]
mov r8, r15
test rax, rax
mov rbp, rax
cmove rbp, r15
call sub.msvcrt.dll_memcpy
mov rdx, r15
add rdx, qword [rsp + 0xe8]
mov r8, rbp
mov rcx, rbx
call sub.msvcrt.dll_memcpy
mov r8, qword [rsp + 0xe8]
mov rdx, r12
mov rcx, rdi
mov rax, qword [rsp + 0x40]
call rax
cmp eax, r14d
cmovae r14d, eax
cmp rbp, 7
jbe 0x1401237e6
lea r9, [rbp - 8]
mov rdx, rbx
mov rax, r9
shr rax, 3
lea r8, [r12 + rax*8 + 8]
mov rax, r12
nop dword [rax + rax]
add rax, 8
add rdx, 8
mov rcx, qword [rdx - 8]
xor qword [rax - 8], rcx
cmp rax, r8
jne 0x140123490
and r9, 0xfffffffffffffff8
mov rcx, rbp
lea rax, [r9 + 8]
and ecx, 7
lea rdx, [rbx + rax]
add rax, r12
test rcx, rcx
lea r8, [rax + rcx]
je 0x1401234d7
add rdx, 1
add rax, 1
movzx ecx, byte [rdx - 1]
xor byte [rax - 1], cl
cmp rax, r8
jne 0x1401234c3
mov r15, qword [rsp + 0x30]
mov r8, rbp
mov rdx, r12
movsxd rbp, ebp
lea rcx, [r12 + r15]
call sub.msvcrt.dll_memcpy
cmp r15, rbp
jbe 0x140123522
mov r9, qword [rsp + 0x30]
lea r8, [r12 + rbp]
lea rcx, [r13 + rbp]
xor eax, eax
sub r9, rbp
nop word cs:[rax + rax]
movzx edx, byte [r8 + rax]
mov byte [rcx + rax + 0x70], dl
add rax, 1
cmp r9, rax
jne 0x140123510
mov r8, rbx
mov rdx, r12
mov rcx, rdi
mov rax, qword [rsp + 0x40]
call rax
cmp r14d, eax
cmovae eax, r14d
cmp qword [rsp + 0x30], 7
mov r14d, eax
jbe 0x140123589
mov rax, qword [rsp + 0x30]
mov rdx, rsi
lea r9, [rax - 8]
mov rax, r9
shr rax, 3
lea r8, [r12 + rax*8 + 8]
mov rax, r12
nop
add rax, 8
add rdx, 8
mov rcx, qword [rdx - 8]
xor qword [rax - 8], rcx
cmp rax, r8
jne 0x140123560
and r9, 0xfffffffffffffff8
and qword [rsp + 0x30], 7
lea rax, [r9 + 8]
add rsi, rax
add r12, rax
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1401235b6
mov rdx, rax
add rdx, r12
nop dword [rax]
add rsi, 1
add r12, 1
movzx eax, byte [rsi - 1]
xor byte [r12 - 1], al
cmp r12, rdx
jne 0x1401235a0
test r14d, r14d
je 0x1401235c6
mov ecx, r14d
add ecx, 0x20
call fcn.1400eab70
xor eax, eax
jmp 0x140123343
cmp rdi, rcx
mov eax, 0x8b
jae 0x140123343
test byte [r13 + 0x64], 4
je 0x140123343
sub qword [rsp + 0x38], 1
lea rsi, [r13 + 0x90]
lea rbx, [r13 + 0x70]
mov r8, qword [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call sub.msvcrt.dll_memcpy
mov byte [rsp + 0x7f], 1
jmp 0x1401233ac
cmp qword [rsp + 0x38], 0
je 0x1401237b4
mov rcx, qword [rsp + 0x30]
lea rax, [r13 + 0x280]
lea rbx, [r13 + 0x70]
lea rsi, [r13 + 0x90]
mov rdi, qword [rsp + 0xe8]
xor r11d, r11d
mov qword [rsp + 0x48], rax
xor r10d, r10d
mov rbp, r12
mov rax, rcx
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0xd8], r12
sub rax, 8
mov r13, r10
mov r12d, r11d
mov rdx, rax
and rax, 0xfffffffffffffff8
add rax, 8
shr rdx, 3
lea r14, [rdx*8 + 8]
mov qword [rsp + 0x50], rax
lea rdx, [rsi + rax]
add rax, rbx
mov qword [rsp + 0x60], rax
mov rax, rcx
mov qword [rsp + 0x58], rdx
and eax, 7
mov qword [rsp + 0x68], rax
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
call rax
cmp r12d, eax
cmovb r12d, eax
cmp qword [rsp + 0x30], 7
jbe 0x140123793
xor eax, eax
nop dword [rax]
mov rdx, qword [rbx + rax]
xor rdx, qword [rsi + rax]
mov rcx, qword [rdi + rax]
mov qword [rbp + rax], rdx
mov qword [rbx + rax], rcx
add rax, 8
cmp rax, r14
jne 0x1401236d0
mov rax, qword [rsp + 0x50]
mov r9, qword [rsp + 0x68]
mov r15, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
lea r10, [rdi + rax]
lea r11, [rbp + rax]
xor eax, eax
test r9, r9
je 0x140123730
movzx edx, byte [rcx + rax]
movzx r8d, byte [r10 + rax]
xor dl, byte [r15 + rax]
mov byte [r11 + rax], dl
mov byte [rcx + rax], r8b
add rax, 1
cmp r9, rax
jne 0x140123712
mov rax, qword [rsp + 0x30]
add r13, 1
add rdi, rax
add rbp, rax
cmp qword [rsp + 0x38], r13
jne 0x1401236a2
mov rax, qword [rsp + 0x38]
mov r14d, r12d
mov r13, qword [rsp + 0xd0]
imul rax, qword [rsp + 0x30]
mov r12, qword [rsp + 0xd8]
add qword [rsp + 0xe8], rax
add r12, rax
test byte [r13 + 0x64], 4
je 0x1401235b6
cmp byte [rsp + 0x7f], 0
je 0x1401235b6
mov rdi, qword [rsp + 0x48]
jmp 0x140123417
mov r10, rdi
mov r15, rsi
mov rcx, rbx
mov r11, rbp
mov r9, qword [rsp + 0x30]
jmp 0x14012370b
sub qword [rsp + 0x38], 2
jmp 0x1401235ef
test byte [r13 + 0x64], 4
je 0x1401235c6
cmp byte [rsp + 0x7f], 0
je 0x1401235c6
lea rax, [r13 + 0x280]
xor r14d, r14d
lea rsi, [r13 + 0x90]
lea rbx, [r13 + 0x70]
mov qword [rsp + 0x48], rax
jmp 0x140123789
mov rdx, rbx
mov rax, r12
mov rcx, rbp
jmp 0x1401234ba
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp r8, qword [rsp + 0x70]
mov ebx, 0xc8
mov rsi, rcx
mov rdi, rdx
jae 0x140124043
mov eax, ebx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
movzx eax, byte [rcx + 0xe8]
mov ebx, 0x9c
test al, 1
je 0x140124039
test byte [rcx + 0x68], 4
jne 0x140124039
test al, 2
je 0x140124039
cmp qword [rcx + 0xb8], 0
jne 0x140124039
mov rax, qword [rcx + 0xb0]
cmp qword [rsp + 0x70], rax
mov ebx, 0x8b
ja 0x140124039
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.140125280
test eax, eax
mov ebx, eax
jne 0x140124039
mov rax, qword [rsp + 0x70]
sub qword [rsi + 0xb0], rax
xor r9d, r9d
mov rdx, rdi
mov rcx, rsi
mov r8, rax
call fcn.140123800
test eax, eax
je 0x140124039
lea ecx, [rax + 0x28]
call fcn.1400eab70
jmp 0x140124039
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov r15, qword [rsp + 0xc0]
mov eax, 0xc8
mov qword [rsp + 0xa0], rcx
mov rsi, rdx
mov rdi, r9
cmp r8, r15
jae 0x140124601
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movsxd r9, dword [rcx + 0xa0]
mov rax, qword [rcx + 0x18]
mov r13, qword [rax + 0x20]
cmp r15, r9
mov r10, r9
jbe 0x140124928
mov rax, qword [rax + 0x40]
test r9d, r9d
mov qword [rsp + 0x30], rax
jne 0x1401246c4
lea rax, [r13 + r13]
xor r14d, r14d
cmp r15, rax
mov qword [rsp + 0x38], rax
jb 0x140124691
mov rax, qword [rsp + 0xa0]
mov r10, qword [rax + 0x30]
test r10, r10
je 0x1401249d3
mov rax, r15
xor edx, edx
mov r9, rdi
div r13
mov r8, rsi
mov r15, rax
mov rax, qword [rsp + 0xa0]
mov rbx, rdx
mov qword [rsp + 0x20], r15
imul r15, r13
lea rdx, [rax + 0x70]
lea rcx, [rax + 0x280]
call r10
add rsi, r15
add rdi, r15
mov r15, rbx
cmp r15, r13
jae 0x14012485d
test r15, r15
jne 0x140124789
xor eax, eax
test r14d, r14d
je 0x1401245f0
lea ecx, [r14 + 0x20]
mov dword [rsp + 0x30], eax
call fcn.1400eab70
mov eax, dword [rsp + 0x30]
jmp 0x1401245f0
mov rbx, qword [rsp + 0xa0]
mov rax, r13
sub r15, r9
sub rax, r9
cmp r9, 7
lea rdx, [rbx + rax + 0x70]
jbe 0x140124ac7
lea rbp, [r9 - 8]
xor eax, eax
mov rbx, rbp
shr rbx, 3
lea r10, [rbx*8 + 8]
nop dword [rax]
mov rcx, qword [rdi + rax]
mov r8, rcx
xor r8, qword [rdx + rax]
mov qword [rsi + rax], r8
mov qword [rdx + rax], rcx
add rax, 8
cmp rax, r10
jne 0x140124700
neg rbx
mov rax, rbp
and rax, 0xfffffffffffffff8
lea rbx, [rbp + rbx*8]
add rax, 8
add rdx, rax
test rbx, rbx
lea r11, [rdi + rax]
lea r10, [rsi + rax]
je 0x14012476c
xor eax, eax
movzx ecx, byte [r11 + rax]
mov r8d, ecx
xor r8b, byte [rdx + rax]
mov byte [r10 + rax], r8b
mov byte [rdx + rax], cl
add rax, 1
cmp rax, rbx
jne 0x140124741
mov rax, qword [rsp + 0xa0]
movsxd r9, dword [rax + 0xa0]
mov rax, qword [rsp + 0xa0]
add rsi, r9
add rdi, r9
mov dword [rax + 0xa0], 0
jmp 0x14012462e
mov rax, qword [rsp + 0xa0]
mov r8, r13
lea rbx, [rax + 0x70]
lea rcx, [rax + 0x90]
mov rdx, rbx
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0xa0]
mov r8, rbx
mov rdx, rbx
lea rcx, [rax + 0x280]
mov rax, qword [rsp + 0x30]
call rax
cmp r14d, eax
cmovb r14d, eax
mov rax, qword [rsp + 0xa0]
sub r13d, r15d
cmp r15, 7
mov dword [rax + 0xa0], r13d
jbe 0x140124837
lea r9, [r15 - 8]
mov rax, r9
shr rax, 3
lea r8, [rax*8 + 8]
xor eax, eax
nop word [rax + rax]
mov rdx, qword [rdi + rax]
mov rcx, rdx
xor rcx, qword [rbx + rax]
mov qword [rsi + rax], rcx
mov qword [rbx + rax], rdx
add rax, 8
cmp r8, rax
jne 0x140124800
and r9, 0xfffffffffffffff8
lea rax, [r9 + 8]
add rdi, rax
add rsi, rax
add rbx, rax
and r15d, 7
je 0x1401246a3
xor eax, eax
nop dword [rax]
movzx edx, byte [rdi + rax]
mov ecx, edx
xor cl, byte [rbx + rax]
mov byte [rsi + rax], cl
mov byte [rbx + rax], dl
add rax, 1
cmp r15, rax
jne 0x140124840
jmp 0x1401246a3
mov rax, qword [rsp + 0xa0]
mov r8, r13
lea rbx, [rax + 0x70]
lea rcx, [rax + 0x90]
mov rdx, rbx
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0xa0]
mov r8, rbx
mov rdx, rbx
lea rcx, [rax + 0x280]
mov rax, qword [rsp + 0x30]
call rax
cmp r14d, eax
cmovb r14d, eax
cmp r13, 7
jbe 0x140124ab9
lea r9, [r13 - 8]
mov rax, r9
shr rax, 3
lea r8, [rax*8 + 8]
xor eax, eax
nop dword [rax]
mov rdx, qword [rdi + rax]
mov rcx, rdx
xor rcx, qword [rbx + rax]
mov qword [rsi + rax], rcx
mov qword [rbx + rax], rdx
add rax, 8
cmp rax, r8
jne 0x1401248c0
and r9, 0xfffffffffffffff8
mov r8, r13
lea rax, [r9 + 8]
and r8d, 7
lea r9, [rdi + rax]
lea r10, [rsi + rax]
add rbx, rax
xor eax, eax
test r8, r8
je 0x14012491a
nop dword [rax]
movzx edx, byte [r9 + rax]
mov ecx, edx
xor cl, byte [rbx + rax]
mov byte [r10 + rax], cl
mov byte [rbx + rax], dl
add rax, 1
cmp rax, r8
jne 0x140124900
add rsi, r13
add rdi, r13
sub r15, r13
jmp 0x14012469a
sub r13, r9
cmp r15, 7
lea rdx, [rcx + r13 + 0x70]
jbe 0x140124ad5
lea r11, [r15 - 8]
mov rax, r11
shr rax, 3
lea r9, [rax*8 + 8]
xor eax, eax
nop
mov rcx, qword [rdi + rax]
mov r8, rcx
xor r8, qword [rdx + rax]
mov qword [rsi + rax], r8
mov qword [rdx + rax], rcx
add rax, 8
cmp r9, rax
jne 0x140124950
and r11, 0xfffffffffffffff8
mov r9, r15
lea rax, [r11 + 8]
and r9d, 7
add rdi, rax
add rdx, rax
add rsi, rax
test r9, r9
je 0x1401249ba
xor eax, eax
nop dword [rax + rax]
movzx ecx, byte [rdi + rax]
mov r8d, ecx
xor r8b, byte [rdx + rax]
mov byte [rsi + rax], r8b
mov byte [rdx + rax], cl
add rax, 1
cmp rax, r9
jne 0x140124990
mov rax, qword [rsp + 0xa0]
mov r10d, dword [rax + 0xa0]
mov rax, qword [rsp + 0xa0]
sub r10d, r15d
mov dword [rax + 0xa0], r10d
xor eax, eax
jmp 0x1401245f0
mov rax, qword [rsp + 0xa0]
lea r12, [r13 - 8]
sub r15, r13
lea rbx, [rax + 0x70]
add rax, 0x280
mov qword [rsp + 0x40], rax
mov rax, r12
and r12, 0xfffffffffffffff8
shr rax, 3
add r12, 8
lea rbp, [rax*8 + 8]
lea rax, [rbx + r12]
mov qword [rsp + 0x48], rax
mov r8, rbx
mov rdx, rbx
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x30]
call rax
cmp r14d, eax
cmovb r14d, eax
cmp r13, 7
jbe 0x140124aab
xor eax, eax
mov rdx, qword [rdi + rax]
mov rcx, rdx
xor rcx, qword [rbx + rax]
mov qword [rsi + rax], rcx
mov qword [rbx + rax], rdx
add rax, 8
cmp rax, rbp
jne 0x140124a32
mov rcx, qword [rsp + 0x48]
mov r9, r13
lea r11, [rdi + r12]
lea r10, [rsi + r12]
and r9d, 7
xor eax, eax
test r9, r9
je 0x140124a8c
nop dword [rax]
movzx edx, byte [r11 + rax]
mov r8d, edx
xor r8b, byte [rcx + rax]
mov byte [r10 + rax], r8b
mov byte [rcx + rax], dl
add rax, 1
cmp rax, r9
jne 0x140124a70
mov rax, r15
add rsi, r13
add rdi, r13
sub rax, r13
cmp qword [rsp + 0x38], r15
ja 0x140124691
mov r15, rax
jmp 0x140124a11
mov r11, rdi
mov rcx, rbx
mov r10, rsi
mov r9, r13
jmp 0x140124a62
mov r9, rdi
mov r10, rsi
mov r8, r13
jmp 0x1401248f6
mov r11, rdi
mov r10, rsi
mov rbx, r9
jmp 0x14012473f
mov r9, r15
jmp 0x140124984
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov eax, 0xc
mov rsi, qword [rsp + 0x80]
mov r12, rdx
mov rdx, qword [rcx + 0x18]
mov rbx, rcx
mov rdi, r8
mov rbp, r9
cmp qword [rdx + 0x20], 0x10
je 0x1401260f0
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp r8, rsi
mov eax, 0xc8
jb 0x1401260de
movzx edx, byte [rcx + 0xf4]
mov eax, 0x8b
test dl, 4
jne 0x1401260de
movzx ecx, byte [rcx + 0x68]
mov eax, 0x9c
test cl, 4
jne 0x1401260de
test dl, 1
jne 0x1401260de
cmp qword [rbx + 0x110], 0
je 0x1401260de
and ecx, 2
je 0x1401261f5
and edx, 2
je 0x1401261cc
mov edx, dword [rbx + 0xdc]
mov rax, rsi
shr rax, 0x20
add eax, dword [rbx + 0xe0]
add edx, esi
mov ecx, edx
mov dword [rbx + 0xdc], edx
cmp rsi, rcx
mov dword [rbx + 0xe0], eax
jbe 0x14012616b
add eax, 1
mov dword [rbx + 0xe0], eax
cmp dword [rbx + 0xe0], 0xf
ja 0x14012617b
jne 0x14012618c
cmp edx, 0xffffffe0
jbe 0x14012618c
or byte [rbx + 0xf4], 4
mov eax, 0x8b
jmp 0x1401260de
lea rdx, [rbx + 0xb0]
mov r9, rsi
mov r8, rbp
mov rcx, rbx
mov dword [rsp + 0x20], 0
call fcn.1401255c0
mov r9, rbp
mov r8, rdi
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x80], rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14016ce40
lea rdx, [rbx + 0xb0]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.1401255c0
or byte [rbx + 0xf4], 2
jmp 0x14012613a
lea rdx, [0x1402a4080]
mov r8d, 0x10
mov rcx, rbx
call fcn.140125d30
movzx edx, byte [rbx + 0xf4]
jmp 0x140126131
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8, rdx
xor edx, edx
mov qword [rsp + 0x28], rax
call fcn.1401266b0
add rsp, 0x38
ret
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp r8, qword [rsp + 0x70]
mov eax, 0xc8
mov rbx, rcx
mov rdi, rdx
mov rsi, r9
jae 0x140127d74
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
movzx edx, byte [rcx + 0x68]
mov eax, 0x9c
test dl, 4
jne 0x140127d6c
movzx ecx, byte [rcx + 0xc0]
mov eax, 0x8b
test cl, 2
jne 0x140127d6c
and edx, 2
je 0x140127e35
and ecx, 1
je 0x140127e65
mov rax, qword [rsp + 0x70]
xor ecx, ecx
mov edx, dword [rbx + 0xb8]
shr rax, 0x20
add eax, dword [rbx + 0xbc]
setb cl
add edx, dword [rsp + 0x70]
mov dword [rbx + 0xbc], eax
cmp qword [rsp + 0x70], rdx
mov dword [rbx + 0xb8], edx
jbe 0x140127e20
add eax, 1
test eax, eax
mov dword [rbx + 0xbc], eax
je 0x140127e24
test cl, cl
jne 0x140127e24
mov r8, qword [rsp + 0x70]
lea rcx, [rbx + 0xc8]
mov rdx, rsi
call fcn.140134290
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x280]
mov r9, qword [rsp + 0x70]
mov r8, rsi
mov rdx, rdi
call qword [rax + 0x58]
xor eax, eax
jmp 0x140127d6c
test ecx, ecx
je 0x140127de7
or byte [rbx + 0xc0], 2
mov eax, 0x8b
jmp 0x140127d6c
lea rdx, [rsp + 0x28]
mov r8d, 8
mov rcx, rbx
mov qword [rsp + 0x28], 0
call fcn.140127870
test eax, eax
jne 0x140127d6c
movzx ecx, byte [rbx + 0xc0]
jmp 0x140127d9c
mov rcx, rbx
call fcn.140127820
jmp 0x140127da5