Function at 0x40ada0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x168
mov rbx, qword [0x00420128]
test rbx, rbx
mov qword [rsp + 0x1b0], rcx
je 0x40c650
mov rax, qword [rbx]
lea rcx, [0x00418020]
mov ebp, 7
lea rdi, [rax + rax]
cmp rdi, 7
cmovge rbp, rdi
lea rdx, [rbp + 0x11]
call fcn.00407850
movq xmm0, rdi
movq xmm5, rbp
punpcklqdq xmm0, xmm5
movups xmmword [rax], xmm0
mov r9, qword [rbx]
mov rsi, rax
lea r8, [0x0041b3c0]
xor eax, eax
test r9, r9
jle 0x40ae4c
nop
nop word cs:[rax + rax]
movzx ecx, byte [rbx + rax + 0x10]
mov rdx, rcx
sar rcx, 4
and edx, 0xf
movzx edx, byte [r8 + rdx + 0x10]
mov byte [rsi + rax*2 + 0x11], dl
movzx edx, byte [r8 + rcx + 0x10]
mov byte [rsi + rax*2 + 0x10], dl
add rax, 1
cmp r9, rax
jne 0x40ae20
lea rcx, [0x00424420]
mov rdx, rdi
call fcn.0040acc0
lea rbp, [rsi + 0x10]
test rdi, rdi
mov rbx, rax
jle 0x40c67d
lea rax, [rax + 0x20]
cmp rbp, rax
setae dl
cmp rbp, rbx
setbe al
or dl, al
je 0x40b2c0
lea rax, [rdi - 1]
cmp rax, 0xe
jbe 0x40b2c0
mov rax, rdi
and rax, 0xfffffffffffffff0
lea rdx, [rax + 0x10]
mov eax, 0x10
nop dword [rax + rax]
nop word cs:[rax + rax]
movdqu xmm3, xmmword [rsi + rax]
movups xmmword [rbx + rax], xmm3
add rax, 0x10
cmp rdx, rax
jne 0x40aeb0
mov rax, rdi
and rax, 0xfffffffffffffff0
cmp rax, rdi
je 0x40b2e2
movzx edx, byte [rsi + rax + 0x10]
mov byte [rbx + rax + 0x10], dl
lea rdx, [rax + 1]
cmp rdi, rdx
jle 0x40b2e2
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 2]
cmp rdi, rdx
jle 0x40b2e2
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 3]
cmp rdi, rdx
jle 0x40b2e2
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 4]
cmp rdi, rdx
jle 0x40b2e2
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 5]
cmp rdi, rdx
jle 0x40b2e2
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 6]
cmp rdi, rdx
jle 0x40b2e2
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 7]
cmp rdi, rdx
jle 0x40b2e2
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 8]
cmp rdi, rdx
jle 0x40b2e2
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 9]
cmp rdi, rdx
jle 0x40b2e2
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 0xa]
cmp rdi, rdx
jle 0x40b2e2
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 0xb]
cmp rdi, rdx
jle 0x40b2e2
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 0xc]
cmp rdi, rdx
jle 0x40b2e2
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 0xd]
cmp rdi, rdx
jle 0x40b2e2
movzx ecx, byte [rsi + rdx + 0x10]
add rax, 0xe
cmp rdi, rax
mov byte [rbx + rdx + 0x10], cl
jle 0x40b2e2
movzx edx, byte [rsi + rax + 0x10]
mov byte [rbx + rax + 0x10], dl
mov rdx, qword [rbx]
mov rax, qword [rsp + 0x1b0]
test dl, 0x1f
lea rdi, [rax + 0x10]
je 0x40b2fa
nop word [rax + rax]
lea rcx, [0x00424420]
mov rax, rdx
sar rax, 0x3f
shr rax, 0x3b
add rdx, rax
and edx, 0x1f
sub rax, rdx
lea rdx, [rax + 0x20]
call fcn.0040acc0
mov rdx, qword [rbx]
test rax, rax
mov rbp, rax
je 0x40c6a0
add rdx, qword [rax]
lea rcx, [0x00424420]
call fcn.0040acc0
mov rdx, qword [rbx]
mov rsi, rax
test rdx, rdx
jle 0x40b236
lea rax, [rbx + 0x20]
lea r12, [rsi + 0x10]
lea r8, [rbx + 0x10]
cmp r12, rax
lea rax, [rsi + 0x20]
setae cl
cmp r8, rax
setae al
or cl, al
je 0x40c6f7
lea rax, [rdx - 1]
cmp rax, 0xe
jbe 0x40c6f7
mov rax, rdx
and rax, 0xfffffffffffffff0
lea rcx, [rax + 0x10]
mov eax, 0x10
nop dword [rax]
nop word cs:[rax + rax]
movdqu xmm5, xmmword [rbx + rax]
movups xmmword [rsi + rax], xmm5
add rax, 0x10
cmp rcx, rax
jne 0x40b0d0
mov rax, rdx
and rax, 0xfffffffffffffff0
cmp rax, rdx
je 0x40b231
movzx ecx, byte [rbx + rax + 0x10]
mov byte [rsi + rax + 0x10], cl
lea rcx, [rax + 1]
cmp rdx, rcx
jle 0x40b231
movzx r8d, byte [rbx + rax + 0x11]
lea rcx, [rax + 2]
cmp rdx, rcx
mov byte [rsi + rax + 0x11], r8b
jle 0x40b231
movzx r8d, byte [rbx + rax + 0x12]
lea rcx, [rax + 3]
cmp rdx, rcx
mov byte [rsi + rax + 0x12], r8b
jle 0x40b231
movzx r8d, byte [rbx + rax + 0x13]
lea rcx, [rax + 4]
cmp rdx, rcx
mov byte [rsi + rax + 0x13], r8b
jle 0x40b231
movzx r8d, byte [rbx + rax + 0x14]
lea rcx, [rax + 5]
cmp rdx, rcx
mov byte [rsi + rax + 0x14], r8b
jle 0x40b231
movzx r8d, byte [rbx + rax + 0x15]
lea rcx, [rax + 6]
cmp rdx, rcx
mov byte [rsi + rax + 0x15], r8b
jle 0x40b231
movzx r8d, byte [rbx + rax + 0x16]
lea rcx, [rax + 7]
cmp rdx, rcx
mov byte [rsi + rax + 0x16], r8b
jle 0x40b231
movzx r8d, byte [rbx + rax + 0x17]
lea rcx, [rax + 8]
cmp rdx, rcx
mov byte [rsi + rax + 0x17], r8b
jle 0x40b231
movzx r8d, byte [rbx + rax + 0x18]
lea rcx, [rax + 9]
cmp rdx, rcx
mov byte [rsi + rax + 0x18], r8b
jle 0x40b231
movzx r8d, byte [rbx + rax + 0x19]
lea rcx, [rax + 0xa]
cmp rdx, rcx
mov byte [rsi + rax + 0x19], r8b
jle 0x40b231
movzx r8d, byte [rbx + rax + 0x1a]
lea rcx, [rax + 0xb]
cmp rdx, rcx
mov byte [rsi + rax + 0x1a], r8b
jle 0x40b231
movzx r8d, byte [rbx + rax + 0x1b]
lea rcx, [rax + 0xc]
cmp rdx, rcx
mov byte [rsi + rax + 0x1b], r8b
jle 0x40b231
movzx r8d, byte [rbx + rax + 0x1c]
lea rcx, [rax + 0xd]
cmp rdx, rcx
mov byte [rsi + rax + 0x1c], r8b
jle 0x40b231
movzx r8d, byte [rbx + rax + 0x1d]
mov byte [rsi + rax + 0x1d], r8b
add rax, 0xe
cmp rdx, rax
jle 0x40b231
movzx edx, byte [rbx + rax + 0x10]
mov byte [rsi + rax + 0x10], dl
test rbp, rbp
je 0x40b26c
mov r8, qword [rbp]
test r8, r8
jle 0x40c6bb
xor eax, eax
nop
nop word cs:[rax + rax]
movzx ecx, byte [rbp + rax + 0x10]
lea rdx, [rsi + rax]
add rax, 1
add rdx, qword [rbx]
cmp r8, rax
mov byte [rdx + 0x10], cl
jne 0x40b250
lea r12, [rsi + 0x10]
mov rdx, qword [rsi]
mov rbx, r12
cmp rdx, 0x20
jle 0x40b2fe
lea rcx, [0x00424420]
mov edx, 0x20
call fcn.0040acc0
lea rdx, [rax + 0x20]
cmp r12, rdx
jae 0x40b29f
cmp rax, r12
jb 0x40c717
movdqu xmm0, xmmword [rsi + 0x10]
movups xmmword [rax + 0x10], xmm0
movdqu xmm5, xmmword [rsi + 0x20]
movups xmmword [rax + 0x20], xmm5
mov rdx, qword [rax]
lea rbx, [rax + 0x10]
jmp 0x40b2fe
xor eax, eax
nop dword [rax]
nop word cs:[rax + rax]
movzx edx, byte [rsi + rax + 0x10]
mov byte [rbx + rax + 0x10], dl
add rax, 1
cmp rdi, rax
jne 0x40b2d0
mov rax, qword [rsp + 0x1b0]
lea rdi, [rax + 0x10]
mov rdx, qword [rbx]
test dl, 0x1f
jne 0x40b030
add rbx, 0x10
test rdx, rdx
jle 0x40b4a0
mov rax, qword [rsp + 0x1b0]
add rax, 0x20
cmp rbx, rax
lea rax, [rbx + 0x10]
setae cl
cmp rdi, rax
setae al
or cl, al
je 0x40c6d0
lea rax, [rdx - 1]
cmp rax, 0xe
jbe 0x40c6d0
mov r8, qword [rsp + 0x1b0]
mov rcx, rdx
xor eax, eax
and rcx, 0xfffffffffffffff0
nop word [rax + rax]
movdqu xmm4, xmmword [rbx + rax]
movups xmmword [r8 + rax + 0x10], xmm4
add rax, 0x10
cmp rcx, rax
jne 0x40b350
mov rax, rdx
and rax, 0xfffffffffffffff0
cmp rax, rdx
je 0x40b4a0
movzx ecx, byte [rbx + rax]
mov byte [rdi + rax], cl
lea rcx, [rax + 1]
cmp rcx, rdx
jge 0x40b4a0
movzx ecx, byte [rbx + rax + 1]
mov byte [rdi + rax + 1], cl
lea rcx, [rax + 2]
cmp rcx, rdx
jge 0x40b4a0
movzx ecx, byte [rbx + rax + 2]
mov byte [rdi + rax + 2], cl
lea rcx, [rax + 3]
cmp rcx, rdx
jge 0x40b4a0
movzx ecx, byte [rbx + rax + 3]
mov byte [rdi + rax + 3], cl
lea rcx, [rax + 4]
cmp rcx, rdx
jge 0x40b4a0
movzx ecx, byte [rbx + rax + 4]
mov byte [rdi + rax + 4], cl
lea rcx, [rax + 5]
cmp rcx, rdx
jge 0x40b4a0
movzx ecx, byte [rbx + rax + 5]
mov byte [rdi + rax + 5], cl
lea rcx, [rax + 6]
cmp rcx, rdx
jge 0x40b4a0
movzx ecx, byte [rbx + rax + 6]
mov byte [rdi + rax + 6], cl
lea rcx, [rax + 7]
cmp rdx, rcx
jle 0x40b4a0
movzx ecx, byte [rbx + rax + 7]
mov byte [rdi + rax + 7], cl
lea rcx, [rax + 8]
cmp rcx, rdx
jge 0x40b4a0
movzx ecx, byte [rbx + rax + 8]
mov byte [rdi + rax + 8], cl
lea rcx, [rax + 9]
cmp rcx, rdx
jge 0x40b4a0
movzx ecx, byte [rbx + rax + 9]
mov byte [rdi + rax + 9], cl
lea rcx, [rax + 0xa]
cmp rcx, rdx
jge 0x40b4a0
movzx ecx, byte [rbx + rax + 0xa]
mov byte [rdi + rax + 0xa], cl
lea rcx, [rax + 0xb]
cmp rcx, rdx
jge 0x40b4a0
movzx ecx, byte [rbx + rax + 0xb]
mov byte [rdi + rax + 0xb], cl
lea rcx, [rax + 0xc]
cmp rcx, rdx
jge 0x40b4a0
movzx ecx, byte [rbx + rax + 0xc]
mov byte [rdi + rax + 0xc], cl
lea rcx, [rax + 0xd]
cmp rcx, rdx
jge 0x40b4a0
movzx ecx, byte [rbx + rax + 0xd]
mov byte [rdi + rax + 0xd], cl
lea rcx, [rax + 0xe]
cmp rcx, rdx
jge 0x40b4a0
movzx edx, byte [rbx + rax + 0xe]
mov byte [rdi + rax + 0xe], dl
nop word [rax + rax]
mov rax, qword [0x00424478]
mov rsi, qword [rsp + 0x1b0]
add rsi, 0x30
test rax, rax
mov qword [rsp + 0xd8], rsi
je 0x40c640
mov rbx, qword [rax]
mov rdx, rdi
mov rcx, rsi
call fcn.004022b0
mov rax, qword [0x00424468]
mov rdx, qword [0x00424470]
test rbx, rbx
jle 0x40c5c6
sub rbx, 1
mov qword [rsp + 0xc0], rax
and rbx, 0xfffffffffffffff0
mov qword [rsp + 0x50], rdx
lea rax, [rdx + rbx + 0x10]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0xd0], rax
nop dword [rax + rax]
mov rsi, qword [rsp + 0xd0]
xor eax, eax
mov ecx, 8
mov rdi, qword [rsp + 0x90]
lea rdx, [rsi + 0x10]
movabs rsi, 0xffff0000ffff
rep stosq qword [rdi], rax
mov rdi, rdx
mov ecx, 6
rep stosq qword [rdi], rax
mov rax, qword [rsp + 0x50]
mov r10d, dword [rax]
mov ecx, dword [rax + 4]
mov r8d, dword [rax + 8]
movdqu xmm1, xmmword [rax]
mov rdx, r10
mov eax, dword [rax + 0xc]
shl rdx, 0x10
movaps xmmword [rsp + 0x20], xmm1
or r10, rdx
mov rdx, rcx
movaps xmmword [rsp + 0x120], xmm1
shl rdx, 0x10
and r10, rsi
or rcx, rdx
mov rdx, r8
shl rdx, 0x10
and rcx, rsi
or rdx, r8
mov r8, rax
shl r8, 0x10
and rdx, rsi
or rax, r8
mov r8, r10
shl r8, 8
and rax, rsi
movabs rsi, 0xff00ff00ff00ff
or r10, r8
mov r8, rcx
mov r9, rax
shl r8, 8
shl r9, 8
and r10, rsi
or rcx, r8
mov r8, rdx
or rax, r9
shl r8, 8
shl rax, 8
and rcx, rsi
or rdx, r8
movabs r8, 0xff00ff00ff00ff00
and rax, r8
shl rdx, 8
or rax, rcx
mov rcx, qword [rsp + 0x90]
and rdx, r8
or rdx, r10
mov qword [rsp + 0x100], rax
mov qword [rsp + 0xe0], rdx
call fcn.00401bd0
mov rax, qword [rsp + 0x1b0]
mov r13, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xe0]
mov r12, qword [rsp + 0xf0]
mov rsi, qword [rax + 0x3f0]
mov r15, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
mov rax, rsi
mov rdx, qword [rsp + 0x110]
shl rax, 6
add rax, qword [rsp + 0x1b0]
mov r10, qword [rsp + 0x118]
mov rbp, qword [rax + 0x38]
xor rbx, qword [rax + 0x30]
sub rsi, 1
xor r12, qword [rax + 0x40]
mov qword [rsp + 0xb8], rsi
xor r15, qword [rax + 0x48]
xor rdi, qword [rax + 0x50]
xor rbp, r13
xor rcx, qword [rax + 0x58]
mov r9, rbx
mov qword [rsp + 0xe0], rbx
xor rdx, qword [rax + 0x60]
mov qword [rsp + 0xe8], rbp
xor r10, qword [rax + 0x68]
test rsi, rsi
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xf8], r15
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0x110], rdx
mov qword [rsp + 0x118], r10
jle 0x40c056
mov qword [rsp + 0x48], rax
mov r11, rbp
mov rax, rdi
mov rbp, rbx
mov rdi, r12
mov r13, rcx
mov r14, rdx
mov r12, r10
mov r10, rbp
mov rdx, rbp
mov rcx, r11
shl r10, 4
shr rdx, 0xc
mov rbx, rbp
shl rcx, 4
and edx, 0xf0000
and r10d, 0xfff00000
or r10, rdx
movzx edx, bp
and ecx, 0xfff00000
or r10, rdx
mov rdx, r11
movabs rsi, 0xff0000000000
shr rdx, 0xc
shl rbx, 8
movabs r9, 0xff00000000
and edx, 0xf0000
and rbx, rsi
movabs r8, 0xf000000000000000
or rcx, rdx
movzx edx, r11w
or r10, rbx
or rcx, rdx
mov rdx, r11
mov rbx, rbp
shl rdx, 8
shr rbx, 8
and rdx, rsi
and rbx, r9
or rcx, rdx
mov rdx, r11
or r10, rbx
shr rdx, 8
mov rbx, rbp
shr rbp, 4
and rdx, r9
shl rbx, 0xc
and rbx, r8
or rcx, rdx
mov rdx, r11
or r10, rbx
shl rdx, 0xc
movabs rbx, 0xfff000000000000
and rbp, rbx
and rdx, r8
or rbp, r10
or rcx, rdx
shr r11, 4
and r11, rbx
mov r10, rdi
mov rdx, rdi
shl r10, 4
or r11, rcx
shr rdx, 0xc
mov rcx, rdi
and edx, 0xf0000
and r10d, 0xfff00000
shl rcx, 8
or r10, rdx
movzx edx, di
mov rbx, rcx
mov rcx, rdi
or r10, rdx
and rbx, rsi
shr rcx, 8
mov rdx, r15
or r10, rbx
mov rbx, rcx
mov rcx, rdi
shl rcx, 0xc
and rbx, r9
shr rdx, 0xc
or r10, rbx
mov rbx, rcx
mov rcx, r15
shl rcx, 4
and edx, 0xf0000
and rbx, r8
and ecx, 0xfff00000
or r10, rbx
shr rdi, 4
movabs rbx, 0xfff000000000000
or rcx, rdx
movzx edx, r15w
or rcx, rdx
mov rdx, r15
and rdi, rbx
shl rdx, 8
or rdi, r10
mov rbx, r8
and rdx, rsi
mov r10, rax
or rcx, rdx
mov rdx, r15
shr rdx, 8
and rdx, r9
shr r10, 8
or rcx, rdx
mov rdx, r15
shr r15, 4
shl rdx, 0xc
and r10, r9
and rdx, r8
mov r8, rax
or rcx, rdx
shr r8, 0xc
movabs rdx, 0xfff000000000000
and r15, rdx
mov rdx, rax
and r8d, 0xf0000
shl rdx, 4
or rcx, r15
mov r15, rsi
and edx, 0xfff00000
or rdx, r8
movzx r8d, ax
or rdx, r8
mov r8, rax
shl r8, 8
and r8, rsi
movabs rsi, 0xfff000000000000
or rdx, r8
mov r8, rbx
or rdx, r10
mov r10, rax
shr rax, 4
shl r10, 0xc
and rax, rsi
and r10, rbx
mov rbx, r13
or rdx, r10
shl rbx, 4
mov r10, r13
or rax, rdx
mov rdx, r13
and ebx, 0xfff00000
shr rdx, 0xc
and edx, 0xf0000
or rbx, rdx
movzx edx, r13w
or rbx, rdx
shl r10, 8
mov rdx, r14
and r10, r15
shr rdx, 0xc
or rbx, r10
mov r10, r13
and edx, 0xf0000
shr r10, 8
and r10, r9
or rbx, r10
mov r10, r13
shr r13, 4
shl r10, 0xc
and r13, rsi
and r10, r8
or rbx, r10
mov r10, r14
shl r10, 4
or rbx, r13
mov r13, r11
mov rsi, r10
mov r10, r8
and esi, 0xfff00000
or rsi, rdx
movzx edx, r14w
or rsi, rdx
mov rdx, r14
shl rdx, 8
and rdx, r15
or rsi, rdx
mov rdx, r14
shr rdx, 8
and rdx, r9
or rsi, rdx
mov rdx, r14
shr r14, 4
shl rdx, 0xc
and rdx, r8
mov r8, r12
or rsi, rdx
shl r8, 4
movabs rdx, 0xfff000000000000
and r14, rdx
mov rdx, r12
and r8d, 0xfff00000
or rsi, r14
shr rdx, 0xc
xor r13, rax
and edx, 0xf0000
xor r11, rcx
mov r14, rsi
or r8, rdx
movzx edx, r12w
xor r11, rsi
or r8, rdx
mov rdx, r12
xor r14, r13
shl rdx, 8
and rdx, r15
mov r15, rbx
or r8, rdx
mov rdx, r12
shr rdx, 8
and rdx, r9
or r8, rdx
mov rdx, r12
shr r12, 4
shl rdx, 0xc
and rdx, r10
mov r10, rbp
or r8, rdx
xor r10, rcx
xor rcx, rax
movabs rdx, 0xfff000000000000
xor rax, rdi
xor rsi, r10
and rdx, r12
mov r12, rdi
xor r15, r10
or r8, rdx
xor r12, rbx
mov rdx, r11
mov r9, r8
xor rax, r8
xor r12, r8
xor r9, r13
not r12
xor r13, r10
not r9
mov r10, r14
mov r8, r12
xor rdx, r9
xor r10, r9
mov qword [rsp + 0x20], rdx
mov rdx, rax
mov rax, qword [rsp + 0x20]
xor rdx, r15
xor rbp, rdi
mov qword [rsp + 0x38], r10
xor r8, rdx
xor rbx, rbp
mov rdi, rdx
xor r11, r8
xor rax, r13
mov qword [rsp + 0x58], r11
mov r11, r14
xor rbx, rax
xor r11, r8
mov qword [rsp + 0x60], rax
mov rax, rcx
xor r9, rbx
xor r15, rbx
mov qword [rsp + 0x68], r11
mov rbx, r12
mov r11, rsi
xor rbx, r9
xor rcx, r15
mov qword [rsp + 0x98], rax
xor r11, r8
mov qword [rsp + 0x78], rbx
mov rbx, qword [rsp + 0x60]
mov rbp, rcx
mov qword [rsp + 0x70], r11
mov r11, qword [rsp + 0x70]
xor rbp, r12
xor rdi, r9
mov qword [rsp + 0x80], rbp
xor rdx, rcx
not rsi
mov qword [rsp + 0x40], rdi
xor rdi, rcx
and rbx, r9
mov qword [rsp + 0xa8], rcx
xor r11, r10
mov r10, r15
mov rbp, rbx
mov qword [rsp + 0xb0], rdi
mov rbx, r10
mov qword [rsp + 0xa0], r11
xor r10, rbp
mov r15, r13
not rbx
and r15, rdx
mov rcx, rbx
and rcx, rax
mov rax, qword [rsp + 0x20]
and rax, rdi
mov rdi, qword [rsp + 0x38]
mov rbx, rax
mov rax, qword [rsp + 0x78]
and rdi, qword [rsp + 0x40]
xor rbx, rcx
and rax, r11
mov r11, qword [rsp + 0x58]
xor r10, rax
mov rax, rsi
xor rdi, rcx
mov rsi, qword [rsp + 0x68]
xor r10, rbx
and r11, r12
xor r11, qword [rsp + 0x38]
xor r11, qword [rsp + 0x40]
xor r11, rbp
and rsi, qword [rsp + 0x80]
and rax, r8
xor r14, rdx
xor rax, r13
xor r11, rdi
xor rax, rdx
xor rax, r15
xor r15, r14
mov r14, r10
xor rax, rbx
xor r15, rsi
xor r14, r11
and r10, rax
xor r15, rdi
mov rsi, r14
mov rcx, r15
xor r15, r10
mov rbp, r15
and rsi, r15
mov r15, rax
xor rsi, r11
xor r15, rcx
xor r11, r10
and r11, r15
mov r15, rcx
xor r15, r11
xor r11, r10
and rcx, r11
xor rax, r15
mov rdi, r15
xor rax, rcx
xor rcx, rbp
mov r15, rcx
and r15, rsi
mov rbx, r15
mov r15, rax
xor rbx, r14
mov r14, rsi
xor r14, rdi
xor r15, rbx
mov r11, r14
mov r14, rsi
mov rbp, r15
xor r14, rbx
mov r10, r14
mov r14, rdi
xor r14, rax
xor rbp, r11
and r8, rbx
mov qword [rsp + 0x88], r8
mov rcx, rbp
and rdx, r10
and r10, r13
mov r8, qword [rsp + 0xb0]
and r9, r14
and r12, rdi
mov rbp, qword [rsp + 0x80]
xor r9, rdx
and r8, rcx
mov qword [rsp + 0xb0], r8
mov r8, qword [rsp + 0xa0]
and rbp, rsi
and r8, rax
mov qword [rsp + 0x80], r8
mov r8, qword [rsp + 0x20]
mov r13, qword [rsp + 0x98]
mov qword [rsp + 0x20], rbp
and rbx, qword [rsp + 0x70]
and r14, qword [rsp + 0x60]
and r8, rcx
xor r14, qword [rsp + 0x80]
and r13, r11
and r11, qword [rsp + 0xa8]
mov qword [rsp + 0x98], r8
mov rcx, r13
mov r13, qword [rsp + 0x88]
xor rbx, rbp
xor rcx, r8
mov r8, qword [rsp + 0xb0]
mov rbp, r12
and rsi, qword [rsp + 0x68]
xor rbp, r10
xor rdx, r11
mov r11, qword [rsp + 0x40]
xor rbp, r9
and rax, qword [rsp + 0x78]
xor r13, rcx
xor rdx, r8
xor r14, r13
xor rsi, rbp
and r11, r15
xor r11, r8
mov r8, qword [rsp + 0x88]
xor r11, r13
xor rsi, r11
xor r8, rdx
xor rax, r14
xor r12, qword [rsp + 0x20]
xor rcx, rbp
xor r10, rbx
xor rbx, rcx
mov rcx, qword [rsp + 0x38]
xor r9, rax
mov r13, rbx
xor r14, rdx
mov rdx, r8
xor r10, r11
xor rax, r12
mov r12, qword [rsp + 0x58]
xor rdx, r9
and rcx, r15
xor rcx, qword [rsp + 0x98]
xor r13, rax
mov r15, r14
mov r11, r13
xor r15, r10
xor r11, rdx
and r12, rdi
xor r12, qword [rsp + 0x80]
xor rcx, r8
xor r12, rsi
xor rsi, rcx
mov rcx, qword [rsp + 0x48]
xor rbx, qword [rcx + 8]
xor r11, qword [rcx - 8]
xor r15, qword [rcx]
mov rdi, qword [rcx - 0x10]
xor rbx, r12
mov rbp, rbx
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
xor rbp, rsi
xor r15, r9
xor rdi, r14
mov qword [rsp + 0x20], r15
xor rdi, r12
xor rcx, r10
xor rdi, rsi
xor rax, rcx
mov rcx, rbp
xor rax, rdx
xor r14, qword [rbx + 0x18]
ror rcx, 0x10
xor r8, qword [rbx + 0x28]
mov r15, rax
mov rax, rdi
xor rsi, qword [rbx + 0x20]
mov qword [rsp + 0x38], r15
ror rax, 0x10
xor r14, r9
mov r9, r15
mov r15, rbp
mov rdx, r8
xor r14, r12
ror r9, 0x10
xor rdx, r10
mov r10, r11
xor rsi, r13
mov r13, qword [rsp + 0x20]
ror r10, 0x10
mov r12, rdx
xor r15, r14
mov qword [rsp + 0x40], r10
mov r10, r14
ror r12, 0x10
mov r8, rsi
ror r10, 0x10
ror r8, 0x10
mov rbx, r10
mov r10, rdi
ror r13, 0x10
xor r10, r14
mov qword [rsp + 0x60], r10
mov r10, rdi
xor r10, r11
mov qword [rsp + 0x88], r10
mov qword [rsp + 0x58], rdx
xor rdx, r12
mov qword [rsp + 0x80], r15
mov r15, rdx
xor r15, rsi
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0x78], r15
mov r15, qword [rsp + 0x20]
xor r15, r11
mov qword [rsp + 0x68], r15
mov r15, qword [rsp + 0x38]
mov r10, r15
xor r10, r14
mov qword [rsp + 0x70], r10
mov r10, qword [rsp + 0x20]
xor r10, rbp
xor rbp, r15
mov r15, rdx
mov qword [rsp + 0xa0], rbp
mov rbp, rax
xor r15, rax
xor rbp, rbx
mov qword [rsp + 0x98], r10
mov rdx, r15
mov r10, r14
xor rbp, rsi
xor rbp, qword [rsp + 0x60]
xor r10, rsi
xor rdx, rbx
mov r15, r10
xor rdx, r10
mov r10, qword [rsp + 0x40]
rol rbp, 0x20
xor rbp, rdx
xor r11, r14
mov rdx, rax
xor r11, qword [rsp + 0x58]
xor rdx, r10
xor rdx, r12
xor rdx, rbx
xor r11, r10
xor rdx, r8
xor rdx, qword [rsp + 0x60]
mov qword [rsp + 0x60], r15
xor r11, rbx
xor r15, qword [rsp + 0x20]
xor r11, r8
rol r11, 0x20
xor r11, rdx
mov rdx, qword [rsp + 0x20]
xor r15, r13
xor r15, rax
xor rax, qword [rsp + 0x78]
xor r15, rcx
xor rdx, r12
xor r15, rbx
xor rdx, rdi
mov rdi, rsi
xor rdi, r13
xor rdx, rsi
xor rdi, r12
xor rdx, r13
xor rdi, r10
mov r10, qword [rsp + 0x88]
xor rdx, r8
xor rdi, r8
rol rdx, 0x20
xor rdi, r10
xor r15, r10
xor rdi, rdx
xor rax, rcx
mov rdx, qword [rsp + 0x40]
xor rax, rbx
xor rax, r10
mov r10, qword [rsp + 0x80]
xor rax, r10
rol rax, 0x20
xor r15, rax
mov rax, rdx
xor rax, rcx
xor rax, r12
xor rax, r9
xor rax, rbx
xor rax, r8
xor rax, r10
mov r10, rdx
xor rax, qword [rsp + 0x68]
xor r10, r9
xor r10, qword [rsp + 0x58]
xor r10, rbx
xor r10, r8
xor r10, qword [rsp + 0x68]
xor r10, qword [rsp + 0x70]
rol r10, 0x20
xor rax, r10
mov r10, qword [rsp + 0x38]
xor r10, rsi
mov rdx, r10
mov r10, qword [rsp + 0x98]
xor rdx, r12
xor rdx, r13
xor r13, r12
xor rdx, r9
xor r13, rbx
xor rdx, rbx
xor r13, r8
xor rdx, r8
xor r13, r10
xor rdx, r10
xor r13, qword [rsp + 0x60]
xor r12, rsi
mov r10, qword [rsp + 0xa0]
xor r12, r9
xor r12, r8
rol r13, 0x20
xor r13, rdx
mov rdx, qword [rsp + 0xa8]
xor r14, rdx
xor rdx, r9
xor r14, rcx
xor r14, rbx
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
xor r14, r8
sub qword [rsp + 0x48], 0x40
xor r14, r10
xor rbx, rcx
xor rbx, r8
mov r8, rdx
xor r12, rsi
xor rbx, r10
xor r8, rsi
rol rbx, 0x20
rol r8, 0x20
xor r14, rbx
xor r12, r8
sub qword [rsp + 0xb8], 1
jne 0x40b720
mov r9, rbp
mov r10, r12
mov rbp, r11
mov r12, rdi
mov rcx, r13
mov rdx, r14
mov rdi, rax
mov rax, r9
mov r8, rbp
mov rbx, r9
shl rax, 4
shl r8, 4
movabs r14, 0xff0000000000
and eax, 0xfff00000
shr rbx, 4
movabs r11, 0xff00000000
movabs r13, 0xf000000000000000
mov rsi, rax
mov rax, r9
shr rax, 0xc
and eax, 0xf0000
or rax, rsi
movzx esi, r9w
or rax, rsi
mov rsi, r9
shl rsi, 8
and rsi, r14
or rax, rsi
mov rsi, r9
shr rsi, 8
and rsi, r11
or rax, rsi
mov rsi, r9
movabs r9, 0xfff000000000000
shl rsi, 0xc
and rbx, r9
and rsi, r13
or rsi, rax
mov rax, r8
mov r8, rbp
shr r8, 0xc
and eax, 0xfff00000
or rsi, rbx
and r8d, 0xf0000
mov rbx, r14
or r8, rax
movzx eax, bp
or r8, rax
mov rax, rbp
shl rax, 8
and rax, r14
mov r14, r13
or r8, rax
mov rax, rbp
shr rax, 8
and rax, r11
or r8, rax
mov rax, rbp
shl rax, 0xc
and rax, r13
or rax, r8
mov r8, r12
shr rbp, 4
shl r8, 4
mov r13, rbp
mov rbp, r12
and r8d, 0xfff00000
and r13, r9
shl rbp, 8
mov r9, r8
mov r8, r12
or rax, r13
shr r8, 0xc
mov r13, r12
and r8d, 0xf0000
shr r13, 8
or r8, r9
movzx r9d, r12w
and r13, r11
or r8, r9
mov r9, rbp
mov rbp, r14
and r9, rbx
or r8, r9
or r8, r13
mov r13, r12
shr r12, 4
shl r13, 0xc
and r13, r14
movabs r14, 0xfff000000000000
or r8, r13
and r12, r14
mov r13, rcx
or r12, r8
mov r8, r15
shl r8, 4
mov r9, r8
mov r8, r15
shr r8, 0xc
and r9d, 0xfff00000
and r8d, 0xf0000
or r8, r9
movzx r9d, r15w
or r8, r9
mov r9, r15
shl r9, 8
and r9, rbx
or r8, r9
mov r9, r15
shr r9, 8
and r9, r11
or r8, r9
mov r9, r15
shr r15, 4
shl r9, 0xc
and r15, r14
and r9, rbp
or r8, r9
mov r9, r14
or r15, r8
mov r8, rdi
shl r8, 4
mov r14, r8
mov r8, rdi
shr r8, 0xc
and r14d, 0xfff00000
and r8d, 0xf0000
or r8, r14
movzx r14d, di
or r8, r14
mov r14, rdi
shl r14, 8
and r14, rbx
or r8, r14
mov r14, rdi
shr r14, 8
and r14, r11
or r8, r14
mov r14, rdi
shr rdi, 4
shl r14, 0xc
and r14, rbp
or r8, r14
mov r14, rdi
mov rdi, r9
and r14, r9
or r14, r8
mov r8, rcx
shl r8, 4
mov r9, r8
mov r8, rcx
shr r8, 0xc
and r9d, 0xfff00000
and r8d, 0xf0000
or r8, r9
movzx r9d, cx
or r8, r9
mov r9, rcx
shl r9, 8
shr r13, 8
and r9, rbx
and r13, r11
or r8, r9
or r8, r13
mov r13, rcx
shr rcx, 4
shl r13, 0xc
and rcx, rdi
and r13, rbp
or r8, r13
or rcx, r8
mov r8, rdx
shl r8, 4
mov r9, r8
mov r8, rdx
shr r8, 0xc
and r9d, 0xfff00000
and r8d, 0xf0000
or r8, r9
movzx r9d, dx
or r8, r9
mov r9, rdx
shl r9, 8
and r9, rbx
or r8, r9
mov r9, rdx
shr r9, 8
and r9, r11
or r8, r9
mov r9, rdx
shr rdx, 4
shl r9, 0xc
and rdx, rdi
and r9, rbp
or r8, r9
or rdx, r8
mov r8, r10
shl r8, 4
mov r9, r8
mov r8, r10
and r9d, 0xfff00000
shr r8, 0xc
and r8d, 0xf0000
or r8, r9
movzx r9d, r10w
or r8, r9
mov r9, r10
shl r9, 8
and r9, rbx
or r8, r9
mov r9, r10
shr r9, 8
and r9, r11
mov r11, rcx
or r8, r9
mov r9, r10
shr r10, 4
shl r9, 0xc
and r10, rdi
and r9, rbp
or r8, r9
mov r9, rdx
or r10, r8
mov r8, rax
xor rax, r15
xor r8, r14
xor r14, r12
xor rax, rdx
xor r14, r10
xor r9, r8
xor r8, r10
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], r14
mov r14, qword [rsp + 0x90]
not r8
mov qword [rsp + 0x118], r9
mov r9, rsi
xor rsi, r12
xor r12, rcx
xor r9, r15
xor r10, r12
xor rsi, rcx
mov qword [rsp + 0xf0], r8
xor r11, r9
xor rdx, r9
not r10
mov qword [rsp + 0xf8], rsi
mov rcx, r14
mov qword [rsp + 0x110], r11
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xe0], r10
call fcn.004016e0
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0x100]
mov rbx, qword [rsp + 0x108]
mov r8, rax
mov rbp, qword [rsp + 0xf8]
mov r10, rcx
mov r15, qword [rsp + 0x1b0]
mov r9, rdx
mov rsi, qword [rsp + 0x118]
xor r9, rdi
mov r11, qword [rsp + 0x110]
xor r10, rbp
xor r8, rbx
xor rcx, rax
xor rcx, rbx
xor rax, rdi
xor rcx, qword [r15 + 0x48]
xor rdx, rbp
movabs rdi, 0xff00ff00ff00ff
xor r8, rsi
xor r8, qword [r15 + 0x30]
xor rdx, r11
xor rdx, qword [r15 + 0x50]
mov qword [rsp + 0xf8], rcx
mov rcx, r14
not r8
mov qword [rsp + 0xe0], r8
mov r8, r10
xor r10, rbx
xor r10, qword [r15 + 0x60]
xor r8, r11
xor r8, qword [r15 + 0x38]
mov qword [rsp + 0x100], rdx
mov qword [rsp + 0x110], r10
mov qword [rsp + 0xe8], r8
mov r8, r9
xor r9, r11
xor r9, qword [r15 + 0x68]
xor r8, rsi
xor r8, qword [r15 + 0x40]
xor rsi, rax
xor rsi, qword [r15 + 0x58]
mov qword [rsp + 0x118], r9
not r8
mov qword [rsp + 0xf0], r8
mov qword [rsp + 0x108], rsi
call fcn.00401bd0
mov r8, qword [rsp + 0xe0]
movabs rdx, 0xff00ff00ff00ff
movabs rax, 0xff00ff00ff00ff
mov rcx, qword [rsp + 0x100]
and rdx, r8
shr r8, 8
mov r9, rdx
and rax, rcx
and r8, rdi
shr r9, 8
shr rcx, 8
or rdx, r9
mov r9, rax
and rcx, rdi
movabs rdi, 0xffff0000ffff
shr r9, 8
or rax, r9
mov r9, r8
shr r9, 8
and rdx, rdi
and rax, rdi
add qword [rsp + 0x50], 0x10
or r8, r9
mov r9, rcx
shr r9, 8
and r8, rdi
or rcx, r9
mov r9, rdx
and rcx, rdi
mov rdi, qword [rsp + 0xc0]
shr r9, 0x10
or edx, r9d
mov dword [rdi], edx
mov rdx, rax
add rdi, 0x10
shr rdx, 0x10
or eax, edx
mov dword [rdi - 0xc], eax
mov rax, r8
shr rax, 0x10
or r8d, eax
mov rax, rcx
shr rax, 0x10
mov dword [rdi - 8], r8d
or ecx, eax
mov rax, qword [rsp + 0x50]
mov dword [rdi - 4], ecx
cmp rax, qword [rsp + 0xc8]
mov qword [rsp + 0xc0], rdi
jne 0x40b530
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x120], rcx
mov rax, qword [rsp + 0x120]
test rax, rax
je 0x40c625
xor edx, edx
mov r8d, 0x3c8
call sub.msvcrt.dll_memset
mov edx, 0x3c8
nop
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x120]
mov byte [rax], 0
mov rax, qword [rsp + 0x120]
add rax, 1
sub rdx, 1
mov qword [rsp + 0x120], rax
jne 0x40c600
add rsp, 0x168
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, rdi
mov rcx, rsi
call fcn.004022b0
jmp 0x40c5c6
lea rcx, [0x00418020]
mov edx, 0x18
call fcn.00407850
movdqa xmm0, xmmword [0x0041d830]
xor edx, edx
lea rcx, [0x00424420]
movups xmmword [rax], xmm0
call fcn.0040acc0
mov rbx, rax
mov rax, qword [rsp + 0x1b0]
test rbx, rbx
lea rdi, [rax + 0x10]
je 0x40b4a0
jmp 0x40b2ee
lea rcx, [0x00424420]
call fcn.0040acc0
mov rdx, qword [rbx]
mov rsi, rax
test rdx, rdx
jg 0x40b081
test rsi, rsi
je 0x40b4a0
jmp 0x40b268
mov r8, qword [rsp + 0x1b0]
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [rbx + rax]
mov byte [r8 + rax + 0x10], cl
add rax, 1
cmp rax, rdx
jne 0x40c6e0
jmp 0x40b4a0
xor eax, eax
nop dword [rax]
movzx ecx, byte [rbx + rax + 0x10]
mov byte [rsi + rax + 0x10], cl
add rax, 1
cmp rdx, rax
jne 0x40c700
jmp 0x40b231
xor edx, edx
nop dword [rax]
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rax + rdx + 0x10], cl
add rdx, 1
cmp rdx, 0x20
jne 0x40c720
jmp 0x40b2b1