Function at 0x407160
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 rdi, qword [0x0048f170]
test rdi, rdi
mov qword [rsp + 0x1b0], rcx
je 0x408900
mov rbp, qword [rdi]
lea rsi, [rdi + 0x10]
mov rcx, qword [0x0048bd60]
mov rdx, rbp
call fcn.00407100
test rbp, rbp
mov rbx, rax
jle 0x408911
lea rax, [rax + 0x20]
cmp rsi, rax
setae dl
cmp rsi, rbx
setbe al
or dl, al
je 0x4089a0
lea rax, [rbp - 1]
cmp rax, 0xe
jbe 0x4089a0
mov rax, rbp
and rax, 0xfffffffffffffff0
lea rdx, [rax + 0x10]
mov eax, 0x10
nop dword [rax]
nop word cs:[rax + rax]
movdqu xmm2, xmmword [rdi + rax]
movups xmmword [rbx + rax], xmm2
add rax, 0x10
cmp rdx, rax
jne 0x4071f0
mov rax, rbp
and rax, 0xfffffffffffffff0
cmp rax, rbp
je 0x407340
movzx edx, byte [rdi + rax + 0x10]
mov byte [rbx + rax + 0x10], dl
lea rdx, [rax + 1]
cmp rbp, rdx
jle 0x407340
movzx ecx, byte [rdi + rax + 0x11]
lea rdx, [rax + 2]
cmp rbp, rdx
mov byte [rbx + rax + 0x11], cl
jle 0x407340
movzx ecx, byte [rdi + rax + 0x12]
lea rdx, [rax + 3]
cmp rbp, rdx
mov byte [rbx + rax + 0x12], cl
jle 0x407340
movzx ecx, byte [rdi + rax + 0x13]
lea rdx, [rax + 4]
cmp rbp, rdx
mov byte [rbx + rax + 0x13], cl
jle 0x407340
movzx ecx, byte [rdi + rax + 0x14]
lea rdx, [rax + 5]
cmp rbp, rdx
mov byte [rbx + rax + 0x14], cl
jle 0x407340
movzx ecx, byte [rdi + rax + 0x15]
lea rdx, [rax + 6]
cmp rbp, rdx
mov byte [rbx + rax + 0x15], cl
jle 0x407340
movzx ecx, byte [rdi + rax + 0x16]
lea rdx, [rax + 7]
cmp rbp, rdx
mov byte [rbx + rax + 0x16], cl
jle 0x407340
movzx ecx, byte [rdi + rax + 0x17]
lea rdx, [rax + 8]
cmp rbp, rdx
mov byte [rbx + rax + 0x17], cl
jle 0x407340
movzx ecx, byte [rdi + rax + 0x18]
lea rdx, [rax + 9]
cmp rbp, rdx
mov byte [rbx + rax + 0x18], cl
jle 0x407340
movzx ecx, byte [rdi + rax + 0x19]
lea rdx, [rax + 0xa]
cmp rbp, rdx
mov byte [rbx + rax + 0x19], cl
jle 0x407340
movzx ecx, byte [rdi + rax + 0x1a]
lea rdx, [rax + 0xb]
cmp rbp, rdx
mov byte [rbx + rax + 0x1a], cl
jle 0x407340
movzx ecx, byte [rdi + rax + 0x1b]
lea rdx, [rax + 0xc]
cmp rbp, rdx
mov byte [rbx + rax + 0x1b], cl
jle 0x407340
movzx ecx, byte [rdi + rax + 0x1c]
lea rdx, [rax + 0xd]
cmp rbp, rdx
mov byte [rbx + rax + 0x1c], cl
jle 0x407340
movzx ecx, byte [rdi + rax + 0x1d]
mov byte [rbx + rax + 0x1d], cl
add rax, 0xe
cmp rbp, rax
jle 0x407340
movzx edx, byte [rdi + rax + 0x10]
mov byte [rbx + rax + 0x10], dl
nop word [rax + rax]
mov rcx, qword [rbx]
test cl, 0xf
je 0x407580
mov rax, rcx
sar rax, 0x3f
shr rax, 0x3c
add rcx, rax
and ecx, 0xf
sub rax, rcx
mov rcx, qword [0x0048bd60]
lea rdx, [rax + 0x10]
call fcn.00407100
mov rdx, qword [rbx]
test rax, rax
mov rsi, rax
je 0x408940
add rdx, qword [rax]
mov rcx, qword [0x0048bd60]
call fcn.00407100
mov rcx, qword [rbx]
test rcx, rcx
jle 0x407548
lea r8, [rax + 0x10]
lea rdx, [rbx + 0x20]
lea r9, [rbx + 0x10]
cmp r8, rdx
lea rdx, [rax + 0x20]
setae r8b
cmp r9, rdx
setae dl
or r8b, dl
je 0x4089d3
lea rdx, [rcx - 1]
cmp rdx, 0xe
jbe 0x4089d3
mov rdx, rcx
and rdx, 0xfffffffffffffff0
lea r8, [rdx + 0x10]
mov edx, 0x10
nop
movdqu xmm4, xmmword [rbx + rdx]
movups xmmword [rax + rdx], xmm4
add rdx, 0x10
cmp r8, rdx
jne 0x4073e0
mov rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, rcx
je 0x407543
movzx r8d, byte [rbx + rdx + 0x10]
mov byte [rax + rdx + 0x10], r8b
lea r8, [rdx + 1]
cmp rcx, r8
jle 0x407543
movzx r9d, byte [rbx + rdx + 0x11]
lea r8, [rdx + 2]
cmp rcx, r8
mov byte [rax + rdx + 0x11], r9b
jle 0x407543
movzx r9d, byte [rbx + rdx + 0x12]
lea r8, [rdx + 3]
cmp rcx, r8
mov byte [rax + rdx + 0x12], r9b
jle 0x407543
movzx r9d, byte [rbx + rdx + 0x13]
lea r8, [rdx + 4]
cmp rcx, r8
mov byte [rax + rdx + 0x13], r9b
jle 0x407543
movzx r9d, byte [rbx + rdx + 0x14]
lea r8, [rdx + 5]
cmp rcx, r8
mov byte [rax + rdx + 0x14], r9b
jle 0x407543
movzx r9d, byte [rbx + rdx + 0x15]
lea r8, [rdx + 6]
cmp rcx, r8
mov byte [rax + rdx + 0x15], r9b
jle 0x407543
movzx r9d, byte [rbx + rdx + 0x16]
lea r8, [rdx + 7]
cmp rcx, r8
mov byte [rax + rdx + 0x16], r9b
jle 0x407543
movzx r9d, byte [rbx + rdx + 0x17]
lea r8, [rdx + 8]
cmp rcx, r8
mov byte [rax + rdx + 0x17], r9b
jle 0x407543
movzx r9d, byte [rbx + rdx + 0x18]
lea r8, [rdx + 9]
cmp rcx, r8
mov byte [rax + rdx + 0x18], r9b
jle 0x407543
movzx r9d, byte [rbx + rdx + 0x19]
lea r8, [rdx + 0xa]
cmp rcx, r8
mov byte [rax + rdx + 0x19], r9b
jle 0x407543
movzx r9d, byte [rbx + rdx + 0x1a]
lea r8, [rdx + 0xb]
cmp rcx, r8
mov byte [rax + rdx + 0x1a], r9b
jle 0x407543
movzx r9d, byte [rbx + rdx + 0x1b]
lea r8, [rdx + 0xc]
cmp rcx, r8
mov byte [rax + rdx + 0x1b], r9b
jle 0x407543
movzx r9d, byte [rbx + rdx + 0x1c]
lea r8, [rdx + 0xd]
cmp rcx, r8
mov byte [rax + rdx + 0x1c], r9b
jle 0x407543
movzx r9d, byte [rbx + rdx + 0x1d]
mov byte [rax + rdx + 0x1d], r9b
add rdx, 0xe
cmp rcx, rdx
jle 0x407543
movzx ecx, byte [rbx + rdx + 0x10]
mov byte [rax + rdx + 0x10], cl
test rsi, rsi
je 0x40757a
mov r9, qword [rsi]
test r9, r9
jle 0x408958
xor edx, edx
nop word cs:[rax + rax]
movzx r8d, byte [rsi + rdx + 0x10]
lea rcx, [rax + rdx]
add rdx, 1
add rcx, qword [rbx]
cmp r9, rdx
mov byte [rcx + 0x10], r8b
jne 0x407560
mov rcx, qword [rax]
mov rbx, rax
mov rax, qword [rsp + 0x1b0]
lea r8, [rbx + 0x10]
test rcx, rcx
lea rdx, [rax + 0x38]
jle 0x407750
add rax, 0x48
cmp r8, rax
lea rax, [rbx + 0x20]
setae r9b
cmp rdx, rax
setae al
or r9b, al
je 0x408970
lea rax, [rcx - 1]
cmp rax, 0xe
jbe 0x408970
mov r10, qword [rsp + 0x1b0]
mov r9, rcx
xor eax, eax
and r9, 0xfffffffffffffff0
nop word cs:[rax + rax]
movdqu xmm3, xmmword [rbx + rax + 0x10]
movups xmmword [r10 + rax + 0x38], xmm3
add rax, 0x10
cmp r9, rax
jne 0x4075e0
mov rax, rcx
and rax, 0xfffffffffffffff0
cmp rax, rcx
je 0x407750
movzx r9d, byte [r8 + rax]
mov rdi, qword [rsp + 0x1b0]
mov byte [rdi + rax + 0x38], r9b
lea r9, [rax + 1]
cmp r9, rcx
jge 0x407750
movzx r9d, byte [r8 + rax + 1]
mov byte [rdx + rax + 1], r9b
lea r9, [rax + 2]
cmp r9, rcx
jge 0x407750
movzx r9d, byte [r8 + rax + 2]
mov byte [rdx + rax + 2], r9b
lea r9, [rax + 3]
cmp r9, rcx
jge 0x407750
movzx r9d, byte [r8 + rax + 3]
mov byte [rdx + rax + 3], r9b
lea r9, [rax + 4]
cmp r9, rcx
jge 0x407750
movzx r9d, byte [r8 + rax + 4]
mov byte [rdx + rax + 4], r9b
lea r9, [rax + 5]
cmp r9, rcx
jge 0x407750
movzx r9d, byte [r8 + rax + 5]
mov byte [rdx + rax + 5], r9b
lea r9, [rax + 6]
cmp r9, rcx
jge 0x407750
movzx r9d, byte [r8 + rax + 6]
mov byte [rdx + rax + 6], r9b
lea r9, [rax + 7]
cmp r9, rcx
jge 0x407750
movzx r9d, byte [r8 + rax + 7]
mov byte [rdx + rax + 7], r9b
lea r9, [rax + 8]
cmp r9, rcx
jge 0x407750
movzx r9d, byte [r8 + rax + 8]
mov byte [rdx + rax + 8], r9b
lea r9, [rax + 9]
cmp r9, rcx
jge 0x407750
movzx r9d, byte [r8 + rax + 9]
mov byte [rdx + rax + 9], r9b
lea r9, [rax + 0xa]
cmp r9, rcx
jge 0x407750
movzx r9d, byte [r8 + rax + 0xa]
mov byte [rdx + rax + 0xa], r9b
lea r9, [rax + 0xb]
cmp r9, rcx
jge 0x407750
movzx r9d, byte [r8 + rax + 0xb]
mov byte [rdx + rax + 0xb], r9b
lea r9, [rax + 0xc]
cmp r9, rcx
jge 0x407750
movzx r9d, byte [r8 + rax + 0xc]
mov byte [rdx + rax + 0xc], r9b
lea r9, [rax + 0xd]
cmp r9, rcx
jge 0x407750
movzx r9d, byte [r8 + rax + 0xd]
mov byte [rdx + rax + 0xd], r9b
lea r9, [rax + 0xe]
cmp r9, rcx
jge 0x407750
movzx ecx, byte [r8 + rax + 0xe]
mov byte [rdx + rax + 0xe], cl
nop
mov rax, qword [0x0048f168]
mov rdi, qword [rsp + 0x1b0]
add rdi, 0x58
test rax, rax
mov qword [rsp + 0xd8], rdi
je 0x408930
mov rbx, qword [rax]
mov rcx, rdi
call fcn.00413340
mov rax, qword [0x0048f080]
mov rdx, qword [0x0048f088]
test rbx, rbx
jle 0x408890
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 xmm0, xmmword [rax]
mov rdx, r10
mov eax, dword [rax + 0xc]
shl rdx, 0x10
movaps xmmword [rsp + 0x20], xmm0
or r10, rdx
mov rdx, rcx
movaps xmmword [rsp + 0x120], xmm0
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.00402980
mov rax, qword [rsp + 0x1b0]
mov r13, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xe0]
mov r12, qword [rsp + 0xf0]
mov rsi, qword [rax + 0x418]
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 + 0x60]
xor rbx, qword [rax + 0x58]
sub rsi, 1
xor r12, qword [rax + 0x68]
mov qword [rsp + 0xb8], rsi
xor r15, qword [rax + 0x70]
xor rdi, qword [rax + 0x78]
xor rbp, r13
xor rcx, qword [rax + 0x80]
mov r9, rbx
mov qword [rsp + 0xe0], rbx
xor rdx, qword [rax + 0x88]
mov qword [rsp + 0xe8], rbp
xor r10, qword [rax + 0x90]
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 0x408317
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
nop dword [rax]
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 rsi, qword [rsp + 0x68]
and r8, rcx
and r14, qword [rsp + 0x60]
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
xor r14, qword [rsp + 0x80]
xor rbp, r10
xor rdx, r11
mov r11, qword [rsp + 0x40]
xor rbp, r9
and rax, qword [rsp + 0x78]
xor r13, rcx
xor rsi, rbp
xor rdx, r8
xor r14, r13
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 + 0x30]
xor r11, qword [rcx + 0x20]
xor r15, qword [rcx + 0x28]
mov rdi, qword [rcx + 0x18]
xor rbx, r12
mov rbp, rbx
mov rbx, rcx
mov rcx, qword [rcx + 0x38]
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 + 0x40]
ror rcx, 0x10
xor r8, qword [rbx + 0x50]
mov r15, rax
mov rax, rdi
xor rsi, qword [rbx + 0x48]
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 + 0x68], r10
mov r10, rdi
xor r10, r11
mov qword [rsp + 0x88], r10
mov qword [rsp + 0x60], 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 + 0x70], r15
mov r15, qword [rsp + 0x38]
mov r10, r15
xor r10, r14
mov qword [rsp + 0x58], 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 + 0x68]
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 + 0x60]
xor rdx, r10
xor rdx, r12
xor rdx, rbx
xor r11, r10
xor rdx, r8
xor rdx, qword [rsp + 0x68]
mov qword [rsp + 0x68], 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 + 0x70]
xor r10, r9
xor r10, qword [rsp + 0x60]
xor r10, rbx
xor r10, r8
xor r10, qword [rsp + 0x70]
xor r10, qword [rsp + 0x58]
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 + 0x68]
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 + 0x58]
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 0x4079e0
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.00402000
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0x100]
mov r9, qword [rsp + 0x108]
mov r10, rax
mov rbp, qword [rsp + 0xf8]
mov rsi, rcx
mov r15, qword [rsp + 0x1b0]
mov rbx, rdx
mov r11, qword [rsp + 0x118]
xor rbx, rdi
mov r8, qword [rsp + 0x110]
xor rsi, rbp
xor r10, r9
xor rcx, rax
xor rcx, r9
xor rax, rdi
xor rcx, qword [r15 + 0x70]
xor rdx, rbp
xor r10, r11
xor r10, qword [r15 + 0x58]
xor r9, rsi
xor rdx, r8
xor rdx, qword [r15 + 0x78]
movabs rdi, 0xff00ff00ff00ff
xor r9, qword [r15 + 0x88]
mov qword [rsp + 0xf8], rcx
mov rcx, r14
not r10
mov qword [rsp + 0xe0], r10
mov r10, r8
xor r8, rbx
xor r8, qword [r15 + 0x90]
xor r10, rsi
xor r10, qword [r15 + 0x60]
mov qword [rsp + 0x100], rdx
mov qword [rsp + 0x110], r9
mov qword [rsp + 0x118], r8
mov qword [rsp + 0xe8], r10
mov r10, r11
xor r11, rax
xor r11, qword [r15 + 0x80]
xor r10, rbx
xor r10, qword [r15 + 0x68]
mov qword [rsp + 0x108], r11
not r10
mov qword [rsp + 0xf0], r10
call fcn.00402980
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 qword [rsp + 0xc8], rax
mov qword [rsp + 0xc0], rdi
jne 0x4077e0
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x120], rcx
mov rax, qword [rsp + 0x120]
test rax, rax
je 0x4088e5
xor edx, edx
mov r8d, 0x3c8
call sub.msvcrt.dll_exit_30
mov edx, 0x3c8
nop
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 0x4088c0
add rsp, 0x168
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [0x0048bd60]
xor edx, edx
call fcn.00407100
mov rbx, rax
test rbx, rbx
jne 0x407340
mov rax, qword [rsp + 0x1b0]
lea rdx, [rax + 0x38]
jmp 0x407750
mov rcx, rdi
call fcn.00413340
jmp 0x408890
mov rcx, qword [0x0048bd60]
call fcn.00407100
mov rcx, qword [rbx]
test rcx, rcx
jg 0x40739a
test rax, rax
mov rbx, rax
je 0x40891a
mov rcx, qword [rax]
jmp 0x407580
mov r9, qword [rsp + 0x1b0]
xor eax, eax
nop word [rax + rax]
movzx r8d, byte [rbx + rax + 0x10]
mov byte [r9 + rax + 0x38], r8b
add rax, 1
cmp rax, rcx
jne 0x408980
jmp 0x407750
xor eax, eax
nop dword [rax]
nop word cs:[rax + rax]
movzx edx, byte [rdi + rax + 0x10]
mov byte [rbx + rax + 0x10], dl
add rax, 1
cmp rbp, rax
jne 0x4089b0
mov rcx, qword [rbx]
test cl, 0xf
jne 0x40734c
jmp 0x407580
xor edx, edx
nop
nop word cs:[rax + rax]
movzx r8d, byte [rbx + rdx + 0x10]
mov byte [rax + rdx + 0x10], r8b
add rdx, 1
cmp rcx, rdx
jne 0x4089e0
jmp 0x407543