Function at 0x40aac0
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 [0x004610c0]
test rbx, rbx
mov qword [rsp + 0x1b0], rcx
je 0x40c5a0
mov rax, qword [rbx]
lea rcx, [0x00412020]
mov ebp, 7
lea rdi, [rax + rax]
cmp rdi, 7
cmovge rbp, rdi
lea rdx, [rbp + 0x11]
call fcn.00407e10
movq xmm0, rdi
movq xmm5, rbp
punpcklqdq xmm0, xmm5
movups xmmword [rax], xmm0
mov r9, qword [rbx]
mov rsi, rax
lea r8, [0x00413940]
xor eax, eax
test r9, r9
jle 0x40ab6c
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 0x40ab40
lea rcx, [0x00462620]
mov rdx, rdi
call fcn.0040aa60
lea rbp, [rsi + 0x10]
test rdi, rdi
mov rbx, rax
jle 0x40c5cd
lea rax, [rax + 0x20]
cmp rbp, rax
setae dl
cmp rbp, rbx
setbe al
or dl, al
je 0x40afe0
lea rax, [rdi - 1]
cmp rax, 0xe
jbe 0x40afe0
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 0x40abd0
mov rax, rdi
and rax, 0xfffffffffffffff0
cmp rax, rdi
je 0x40b002
movzx edx, byte [rsi + rax + 0x10]
mov byte [rbx + rax + 0x10], dl
lea rdx, [rax + 1]
cmp rdi, rdx
jle 0x40b002
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 2]
cmp rdi, rdx
jle 0x40b002
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 3]
cmp rdi, rdx
jle 0x40b002
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 4]
cmp rdi, rdx
jle 0x40b002
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 5]
cmp rdi, rdx
jle 0x40b002
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 6]
cmp rdi, rdx
jle 0x40b002
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 7]
cmp rdi, rdx
jle 0x40b002
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 8]
cmp rdi, rdx
jle 0x40b002
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 9]
cmp rdi, rdx
jle 0x40b002
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 0xa]
cmp rdi, rdx
jle 0x40b002
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 0xb]
cmp rdi, rdx
jle 0x40b002
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 0xc]
cmp rdi, rdx
jle 0x40b002
movzx ecx, byte [rsi + rdx + 0x10]
mov byte [rbx + rdx + 0x10], cl
lea rdx, [rax + 0xd]
cmp rdi, rdx
jle 0x40b002
movzx ecx, byte [rsi + rdx + 0x10]
add rax, 0xe
cmp rdi, rax
mov byte [rbx + rdx + 0x10], cl
jle 0x40b002
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 + 0x38]
je 0x40b01a
nop word [rax + rax]
lea rcx, [0x00462620]
mov rax, rdx
sar rax, 0x3f
shr rax, 0x3b
add rdx, rax
and edx, 0x1f
sub rax, rdx
lea rdx, [rax + 0x20]
call fcn.0040aa60
mov rdx, qword [rbx]
test rax, rax
mov rbp, rax
je 0x40c5f0
add rdx, qword [rax]
lea rcx, [0x00462620]
call fcn.0040aa60
mov rdx, qword [rbx]
mov rsi, rax
test rdx, rdx
jle 0x40af56
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 0x40c647
lea rax, [rdx - 1]
cmp rax, 0xe
jbe 0x40c647
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 0x40adf0
mov rax, rdx
and rax, 0xfffffffffffffff0
cmp rax, rdx
je 0x40af51
movzx ecx, byte [rbx + rax + 0x10]
mov byte [rsi + rax + 0x10], cl
lea rcx, [rax + 1]
cmp rdx, rcx
jle 0x40af51
movzx r8d, byte [rbx + rax + 0x11]
lea rcx, [rax + 2]
cmp rdx, rcx
mov byte [rsi + rax + 0x11], r8b
jle 0x40af51
movzx r8d, byte [rbx + rax + 0x12]
lea rcx, [rax + 3]
cmp rdx, rcx
mov byte [rsi + rax + 0x12], r8b
jle 0x40af51
movzx r8d, byte [rbx + rax + 0x13]
lea rcx, [rax + 4]
cmp rdx, rcx
mov byte [rsi + rax + 0x13], r8b
jle 0x40af51
movzx r8d, byte [rbx + rax + 0x14]
lea rcx, [rax + 5]
cmp rdx, rcx
mov byte [rsi + rax + 0x14], r8b
jle 0x40af51
movzx r8d, byte [rbx + rax + 0x15]
lea rcx, [rax + 6]
cmp rdx, rcx
mov byte [rsi + rax + 0x15], r8b
jle 0x40af51
movzx r8d, byte [rbx + rax + 0x16]
lea rcx, [rax + 7]
cmp rdx, rcx
mov byte [rsi + rax + 0x16], r8b
jle 0x40af51
movzx r8d, byte [rbx + rax + 0x17]
lea rcx, [rax + 8]
cmp rdx, rcx
mov byte [rsi + rax + 0x17], r8b
jle 0x40af51
movzx r8d, byte [rbx + rax + 0x18]
lea rcx, [rax + 9]
cmp rdx, rcx
mov byte [rsi + rax + 0x18], r8b
jle 0x40af51
movzx r8d, byte [rbx + rax + 0x19]
lea rcx, [rax + 0xa]
cmp rdx, rcx
mov byte [rsi + rax + 0x19], r8b
jle 0x40af51
movzx r8d, byte [rbx + rax + 0x1a]
lea rcx, [rax + 0xb]
cmp rdx, rcx
mov byte [rsi + rax + 0x1a], r8b
jle 0x40af51
movzx r8d, byte [rbx + rax + 0x1b]
lea rcx, [rax + 0xc]
cmp rdx, rcx
mov byte [rsi + rax + 0x1b], r8b
jle 0x40af51
movzx r8d, byte [rbx + rax + 0x1c]
lea rcx, [rax + 0xd]
cmp rdx, rcx
mov byte [rsi + rax + 0x1c], r8b
jle 0x40af51
movzx r8d, byte [rbx + rax + 0x1d]
mov byte [rsi + rax + 0x1d], r8b
add rax, 0xe
cmp rdx, rax
jle 0x40af51
movzx edx, byte [rbx + rax + 0x10]
mov byte [rsi + rax + 0x10], dl
test rbp, rbp
je 0x40af8c
mov r8, qword [rbp]
test r8, r8
jle 0x40c60b
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 0x40af70
lea r12, [rsi + 0x10]
mov rdx, qword [rsi]
mov rbx, r12
cmp rdx, 0x20
jle 0x40b01e
lea rcx, [0x00462620]
mov edx, 0x20
call fcn.0040aa60
lea rdx, [rax + 0x20]
cmp r12, rdx
jae 0x40afbf
cmp rax, r12
jb 0x40c667
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 0x40b01e
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 0x40aff0
mov rax, qword [rsp + 0x1b0]
lea rdi, [rax + 0x38]
mov rdx, qword [rbx]
test dl, 0x1f
jne 0x40ad50
add rbx, 0x10
test rdx, rdx
jle 0x40b1c0
mov rax, qword [rsp + 0x1b0]
add rax, 0x48
cmp rbx, rax
lea rax, [rbx + 0x10]
setae cl
cmp rdi, rax
setae al
or cl, al
je 0x40c620
lea rax, [rdx - 1]
cmp rax, 0xe
jbe 0x40c620
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 + 0x38], xmm4
add rax, 0x10
cmp rcx, rax
jne 0x40b070
mov rax, rdx
and rax, 0xfffffffffffffff0
cmp rax, rdx
je 0x40b1c0
movzx ecx, byte [rbx + rax]
mov byte [rdi + rax], cl
lea rcx, [rax + 1]
cmp rcx, rdx
jge 0x40b1c0
movzx ecx, byte [rbx + rax + 1]
mov byte [rdi + rax + 1], cl
lea rcx, [rax + 2]
cmp rcx, rdx
jge 0x40b1c0
movzx ecx, byte [rbx + rax + 2]
mov byte [rdi + rax + 2], cl
lea rcx, [rax + 3]
cmp rcx, rdx
jge 0x40b1c0
movzx ecx, byte [rbx + rax + 3]
mov byte [rdi + rax + 3], cl
lea rcx, [rax + 4]
cmp rcx, rdx
jge 0x40b1c0
movzx ecx, byte [rbx + rax + 4]
mov byte [rdi + rax + 4], cl
lea rcx, [rax + 5]
cmp rcx, rdx
jge 0x40b1c0
movzx ecx, byte [rbx + rax + 5]
mov byte [rdi + rax + 5], cl
lea rcx, [rax + 6]
cmp rdx, rcx
jle 0x40b1c0
movzx ecx, byte [rbx + rax + 6]
mov byte [rdi + rax + 6], cl
lea rcx, [rax + 7]
cmp rcx, rdx
jge 0x40b1c0
movzx ecx, byte [rbx + rax + 7]
mov byte [rdi + rax + 7], cl
lea rcx, [rax + 8]
cmp rcx, rdx
jge 0x40b1c0
movzx ecx, byte [rbx + rax + 8]
mov byte [rdi + rax + 8], cl
lea rcx, [rax + 9]
cmp rcx, rdx
jge 0x40b1c0
movzx ecx, byte [rbx + rax + 9]
mov byte [rdi + rax + 9], cl
lea rcx, [rax + 0xa]
cmp rcx, rdx
jge 0x40b1c0
movzx ecx, byte [rbx + rax + 0xa]
mov byte [rdi + rax + 0xa], cl
lea rcx, [rax + 0xb]
cmp rcx, rdx
jge 0x40b1c0
movzx ecx, byte [rbx + rax + 0xb]
mov byte [rdi + rax + 0xb], cl
lea rcx, [rax + 0xc]
cmp rcx, rdx
jge 0x40b1c0
movzx ecx, byte [rbx + rax + 0xc]
mov byte [rdi + rax + 0xc], cl
lea rcx, [rax + 0xd]
cmp rcx, rdx
jge 0x40b1c0
movzx ecx, byte [rbx + rax + 0xd]
mov byte [rdi + rax + 0xd], cl
lea rcx, [rax + 0xe]
cmp rcx, rdx
jge 0x40b1c0
movzx edx, byte [rbx + rax + 0xe]
mov byte [rdi + rax + 0xe], dl
nop word [rax + rax]
mov rax, qword [0x004626c8]
mov rbx, qword [rsp + 0x1b0]
add rbx, 0x58
test rax, rax
mov qword [rsp + 0xd8], rbx
je 0x40c590
mov rcx, rbx
mov rbx, qword [rax]
mov rdx, rdi
call fcn.00401e20
mov rax, qword [0x00462668]
mov rdx, qword [0x00462670]
test rbx, rbx
jle 0x40c512
sub rbx, 1
mov qword [rsp + 0xc0], rax
and rbx, 0xfffffffffffffff0
mov qword [rsp + 0x58], 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
movabs rbx, 0xffff0000ffff
mov rdi, qword [rsp + 0x90]
lea rdx, [rsi + 0x10]
movabs rsi, 0xff00ff00ff00ff
rep stosq qword [rdi], rax
mov rdi, rdx
mov ecx, 6
rep stosq qword [rdi], rax
mov rax, qword [rsp + 0x58]
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, rbx
or rcx, rdx
mov rdx, r8
shl rdx, 0x10
and rcx, rbx
or rdx, r8
mov r8, rax
shl r8, 0x10
and rdx, rbx
or rax, r8
mov r8, r10
shl r8, 8
and rax, rbx
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.00401730
mov rax, qword [rsp + 0x1b0]
mov rbx, qword [rsp + 0xe0]
mov r13, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xf0]
mov r8, qword [rax + 0x418]
mov r15, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
mov rax, r8
mov rdx, qword [rsp + 0x110]
shl rax, 6
add rax, qword [rsp + 0x1b0]
mov r10, qword [rsp + 0x118]
xor rbx, qword [rax + 0x58]
mov rsi, qword [rax + 0x60]
xor r12, qword [rax + 0x68]
xor r15, qword [rax + 0x70]
xor rdi, qword [rax + 0x78]
mov r9, rbx
mov qword [rsp + 0xe0], rbx
xor rcx, qword [rax + 0x80]
xor rsi, r13
xor rdx, qword [rax + 0x88]
mov qword [rsp + 0xe8], rsi
xor r10, qword [rax + 0x90]
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xf8], r15
lea rbx, [r8 - 1]
mov qword [rsp + 0x100], rdi
test rbx, rbx
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0x110], rdx
mov qword [rsp + 0x118], r10
mov qword [rsp + 0xb8], rbx
jle 0x40bd67
mov qword [rsp + 0x50], rax
mov rax, rcx
mov r11, rsi
mov rcx, r9
mov r14, rdx
mov rbx, r10
mov r9, rax
nop word cs:[rax + rax]
mov r10, rcx
mov rax, rcx
mov r13, rcx
shl r10, 4
shr rax, 0xc
mov rbp, r11
and eax, 0xf0000
and r10d, 0xfff00000
shl r13, 8
movabs rsi, 0xff0000000000
or r10, rax
movzx eax, cx
and r13, rsi
or r10, rax
mov rax, r11
shl rbp, 4
or r10, r13
shr rax, 0xc
mov r13, rcx
and eax, 0xf0000
movabs rdx, 0xff00000000
shr r13, 8
and ebp, 0xfff00000
movabs r8, 0xf000000000000000
and r13, rdx
or rbp, rax
movzx eax, r11w
or r10, r13
or rbp, rax
mov r13, rcx
shl r13, 0xc
mov rax, r11
shr rcx, 4
shl rax, 8
and r13, r8
and rax, rsi
or r10, r13
movabs r13, 0xfff000000000000
or rbp, rax
mov rax, r11
and rcx, r13
shr rax, 8
or r10, rcx
mov rcx, rdx
and rax, rdx
mov rdx, r11
mov qword [rsp + 0x40], r10
shl rdx, 0xc
or rbp, rax
mov rax, r15
and rdx, r8
or rbp, rdx
shr r11, 4
mov rdx, r12
shl rdx, 4
and r11, r13
shr rax, 0xc
or rbp, r11
mov r11, r12
mov r10, rdx
shr r11, 0xc
and r10d, 0xfff00000
mov rdx, rcx
and r11d, 0xf0000
and eax, 0xf0000
or r10, r11
movzx r11d, r12w
or r10, r11
mov r11, r12
shl r11, 8
and r11, rsi
or r10, r11
mov r11, r12
shr r11, 8
and r11, rcx
mov rcx, r15
shl rcx, 4
or r10, r11
mov r11, r12
shl r11, 0xc
and ecx, 0xfff00000
shr r12, 4
or rcx, rax
movzx eax, r15w
and r11, r8
or rcx, rax
mov rax, r15
or r10, r11
shl rax, 8
mov r11, r13
and rax, rsi
and r11, r12
mov r12, r8
or rcx, rax
mov rax, r15
or r11, r10
shr rax, 8
mov r10, rdx
and rax, rdx
mov rdx, rdi
or rcx, rax
mov rax, r15
shl rdx, 8
shl rax, 0xc
and rdx, rsi
shr r15, 4
and rax, r8
mov r8, rdi
and r15, r13
or rcx, rax
mov rax, rdi
shl r8, 4
shr rax, 0xc
and r8d, 0xfff00000
or rcx, r15
and eax, 0xf0000
mov r15, r12
or r8, rax
movzx eax, di
or r8, rax
mov rax, rsi
mov rsi, r10
or r8, rdx
mov rdx, rdi
shr rdx, 8
and rdx, r10
or r8, rdx
mov rdx, rdi
shr rdi, 4
shl rdx, 0xc
and rdi, r13
and rdx, r12
mov r12, r13
mov r13, r9
or r8, rdx
shl r13, 4
mov rdx, rsi
or r8, rdi
mov rdi, r9
and r13d, 0xfff00000
shr rdi, 0xc
mov r10, rdi
mov rdi, r9
and r10d, 0xf0000
or r13, r10
movzx r10d, r9w
or r13, r10
shl rdi, 8
mov r10, rdi
mov rdi, rax
and r10, rax
mov rax, r9
shr rax, 8
or r13, r10
mov r10, rax
mov rax, r9
shr r9, 4
and r10, rsi
shl rax, 0xc
mov rsi, r14
or r13, r10
mov r10, rax
mov rax, r14
shl rsi, 4
shr rax, 0xc
and r10, r15
and eax, 0xf0000
and esi, 0xfff00000
or r10, r13
or rsi, rax
movzx eax, r14w
mov r13, r9
or rsi, rax
mov rax, r14
and r13, r12
shl rax, 8
or r13, r10
mov r10, r15
and rax, rdi
mov r9, rdx
or rsi, rax
mov rax, r14
shr rax, 8
and rax, rdx
movzx edx, bx
or rsi, rax
mov rax, r14
shr r14, 4
shl rax, 0xc
and r14, r12
and rax, r15
mov r15, rbx
or rsi, rax
shl r15, 4
mov rax, rbx
or rsi, r14
and r15d, 0xfff00000
shr rax, 0xc
and eax, 0xf0000
mov r14, rsi
or r15, rax
mov rax, rbp
or r15, rdx
mov rdx, rbx
xor rax, r8
shl rdx, 8
xor r14, rax
and rdx, rdi
mov rdi, rbp
or r15, rdx
mov rdx, rbx
xor rdi, rcx
shr rdx, 8
xor rdi, rsi
and rdx, r9
or r15, rdx
mov rdx, rbx
shr rbx, 4
shl rdx, 0xc
and rdx, r10
mov r10, qword [rsp + 0x40]
or r15, rdx
mov rdx, r12
mov r12, r11
and rdx, rbx
xor r12, r13
mov rbx, r13
or r15, rdx
mov rdx, rdi
xor r10, rcx
mov r9, r15
xor r12, r15
xor r9, rax
xor rax, r10
not r12
mov rbp, rax
mov rax, rcx
not r9
xor rax, r8
xor r8, r11
xor rdx, r9
xor r8, r15
mov qword [rsp + 0x20], rdx
xor rbx, r10
mov rcx, r14
mov rdx, r8
xor rcx, r9
xor rsi, r10
mov r8, r12
xor rdx, rbx
mov r15, r14
mov qword [rsp + 0x38], rcx
xor r8, rdx
xor r15, r8
xor rdi, r8
mov qword [rsp + 0x60], r15
mov r15, rsi
not rsi
xor r15, r8
mov qword [rsp + 0x48], rdi
mov rdi, qword [rsp + 0x20]
mov r10, r15
mov r15, rcx
xor r15, r10
mov qword [rsp + 0xa8], r10
mov r10, qword [rsp + 0x40]
mov qword [rsp + 0x68], r15
mov r15, rbp
xor rdi, rbp
xor r10, r11
mov r11, rdi
xor r13, r10
mov qword [rsp + 0xa0], r11
xor r13, rdi
xor rbx, r13
xor r9, r13
mov r13, rdx
mov r10, rbx
mov rbx, r12
xor r13, r9
xor rbx, r9
mov qword [rsp + 0x40], r13
mov rcx, r10
mov qword [rsp + 0x70], rbx
mov rbx, rax
xor rax, r10
not rcx
mov rdi, rax
xor r13, rax
and rcx, rbx
mov qword [rsp + 0x98], rbx
xor rdi, r12
mov qword [rsp + 0x80], r13
mov r13, r11
mov r11, qword [rsp + 0x68]
mov qword [rsp + 0x78], rdi
mov rdi, qword [rsp + 0x20]
and r13, r9
xor rdx, rax
and rdi, qword [rsp + 0x80]
xor r10, r13
and r15, rdx
mov qword [rsp + 0xb0], rax
and r11, qword [rsp + 0x70]
mov rax, rsi
mov rbx, rdi
mov rdi, qword [rsp + 0x38]
and rdi, qword [rsp + 0x40]
xor rbx, rcx
xor r10, r11
mov r11, qword [rsp + 0x38]
xor r10, rbx
xor rdi, rcx
mov rcx, qword [rsp + 0x48]
and rcx, r12
xor r11, rcx
xor r11, qword [rsp + 0x40]
xor r11, r13
and rax, r8
xor r14, rdx
xor rax, rbp
xor r11, rdi
xor rax, rdx
xor rax, r15
xor r15, r14
mov r14, qword [rsp + 0x60]
and r14, qword [rsp + 0x78]
xor rax, rbx
mov rbx, rax
xor r15, r14
mov r14, r10
and r10, rax
mov rsi, r15
xor r14, r11
xor rsi, rdi
mov r13, rsi
mov rcx, rsi
mov rsi, r14
xor r13, r10
xor rbx, rcx
mov rdi, rcx
and rsi, r13
xor rsi, r11
xor r11, r10
and r11, rbx
xor rdi, r11
xor r11, r10
and rcx, r11
xor rax, rdi
xor rax, rcx
xor rcx, r13
mov r10, rcx
mov r13, rax
and r10, rsi
mov rbx, r10
mov r10, rsi
xor rbx, r14
mov r14, rsi
xor r13, rbx
xor r14, rdi
xor r10, rbx
mov r11, r14
mov r15, r13
mov r14, rdi
xor r14, rax
xor r15, r11
and r8, rbx
mov rcx, r15
mov r15, qword [rsp + 0x78]
and rdx, r10
and r10, rbp
mov qword [rsp + 0x88], r8
and r9, r14
and r12, rdi
xor r9, rdx
and r15, rsi
mov qword [rsp + 0x78], r15
mov r15, qword [rsp + 0x80]
mov r8, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x20]
and r14, qword [rsp + 0xa0]
and r15, rcx
and rsi, qword [rsp + 0x60]
and r8, rax
and rax, qword [rsp + 0x70]
and rbp, rcx
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x68], r8
mov r8, qword [rsp + 0x88]
mov qword [rsp + 0x20], rbp
and rbx, qword [rsp + 0xa8]
xor rbx, qword [rsp + 0x78]
and rcx, r11
and r11, qword [rsp + 0xb0]
xor rcx, rbp
mov rbp, r12
xor r8, rcx
xor rbp, r10
xor rbp, r9
xor rdx, r11
mov r11, qword [rsp + 0x40]
xor rsi, rbp
xor rdx, r15
and r11, r13
xor r11, r15
mov r15, qword [rsp + 0x68]
xor r11, r8
xor rsi, r11
xor r14, r15
xor r14, r8
mov r8, qword [rsp + 0x88]
xor r8, rdx
xor rax, r14
xor r12, qword [rsp + 0x78]
xor rcx, rbp
mov rbp, qword [rsp + 0x38]
xor r9, rax
xor r10, rbx
xor rbx, rcx
xor r14, rdx
xor r10, r11
mov rdx, r8
xor rax, r12
mov r12, qword [rsp + 0x48]
xor rdx, r9
and rbp, r13
xor rbp, qword [rsp + 0x20]
mov r13, rbx
xor r13, rax
mov r11, r13
and r12, rdi
xor r11, rdx
xor rbp, r8
xor r12, r15
mov r15, r14
xor r12, rsi
xor rsi, rbp
mov rbp, qword [rsp + 0x50]
xor r15, r10
xor rbx, qword [rbp + 0x30]
mov rdi, qword [rbp + 0x18]
xor r15, qword [rbp + 0x28]
xor r11, qword [rbp + 0x20]
mov rcx, rbx
mov rbx, qword [rbp + 0x38]
xor rdi, r14
xor rcx, r12
xor rdi, r12
xor r15, r9
xor rcx, rsi
xor rdi, rsi
xor rbx, r10
xor rax, rbx
mov rbx, rcx
xor rax, rdx
xor r14, qword [rbp + 0x40]
ror rbx, 0x10
xor rsi, qword [rbp + 0x48]
mov rdx, rax
mov rax, rbp
mov qword [rsp + 0x38], rbx
xor r8, qword [rax + 0x50]
xor r14, r9
xor rsi, r13
xor r14, r12
mov r12, rdi
mov rbp, rsi
mov rsi, rdi
xor r8, r10
ror rsi, 0x10
mov r9, r8
mov rbx, r14
mov rax, rsi
mov rsi, rdx
mov qword [rsp + 0x20], r9
ror rbx, 0x10
ror rsi, 0x10
xor r12, r14
mov r10, r11
mov qword [rsp + 0x40], rsi
mov rsi, r9
mov r9, rdi
mov r13, r15
xor r9, r11
ror rsi, 0x10
mov r8, rbp
mov qword [rsp + 0x88], r9
ror r8, 0x10
mov r9, rcx
ror r10, 0x10
xor r9, r14
ror r13, 0x10
mov qword [rsp + 0xa8], r9
mov r9, qword [rsp + 0x20]
mov qword [rsp + 0x80], rdx
xor r9, rsi
mov qword [rsp + 0x70], r9
xor r9, rbp
mov qword [rsp + 0x68], r9
mov r9, r11
xor r9, r15
mov qword [rsp + 0x98], r9
mov r9, rdx
xor r9, r14
mov qword [rsp + 0x78], r9
mov r9, r15
xor r9, rcx
xor rcx, rdx
mov qword [rsp + 0xa0], r9
mov r9, r14
xor r9, rbp
mov qword [rsp + 0x60], rcx
mov rcx, rax
mov qword [rsp + 0x48], r9
mov r9, qword [rsp + 0x70]
xor rcx, rbx
xor rcx, rbp
xor rcx, r12
rol rcx, 0x20
xor r9, rax
mov rdx, r9
mov r9, qword [rsp + 0x48]
xor rdx, rbx
xor rdx, r9
xor rcx, rdx
xor r11, r14
mov rdx, rax
xor r11, qword [rsp + 0x20]
xor rdx, r10
xor rdx, rsi
xor rdx, rbx
xor r11, r10
xor rdx, r8
xor rdx, r12
xor r11, rbx
mov r12, r15
xor r11, r8
xor r12, rsi
xor r15, r9
xor r12, rdi
rol r11, 0x20
mov rdi, rbp
xor rdi, r13
xor r11, rdx
mov rdx, qword [rsp + 0x88]
xor r12, rbp
xor rdi, rsi
xor r12, r13
xor r15, r13
xor rdi, r10
xor r12, r8
xor r15, rax
xor rax, qword [rsp + 0x68]
xor rdi, r8
rol r12, 0x20
xor rdi, rdx
xor r12, rdi
mov rdi, qword [rsp + 0x38]
xor r15, rdi
mov r9, rdi
xor r15, rbx
xor r15, rdx
xor rax, rdi
mov rdi, qword [rsp + 0x40]
xor r9, r10
xor rax, rbx
xor rax, rdx
mov rdx, qword [rsp + 0xa8]
xor r10, rdi
xor r10, qword [rsp + 0x20]
xor rax, rdx
rol rax, 0x20
xor r15, rax
mov rax, r9
xor r10, rbx
mov r9, qword [rsp + 0xa0]
xor rax, rsi
xor rax, rdi
mov rdi, r10
mov r10, qword [rsp + 0x40]
xor rax, rbx
xor rdi, r8
xor rax, r8
xor rax, rdx
mov rdx, qword [rsp + 0x98]
xor rax, rdx
xor rdi, rdx
mov rdx, qword [rsp + 0x78]
xor rdi, rdx
rol rdi, 0x20
xor rdi, rax
mov rax, qword [rsp + 0x80]
xor rax, rbp
xor rax, rsi
xor rax, r13
xor r13, rsi
xor rax, r10
xor r13, rbx
xor rax, rbx
xor r13, r8
xor rax, r8
xor r13, r9
xor rax, r9
xor r13, qword [rsp + 0x48]
sub qword [rsp + 0x50], 0x40
mov r9, rax
mov rax, qword [rsp + 0x70]
rol r13, 0x20
xor r9, r13
mov r13, qword [rsp + 0x38]
xor r14, rax
xor r14, r13
xor r14, rbx
mov rbx, qword [rsp + 0x68]
xor r14, r8
xor r14, qword [rsp + 0x60]
xor rbx, r13
xor rbx, r8
xor rbx, qword [rsp + 0x60]
rol rbx, 0x20
xor r14, rbx
mov rbx, rbp
xor rbx, rsi
xor rbx, r10
xor r10, rax
xor rbx, r8
mov r8, r10
xor r8, rdx
xor rbx, rdx
rol r8, 0x20
xor rbx, r8
sub qword [rsp + 0xb8], 1
jne 0x40b450
mov rax, r9
mov rsi, r11
mov r9, rcx
mov rdx, r14
mov r10, rbx
mov rcx, rax
movabs rbx, 0xff0000000000
mov r8, r9
mov rax, r9
shl r8, 4
shr rax, 4
movabs r11, 0xff00000000
and r8d, 0xfff00000
movabs r14, 0xf000000000000000
mov rbp, r8
mov r8, r9
shr r8, 0xc
and r8d, 0xf0000
or r8, rbp
movzx ebp, r9w
or r8, rbp
mov rbp, r9
shl rbp, 8
and rbp, rbx
or r8, rbp
mov rbp, r9
shr rbp, 8
and rbp, r11
or r8, rbp
mov rbp, r9
movabs r9, 0xfff000000000000
shl rbp, 0xc
and rax, r9
and rbp, r14
or rbp, r8
or rbp, rax
mov rax, rsi
shl rax, 4
mov qword [rsp + 0x38], rbp
and eax, 0xfff00000
mov r8, rax
mov rax, rsi
shr rax, 0xc
and eax, 0xf0000
or rax, r8
movzx r8d, si
or rax, r8
mov r8, rsi
shl r8, 8
and r8, rbx
or rax, r8
mov r8, rsi
shr r8, 8
and r8, r11
or rax, r8
mov r8, rsi
shl r8, 0xc
and r8, r14
or r8, rax
shr rsi, 4
mov rax, r9
mov r13, rsi
mov rsi, r12
and r13, r9
mov r9, r12
shl rsi, 8
shl r9, 4
or r8, r13
mov r13, rax
and r9d, 0xfff00000
mov rbp, r9
mov r9, r12
shr r9, 0xc
and r9d, 0xf0000
or r9, rbp
movzx ebp, r12w
or r9, rbp
mov rbp, rsi
mov rsi, rbx
and rbp, rbx
mov rbx, r12
shr rbx, 8
or r9, rbp
mov rbp, rbx
mov rbx, r12
shr r12, 4
and rbp, r11
and r12, rax
shl rbx, 0xc
mov rax, r15
or r9, rbp
mov rbp, rbx
shl rax, 4
and rbp, r14
and eax, 0xfff00000
or rbp, r9
mov r9, rax
mov rax, r15
mov rbx, rbp
shr rax, 0xc
or rbx, r12
mov rbp, r14
and eax, 0xf0000
mov r12, rbx
or rax, r9
movzx r9d, r15w
or rax, r9
mov r9, r15
shl r9, 8
and r9, rsi
or rax, r9
mov r9, r15
shr r9, 8
and r9, r11
or rax, r9
mov r9, r15
shr r15, 4
shl r9, 0xc
and r15, r13
and r9, r14
or rax, r9
mov r9, rcx
or r15, rax
mov rax, rdi
shl r9, 4
shl rax, 4
and eax, 0xfff00000
mov r14, rax
mov rax, rdi
shr rax, 0xc
and eax, 0xf0000
or rax, r14
movzx r14d, di
or rax, r14
mov r14, rdi
shl r14, 8
and r14, rsi
or rax, r14
mov r14, rdi
shr r14, 8
and r14, r11
or rax, r14
mov r14, rdi
shr rdi, 4
shl r14, 0xc
and r14, rbp
or rax, r14
mov r14, rdi
mov rdi, r11
and r14, r13
or r14, rax
mov rax, r9
mov r9, rcx
shr r9, 0xc
and eax, 0xfff00000
and r9d, 0xf0000
or r9, rax
movzx eax, cx
or r9, rax
mov rax, rcx
shl rax, 8
and rax, rsi
or r9, rax
mov rax, rcx
shr rax, 8
and rax, r11
or r9, rax
mov rax, rcx
shr rcx, 4
shl rax, 0xc
and rcx, r13
and rax, rbp
or rax, r9
mov r9, r10
or rax, rcx
mov rcx, rdx
shl r9, 4
shl rcx, 4
and ecx, 0xfff00000
mov r11, rcx
mov rcx, rdx
shr rcx, 0xc
and ecx, 0xf0000
or rcx, r11
movzx r11d, dx
or rcx, r11
mov r11, rdx
shl r11, 8
and r11, rsi
or rcx, r11
mov r11, rdx
shr r11, 8
and r11, rdi
or rcx, r11
mov r11, rdx
shr rdx, 4
shl r11, 0xc
and rdx, r13
and r11, rbp
or r11, rcx
mov rcx, r9
mov r9, r10
or r11, rdx
and ecx, 0xfff00000
shr r9, 0xc
and r9d, 0xf0000
mov rdx, r13
mov r13, r8
or r9, rcx
movzx ecx, r10w
xor r8, r15
or r9, rcx
mov rcx, r10
xor r13, r14
shl rcx, 8
xor r12, rax
and rcx, rsi
mov rsi, r11
or r9, rcx
mov rcx, r10
xor rsi, r13
shr rcx, 8
and rcx, rdi
mov rdi, rax
or r9, rcx
mov rcx, r10
shr r10, 4
shl rcx, 0xc
and rdx, r10
mov r10, qword [rsp + 0x38]
and rcx, rbp
mov rbp, r8
or rcx, r9
xor rbp, r11
or rcx, rdx
mov rdx, rbp
mov r9, rcx
xor r10, r15
xor r15, r14
xor r9, r13
xor r14, rbx
xor r12, rcx
not r9
xor r14, rcx
xor r13, r10
xor rdx, r9
not r12
xor rdi, r10
mov qword [rsp + 0x20], rdx
xor r11, r10
mov rdx, r14
mov r10, rsi
xor r10, r9
mov r8, r12
xor rdx, rdi
mov rcx, qword [rsp + 0x20]
xor r8, rdx
mov r14, rbp
mov rbp, r11
xor r14, r8
xor rbp, r8
not r11
mov qword [rsp + 0x40], r14
mov r14, rsi
xor r14, r8
mov qword [rsp + 0x88], rbp
xor rcx, r13
mov qword [rsp + 0x48], r14
mov r14, r10
xor r10, rbp
mov rbp, qword [rsp + 0x38]
mov qword [rsp + 0x98], r10
mov qword [rsp + 0x80], rcx
xor rbp, rbx
mov rbx, rdx
xor rbp, rax
mov rax, r15
xor rbp, rcx
mov qword [rsp + 0x70], rax
xor r9, rbp
xor rbp, rdi
mov rdi, r12
xor r15, rbp
xor rdi, r9
xor rbx, r9
mov qword [rsp + 0x50], rdi
mov rdi, r15
and r10, qword [rsp + 0x50]
xor rdx, r15
xor rdi, r12
mov qword [rsp + 0x38], rbx
xor rbx, r15
mov qword [rsp + 0x60], rdi
mov rdi, rcx
mov rcx, rbp
not rcx
and rdi, r9
mov qword [rsp + 0xa8], rbx
and rcx, rax
mov rax, qword [rsp + 0x20]
xor rbp, rdi
mov qword [rsp + 0xa0], r15
xor rbp, r10
mov r10, qword [rsp + 0x40]
mov r15, r13
and r15, rdx
and rax, rbx
xor rax, rcx
and r10, r12
mov rbx, rax
mov rax, r14
and r14, qword [rsp + 0x38]
xor r10, rax
xor r10, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
mov rax, r11
xor rbp, rbx
mov r11, rbp
xor r14, rcx
xor r10, rdi
and rax, r8
xor rsi, rdx
xor rax, r13
xor r10, r14
xor rax, rdx
xor rax, r15
xor r15, rsi
mov rsi, qword [rsp + 0x48]
and rsi, qword [rsp + 0x60]
xor rax, rbx
and r11, rax
mov rbx, rax
xor r15, rsi
mov rsi, r15
xor rsi, r14
mov r14, rbp
xor r14, r10
mov rcx, rsi
xor rsi, r11
mov rdi, rsi
mov rsi, r14
xor rbx, rcx
and rsi, rdi
mov rbp, rcx
xor rsi, r10
xor r10, r11
and r10, rbx
xor rbp, r10
xor r10, r11
and rcx, r10
xor rax, rbp
xor rax, rcx
xor rcx, rdi
mov rdi, qword [rsp + 0x60]
mov rbx, rcx
and rbx, rsi
xor rbx, r14
mov r14, rax
xor r14, rbx
mov r15, r14
mov r14, rsi
xor r14, rbp
mov rcx, r15
mov r11, r14
mov r14, rsi
xor r14, rbx
mov r10, r14
mov r14, rbp
xor r14, rax
xor rcx, r11
and r8, rbx
mov qword [rsp + 0x68], r8
and r12, rbp
and rdx, r10
and r10, r13
mov r8, qword [rsp + 0xa8]
and rdi, rsi
and r9, r14
xor r9, rdx
and r8, rcx
mov qword [rsp + 0xa8], r8
mov r8, qword [rsp + 0x98]
and r8, rax
mov qword [rsp + 0x60], r8
mov r8, qword [rsp + 0x20]
and r8, rcx
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x70], r8
and rbx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rdi
and r14, qword [rsp + 0x80]
and rsi, qword [rsp + 0x48]
and rcx, r11
and r11, qword [rsp + 0xa0]
xor rcx, r8
mov r8, r12
xor r14, qword [rsp + 0x60]
xor r8, r10
xor rbx, rdi
and rax, qword [rsp + 0x50]
mov rdi, r8
mov r8, qword [rsp + 0x68]
xor rdx, r11
mov r11, qword [rsp + 0x38]
xor rdi, r9
xor rsi, rdi
xor r8, rcx
mov r13, r8
mov r8, qword [rsp + 0xa8]
and r11, r15
xor r14, r13
xor rdx, r8
xor r11, r8
mov r8, qword [rsp + 0x68]
xor r11, r13
xor rsi, r11
xor r8, rdx
xor rax, r14
xor r12, qword [rsp + 0x20]
xor rcx, rdi
xor r9, rax
mov rdi, qword [rsp + 0x1b0]
xor r14, rdx
and rbp, qword [rsp + 0x40]
xor rcx, rbx
mov rdx, r8
xor r10, rbx
xor rbp, qword [rsp + 0x60]
xor rdx, r9
xor r10, r11
xor r12, rax
mov rax, qword [rsp + 0x78]
xor rbp, rsi
and rax, r15
xor rax, qword [rsp + 0x70]
xor rax, r8
xor rsi, rax
mov rax, qword [rdi + 0x58]
xor rax, r14
xor rax, rbp
xor rax, rsi
mov qword [rsp + 0xe0], rax
mov rax, qword [rdi + 0x60]
xor rax, rcx
xor rax, r12
xor rax, rdx
mov qword [rsp + 0xe8], rax
mov rax, r14
xor rax, r10
xor rax, qword [rdi + 0x68]
xor rax, r9
mov qword [rsp + 0xf0], rax
mov rax, qword [rdi + 0x70]
xor rax, rcx
xor rax, rbp
xor rax, rsi
mov qword [rsp + 0xf8], rax
mov rax, qword [rdi + 0x78]
xor rax, r10
xor rax, r12
xor rdx, rax
xor r14, qword [rdi + 0x80]
xor rcx, qword [rdi + 0x88]
mov qword [rsp + 0x100], rdx
xor r8, qword [rdi + 0x90]
movabs rdi, 0xff00ff00ff00ff
xor r9, r14
xor r12, rcx
xor rbp, r9
xor r10, r8
xor rsi, r12
mov qword [rsp + 0x108], rbp
mov qword [rsp + 0x110], rsi
movabs rsi, 0xffff0000ffff
mov qword [rsp + 0x118], r10
mov rcx, qword [rsp + 0x90]
call fcn.00401730
mov r8, qword [rsp + 0xe0]
movabs rdx, 0xff00ff00ff00ff
movabs rax, 0xff00ff00ff00ff
mov rcx, qword [rsp + 0x100]
mov rbx, qword [rsp + 0xc0]
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
shr r9, 8
and rdx, rsi
or rax, r9
mov r9, r8
shr r9, 8
and rax, rsi
or r8, r9
mov r9, rcx
shr r9, 8
and r8, rsi
or rcx, r9
mov r9, rdx
shr r9, 0x10
and rcx, rsi
or edx, r9d
mov dword [rbx], edx
mov rdx, rax
shr rdx, 0x10
or eax, edx
mov dword [rbx + 4], eax
mov rax, r8
shr rax, 0x10
or r8d, eax
mov rax, rcx
add rbx, 0x10
add qword [rsp + 0x58], 0x10
shr rax, 0x10
mov dword [rbx - 8], r8d
or ecx, eax
mov rax, qword [rsp + 0x58]
mov dword [rbx - 4], ecx
cmp rax, qword [rsp + 0xc8]
mov qword [rsp + 0xc0], rbx
jne 0x40b250
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x120], rcx
mov rax, qword [rsp + 0x120]
test rax, rax
je 0x40c575
xor edx, edx
mov r8d, 0x3c8
call sub.msvcrt.dll_memset
mov edx, 0x3c8
nop dword [rax + rax]
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 0x40c550
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, rbx
call fcn.00401e20
jmp 0x40c512
lea rcx, [0x00412020]
mov edx, 0x18
call fcn.00407e10
movdqa xmm0, xmmword [0x0045dfc0]
xor edx, edx
lea rcx, [0x00462620]
movups xmmword [rax], xmm0
call fcn.0040aa60
mov rbx, rax
mov rax, qword [rsp + 0x1b0]
test rbx, rbx
lea rdi, [rax + 0x38]
je 0x40b1c0
jmp 0x40b00e
lea rcx, [0x00462620]
call fcn.0040aa60
mov rdx, qword [rbx]
mov rsi, rax
test rdx, rdx
jg 0x40ada1
test rsi, rsi
je 0x40b1c0
jmp 0x40af88
mov r8, qword [rsp + 0x1b0]
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [rbx + rax]
mov byte [r8 + rax + 0x38], cl
add rax, 1
cmp rax, rdx
jne 0x40c630
jmp 0x40b1c0
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 0x40c650
jmp 0x40af51
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 0x40c670
jmp 0x40afd1