Function at 0x1401246d0
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 0x1400f22a1
mov edx, dword [rcx + 0x60]
test edx, edx
jne 0x1400f2241
call fcn.1400f0970
test eax, eax
je 0x1400f2390
lea rax, str.cipher_mode_NONE_used
lea r8, str.cipher_decrypt
lea rcx, str.cipher.c
xor r9d, r9d
mov edx, 0x3ef
mov ebp, 0x47
mov qword [rsp + 0x20], rax
call fcn.1400f0fc0
jmp 0x1400f2296
test byte [rcx + 0x68], 1
je 0x1400f2285
cmp edx, 6
je 0x1400f2300
jle 0x1400f22b0
cmp edx, 9
je 0x1400f2340
jle 0x1400f2421
cmp edx, 0xb
je 0x1400f22e4
jl 0x1400f23e4
cmp edx, 0x10001
mov ebp, 0x47
je 0x1400f2296
lea rcx, str.cipher_decrypt:_invalid_mode__d_n
call fcn.1400ea430
lea rcx, str.cipher_decrypt:_key_not_set_n
mov ebp, 0xb5
call fcn.1400ea400
mov eax, ebp
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rdi, r8
mov rbx, rdx
jmp 0x1400f21ff
cmp edx, 3
je 0x1400f2320
jle 0x1400f2360
cmp edx, 4
je 0x1400f2400
cmp edx, 5
jne 0x1400f2279
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140127570
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp 0x1401273a0
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140125390
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp 0x140123420
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp 0x1401261c0
cmp edx, 1
je 0x1400f23c0
cmp edx, 2
jne 0x1400f2279
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp 0x1401246d0
xor ecx, ecx
call fcn.1400ec010
test eax, eax
je 0x1400f2213
xor ebp, ebp
cmp rbx, rsi
je 0x1400f2296
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call sub.msvcrt.dll_memmove
jmp 0x1400f2296
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.1400f1800
mov ebp, eax
jmp 0x1400f2296
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp 0x140127e60
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 0x1400f2296
cmp edx, 7
je 0x1400f2450
cmp edx, 8
jne 0x1400f2279
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp 0x140124130
mov r9, rbx
mov rdx, rsi
mov qword [rsp + 0x80], rdi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp 0x140122ec0
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 0x140122f00
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 0x140122ee6
test byte [rsp + 0xc0], 7
mov eax, 0x2d
jne 0x140122ee6
mov r13, qword [rsp + 0xc0]
shr r13, 3
cmp r13, 2
jbe 0x140122ee6
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 0x140122f83
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 0x140122ffe
sub rdx, 1
cmp rbp, rdx
jne 0x140122fe6
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 0x140122fb4
sub dword [rsp + 0x34], 1
jne 0x140122faf
test byte [r14 + 0x68], 2
je 0x14012305c
mov rcx, qword [rsp + 0x38]
lea rdx, [r14 + 0x70]
mov r8d, 8
call sub.msvcrt.dll_memcmp
test r12d, r12d
mov ebx, eax
jne 0x140123085
test ebx, ebx
je 0x14012307c
mov eax, 0xa
jmp 0x140122ee6
mov r15, qword [rsp + 0x38]
lea r10, [r14 + 0x98]
cmp byte [r15], 0xa6
jne 0x140123091
add r15, 1
cmp r10, r15
jne 0x140123068
test r12d, r12d
jne 0x140123083
xor eax, eax
jmp 0x140122ee6
xor ebx, ebx
lea ecx, [r12 + 0x20]
call fcn.1400eac80
jmp 0x14012304e
test r12d, r12d
je 0x140123052
mov ebx, 1
jmp 0x140123085
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 0x140123470
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 0x1401236e0
cmp qword [rsp + 0x30], rcx
setb al
test byte [r13 + 0x64], 4
mov byte [rsp + 0x7f], al
je 0x1401234bc
test al, al
jne 0x1401238b9
mov rax, qword [r13 + 0x40]
test rax, rax
je 0x140123724
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 0x1401236d6
cmp byte [rsp + 0x7f], 0
je 0x1401236d6
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 0x1401238f6
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 0x1401235a0
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 0x1401235e7
add rdx, 1
add rax, 1
movzx ecx, byte [rdx - 1]
xor byte [rax - 1], cl
cmp rax, r8
jne 0x1401235d3
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 0x140123632
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 0x140123620
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 0x140123699
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 0x140123670
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 0x1401236c6
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 0x1401236b0
test r14d, r14d
je 0x1401236d6
mov ecx, r14d
add ecx, 0x20
call fcn.1400eac80
xor eax, eax
jmp 0x140123453
cmp rdi, rcx
mov eax, 0x8b
jae 0x140123453
test byte [r13 + 0x64], 4
je 0x140123453
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 0x1401234bc
cmp qword [rsp + 0x38], 0
je 0x1401238c4
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 0x1401238a3
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 0x1401237e0
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 0x140123840
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 0x140123822
mov rax, qword [rsp + 0x30]
add r13, 1
add rdi, rax
add rbp, rax
cmp qword [rsp + 0x38], r13
jne 0x1401237b2
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 0x1401236c6
cmp byte [rsp + 0x7f], 0
je 0x1401236c6
mov rdi, qword [rsp + 0x48]
jmp 0x140123527
mov r10, rdi
mov r15, rsi
mov rcx, rbx
mov r11, rbp
mov r9, qword [rsp + 0x30]
jmp 0x14012381b
sub qword [rsp + 0x38], 2
jmp 0x1401236ff
test byte [r13 + 0x64], 4
je 0x1401236d6
cmp byte [rsp + 0x7f], 0
je 0x1401236d6
lea rax, [r13 + 0x280]
xor r14d, r14d
lea rsi, [r13 + 0x90]
lea rbx, [r13 + 0x70]
mov qword [rsp + 0x48], rax
jmp 0x140123899
mov rdx, rbx
mov rax, r12
mov rcx, rbp
jmp 0x1401235ca
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp r8, qword [rsp + 0x70]
mov ebx, 0xc8
mov rsi, rcx
mov rdi, rdx
jae 0x140124153
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 0x140124149
test byte [rcx + 0x68], 4
jne 0x140124149
test al, 2
je 0x140124149
cmp qword [rcx + 0xb8], 0
jne 0x140124149
mov rax, qword [rcx + 0xb0]
cmp qword [rsp + 0x70], rax
mov ebx, 0x8b
ja 0x140124149
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.140125390
test eax, eax
mov ebx, eax
jne 0x140124149
mov rax, qword [rsp + 0x70]
sub qword [rsi + 0xb0], rax
xor r9d, r9d
mov rdx, rdi
mov rcx, rsi
mov r8, rax
call fcn.140123910
test eax, eax
je 0x140124149
lea ecx, [rax + 0x28]
call fcn.1400eac80
jmp 0x140124149
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 0x140124711
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 0x140124a38
mov rax, qword [rax + 0x40]
test r9d, r9d
mov qword [rsp + 0x30], rax
jne 0x1401247d4
lea rax, [r13 + r13]
xor r14d, r14d
cmp r15, rax
mov qword [rsp + 0x38], rax
jb 0x1401247a1
mov rax, qword [rsp + 0xa0]
mov r10, qword [rax + 0x30]
test r10, r10
je 0x140124ae3
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 0x14012496d
test r15, r15
jne 0x140124899
xor eax, eax
test r14d, r14d
je 0x140124700
lea ecx, [r14 + 0x20]
mov dword [rsp + 0x30], eax
call fcn.1400eac80
mov eax, dword [rsp + 0x30]
jmp 0x140124700
mov rbx, qword [rsp + 0xa0]
mov rax, r13
sub r15, r9
sub rax, r9
cmp r9, 7
lea rdx, [rbx + rax + 0x70]
jbe 0x140124bd7
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 0x140124810
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 0x14012487c
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 0x140124851
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 0x14012473e
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 0x140124947
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 0x140124910
and r9, 0xfffffffffffffff8
lea rax, [r9 + 8]
add rdi, rax
add rsi, rax
add rbx, rax
and r15d, 7
je 0x1401247b3
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 0x140124950
jmp 0x1401247b3
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 0x140124bc9
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 0x1401249d0
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 0x140124a2a
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 0x140124a10
add rsi, r13
add rdi, r13
sub r15, r13
jmp 0x1401247aa
sub r13, r9
cmp r15, 7
lea rdx, [rcx + r13 + 0x70]
jbe 0x140124be5
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 0x140124a60
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 0x140124aca
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 0x140124aa0
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 0x140124700
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 0x140124bbb
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 0x140124b42
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 0x140124b9c
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 0x140124b80
mov rax, r15
add rsi, r13
add rdi, r13
sub rax, r13
cmp qword [rsp + 0x38], r15
ja 0x1401247a1
mov r15, rax
jmp 0x140124b21
mov r11, rdi
mov rcx, rbx
mov r10, rsi
mov r9, r13
jmp 0x140124b72
mov r9, rdi
mov r10, rsi
mov r8, r13
jmp 0x140124a06
mov r11, rdi
mov r10, rsi
mov rbx, r9
jmp 0x14012484f
mov r9, r15
jmp 0x140124a94
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 0x140126200
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp r8, rsi
mov eax, 0xc8
jb 0x1401261ee
movzx edx, byte [rcx + 0xf4]
mov eax, 0x8b
test dl, 4
jne 0x1401261ee
movzx ecx, byte [rcx + 0x68]
mov eax, 0x9c
test cl, 4
jne 0x1401261ee
test dl, 1
jne 0x1401261ee
cmp qword [rbx + 0x110], 0
je 0x1401261ee
and ecx, 2
je 0x140126305
and edx, 2
je 0x1401262dc
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 0x14012627b
add eax, 1
mov dword [rbx + 0xe0], eax
cmp dword [rbx + 0xe0], 0xf
ja 0x14012628b
jne 0x14012629c
cmp edx, 0xffffffe0
jbe 0x14012629c
or byte [rbx + 0xf4], 4
mov eax, 0x8b
jmp 0x1401261ee
lea rdx, [rbx + 0xb0]
mov r9, rsi
mov r8, rbp
mov rcx, rbx
mov dword [rsp + 0x20], 0
call fcn.1401256d0
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.14016cf40
lea rdx, [rbx + 0xb0]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.1401256d0
or byte [rbx + 0xf4], 2
jmp 0x14012624a
lea rdx, [0x1402a5080]
mov r8d, 0x10
mov rcx, rbx
call fcn.140125e40
movzx edx, byte [rbx + 0xf4]
jmp 0x140126241
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.1401267c0
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 0x140127e84
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
movzx edx, byte [rcx + 0x68]
mov eax, 0x9c
test dl, 4
jne 0x140127e7c
movzx ecx, byte [rcx + 0xc0]
mov eax, 0x8b
test cl, 2
jne 0x140127e7c
and edx, 2
je 0x140127f45
and ecx, 1
je 0x140127f75
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 0x140127f30
add eax, 1
test eax, eax
mov dword [rbx + 0xbc], eax
je 0x140127f34
test cl, cl
jne 0x140127f34
mov r8, qword [rsp + 0x70]
lea rcx, [rbx + 0xc8]
mov rdx, rsi
call fcn.1401343a0
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 0x140127e7c
test ecx, ecx
je 0x140127ef7
or byte [rbx + 0xc0], 2
mov eax, 0x8b
jmp 0x140127e7c
lea rdx, [rsp + 0x28]
mov r8d, 8
mov rcx, rbx
mov qword [rsp + 0x28], 0
call fcn.140127980
test eax, eax
jne 0x140127e7c
movzx ecx, byte [rbx + 0xc0]
jmp 0x140127eac
mov rcx, rbx
call fcn.140127930
jmp 0x140127eb5