Function at 0x46b160
Capabilities:
Encode data using xor
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov rax, qword [0x013e6100]
mov rsi, qword [rax]
mov qword [rsp + 0x1c0], rcx
test rsi, rsi
je 0x46cc70
mov rax, qword [rsi]
mov edi, 7
lea rbx, [rax + rax]
cmp rbx, 7
cmovge rdi, rbx
lea rcx, [rdi + 0x11]
movq xmm6, rdi
call fcn.004704f0
movq xmm0, rbx
xor edx, edx
mov r8, qword [0x013e5ea0]
punpcklqdq xmm0, xmm6
movups xmmword [rax], xmm0
mov r10, qword [rsi]
test r10, r10
jle 0x46b210
nop
nop word cs:[rax + rax]
movzx r9d, byte [rsi + rdx + 0x10]
mov rcx, r9
and ecx, 0xf
movzx ecx, byte [r8 + rcx + 0x10]
mov byte [rax + rdx*2 + 0x11], cl
mov rcx, r9
sar rcx, 4
movzx ecx, byte [r8 + rcx + 0x10]
mov byte [rax + rdx*2 + 0x10], cl
add rdx, 1
cmp r10, rdx
jne 0x46b1e0
mov rdi, qword [0x013e5e40]
lea rsi, [rax + 0x10]
mov edx, 0x10
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x46cca3
mov rcx, rbx
imul rcx, qword [rax]
jo 0x46d4bb
xor r12d, r12d
add rdx, rcx
seto r12b
test r12, r12
jne 0x46d4bb
mov rcx, qword [0x013e5e40]
call fcn.004650a0
movq xmm0, rbx
test rbx, rbx
punpcklqdq xmm0, xmm0
mov rbp, rax
movups xmmword [rax], xmm0
jle 0x46b400
lea rax, [rax + 0x20]
cmp rsi, rax
setae dl
cmp rbp, rsi
setae al
or dl, al
je 0x46cc50
lea rax, [rbx - 1]
cmp rax, 0xe
jbe 0x46cc50
mov rax, rbx
xor edx, edx
and rax, 0xfffffffffffffff0
nop
nop word cs:[rax + rax]
movdqu xmm3, xmmword [rsi + rdx]
movups xmmword [rbp + rdx + 0x10], xmm3
add rdx, 0x10
cmp rax, rdx
jne 0x46b2b0
mov rax, rbx
and rax, 0xfffffffffffffff0
cmp rax, rbx
je 0x46b400
movzx edx, byte [rsi + rax]
mov byte [rbp + rax + 0x10], dl
lea rdx, [rax + 1]
cmp rbx, rdx
jle 0x46b400
movzx ecx, byte [rsi + rax + 1]
lea rdx, [rax + 2]
cmp rbx, rdx
mov byte [rbp + rax + 0x11], cl
jle 0x46b400
movzx ecx, byte [rsi + rax + 2]
lea rdx, [rax + 3]
cmp rbx, rdx
mov byte [rbp + rax + 0x12], cl
jle 0x46b400
movzx ecx, byte [rsi + rax + 3]
lea rdx, [rax + 4]
cmp rbx, rdx
mov byte [rbp + rax + 0x13], cl
jle 0x46b400
movzx ecx, byte [rsi + rax + 4]
lea rdx, [rax + 5]
cmp rbx, rdx
mov byte [rbp + rax + 0x14], cl
jle 0x46b400
movzx ecx, byte [rsi + rax + 5]
lea rdx, [rax + 6]
cmp rbx, rdx
mov byte [rbp + rax + 0x15], cl
jle 0x46b400
movzx ecx, byte [rsi + rax + 6]
lea rdx, [rax + 7]
cmp rbx, rdx
mov byte [rbp + rax + 0x16], cl
jle 0x46b400
movzx ecx, byte [rsi + rax + 7]
lea rdx, [rax + 8]
cmp rbx, rdx
mov byte [rbp + rax + 0x17], cl
jle 0x46b400
movzx ecx, byte [rsi + rax + 8]
lea rdx, [rax + 9]
cmp rbx, rdx
mov byte [rbp + rax + 0x18], cl
jle 0x46b400
movzx ecx, byte [rsi + rax + 9]
lea rdx, [rax + 0xa]
cmp rbx, rdx
mov byte [rbp + rax + 0x19], cl
jle 0x46b400
movzx ecx, byte [rsi + rax + 0xa]
lea rdx, [rax + 0xb]
cmp rbx, rdx
mov byte [rbp + rax + 0x1a], cl
jle 0x46b400
movzx ecx, byte [rsi + rax + 0xb]
lea rdx, [rax + 0xc]
cmp rbx, rdx
mov byte [rbp + rax + 0x1b], cl
jle 0x46b400
movzx ecx, byte [rsi + rax + 0xc]
lea rdx, [rax + 0xd]
cmp rbx, rdx
mov byte [rbp + rax + 0x1c], cl
jle 0x46b400
movzx ecx, byte [rsi + rax + 0xd]
lea rdx, [rax + 0xe]
cmp rbx, rdx
mov byte [rbp + rax + 0x1d], cl
jle 0x46b400
movzx eax, byte [rsi + rax + 0xe]
mov byte [rbp + rdx + 0x10], al
nop word [rax + rax]
lea rcx, [0x013e4100]
mov edx, 0x59c14ec2
call fcn.00464e30
mov rbx, rax
mov rax, qword [0x013e6110]
mov r13, qword [rax]
test r13, r13
je 0x46d260
mov rax, qword [r13]
mov esi, 7
lea r14, [rax + rax]
cmp r14, 7
cmovge rsi, r14
lea r15, [rsi + 0x11]
mov rcx, r15
call fcn.004704f0
movq xmm0, r14
movq xmm5, rsi
mov r8, qword [0x013e5ea0]
punpcklqdq xmm0, xmm5
movups xmmword [rax], xmm0
mov rcx, qword [r13]
mov r12, rax
xor eax, eax
test rcx, rcx
jle 0x46b4a2
nop
movzx r9d, byte [r13 + rax + 0x10]
mov rdx, r9
and edx, 0xf
movzx edx, byte [r8 + rdx + 0x10]
mov byte [r12 + rax*2 + 0x11], dl
mov rdx, r9
sar rdx, 4
movzx edx, byte [r8 + rdx + 0x10]
mov byte [r12 + rax*2 + 0x10], dl
add rax, 1
cmp rcx, rax
jne 0x46b470
test rbx, rbx
je 0x46d28f
add r14, qword [rbx]
mov eax, 7
cmp r14, 7
cmovl r14, rax
lea rcx, [r14 + 0x11]
call fcn.004704f0
lea rdx, [rbx + 0x10]
lea rcx, [rax + 0x10]
mov r13, rax
mov qword [rax + 8], r14
mov qword [rax], 0
mov rax, qword [rbx]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rcx, qword [rbx]
mov qword [r13], rcx
add rcx, 0x10
mov rax, qword [r12]
lea rdx, [r12 + 0x10]
add rcx, r13
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r12]
mov ecx, 1
add qword [r13], rax
mov rsi, qword [fcn.00474b60]
call rsi
mov rdx, r13
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e35d1]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
mov edx, 0xd4efb66
lea rcx, [0x013e40c0]
call fcn.00464e30
test rax, rax
mov r13, rax
je 0x46d2b0
mov rdx, qword [0x013e5e40]
mov rcx, rbp
mov r12, qword [r13]
call fcn.0046a060
test rax, rax
je 0x46d230
mov rdx, qword [0x013e5e40]
mov rcx, rbp
call fcn.0046a060
add r12, qword [rax]
mov eax, 7
cmp r12, 7
cmovl r12, rax
lea rcx, [r12 + 0x11]
call fcn.004704f0
test r13, r13
mov rbx, rax
mov qword [rax + 8], r12
mov qword [rax], 0
je 0x46b5e8
mov rax, qword [r13]
lea rcx, [rbx + 0x10]
lea rdx, [r13 + 0x10]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r13]
mov qword [rbx], rax
mov rdx, qword [0x013e5e40]
mov rcx, rbp
call fcn.0046a060
test rax, rax
mov r12, rax
je 0x46b620
mov rax, qword [rbx]
lea rdx, [r12 + 0x10]
lea rcx, [rbx + rax + 0x10]
mov rax, qword [r12]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r12]
add qword [rbx], rax
mov ecx, 1
call rsi
mov rdx, rbx
lea rbx, [rbp + 0x10]
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov edx, 1
mov r8d, 1
lea rcx, [0x013e35d1]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
mov rdx, qword [rbp]
test dl, 0x1f
jne 0x46ccc0
mov rax, qword [rsp + 0x1c0]
test rdx, rdx
lea rdi, [rax + 0x10]
jle 0x46b820
add rax, 0x20
cmp rbx, rax
lea rax, [rbx + 0x10]
setae cl
cmp rdi, rax
setae al
or cl, al
je 0x46d340
lea rax, [rdx - 1]
cmp rax, 0xe
jbe 0x46d340
mov r8, qword [rsp + 0x1c0]
mov rcx, rdx
xor eax, eax
and rcx, 0xfffffffffffffff0
nop dword [rax]
nop word cs:[rax + rax]
movdqu xmm4, xmmword [rbx + rax]
movups xmmword [r8 + rax + 0x10], xmm4
add rax, 0x10
cmp rcx, rax
jne 0x46b6d0
mov rax, rdx
and rax, 0xfffffffffffffff0
cmp rax, rdx
je 0x46b820
movzx ecx, byte [rbx + rax]
mov r9, qword [rsp + 0x1c0]
mov byte [r9 + rax + 0x10], cl
lea rcx, [rax + 1]
cmp rcx, rdx
jge 0x46b820
movzx ecx, byte [rbx + rax + 1]
mov byte [rdi + rax + 1], cl
lea rcx, [rax + 2]
cmp rcx, rdx
jge 0x46b820
movzx ecx, byte [rbx + rax + 2]
mov byte [rdi + rax + 2], cl
lea rcx, [rax + 3]
cmp rdx, rcx
jle 0x46b820
movzx ecx, byte [rbx + rax + 3]
mov byte [rdi + rax + 3], cl
lea rcx, [rax + 4]
cmp rdx, rcx
jle 0x46b820
movzx ecx, byte [rbx + rax + 4]
mov byte [rdi + rax + 4], cl
lea rcx, [rax + 5]
cmp rdx, rcx
jle 0x46b820
movzx ecx, byte [rbx + rax + 5]
mov byte [rdi + rax + 5], cl
lea rcx, [rax + 6]
cmp rcx, rdx
jge 0x46b820
movzx ecx, byte [rbx + rax + 6]
mov byte [rdi + rax + 6], cl
lea rcx, [rax + 7]
cmp rcx, rdx
jge 0x46b820
movzx ecx, byte [rbx + rax + 7]
mov byte [rdi + rax + 7], cl
lea rcx, [rax + 8]
cmp rdx, rcx
jle 0x46b820
movzx ecx, byte [rbx + rax + 8]
mov byte [rdi + rax + 8], cl
lea rcx, [rax + 9]
cmp rdx, rcx
jle 0x46b820
movzx ecx, byte [rbx + rax + 9]
mov byte [rdi + rax + 9], cl
lea rcx, [rax + 0xa]
cmp rdx, rcx
jle 0x46b820
movzx ecx, byte [rbx + rax + 0xa]
mov byte [rdi + rax + 0xa], cl
lea rcx, [rax + 0xb]
cmp rdx, rcx
jle 0x46b820
movzx ecx, byte [rbx + rax + 0xb]
mov byte [rdi + rax + 0xb], cl
lea rcx, [rax + 0xc]
cmp rdx, rcx
jle 0x46b820
movzx ecx, byte [rbx + rax + 0xc]
mov byte [rdi + rax + 0xc], cl
lea rcx, [rax + 0xd]
cmp rdx, rcx
jle 0x46b820
movzx ecx, byte [rbx + rax + 0xd]
mov byte [rdi + rax + 0xd], cl
lea rcx, [rax + 0xe]
cmp rdx, rcx
jle 0x46b820
movzx edx, byte [rbx + rax + 0xe]
mov byte [rdi + rax + 0xe], dl
nop dword [rax]
mov rax, qword [0x013e60f0]
mov rbx, qword [rsp + 0x1c0]
mov rax, qword [rax]
lea r15, [rbx + 0x30]
mov qword [rsp + 0xd8], r15
test rax, rax
je 0x46d400
lea rcx, [0x013e4000]
mov edx, 0x5955c182
mov rbx, qword [rax]
call fcn.00464e30
mov ecx, 1
mov rbp, rax
call rsi
mov rdx, rbp
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e35d1]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
mov rdx, rdi
mov rcx, r15
call fcn.00470f20
mov rax, qword [0x013e61b0]
test rbx, rbx
mov rdx, qword [0x013e61c0]
mov rax, qword [rax]
mov rdx, qword [rdx]
jle 0x46cbce
mov qword [rsp + 0xc0], rax
lea rax, [rbx - 1]
and rax, 0xfffffffffffffff0
mov qword [rsp + 0x60], rdx
lea rax, [rdx + rax + 0x10]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0xd0], rax
nop word [rax + rax]
mov rbx, qword [rsp + 0xd0]
xor eax, eax
mov ecx, 8
movabs rsi, 0xff00ff00ff00ff
mov rdi, qword [rsp + 0x88]
lea rdx, [rbx + 0x10]
movabs rbx, 0xffff0000ffff
rep stosq qword [rdi], rax
mov rdi, rdx
mov ecx, 6
rep stosq qword [rdi], rax
mov rax, qword [rsp + 0x60]
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 + 0x88]
and rdx, r8
or rdx, r10
mov qword [rsp + 0x100], rax
mov qword [rsp + 0xe0], rdx
call fcn.00462100
mov rax, qword [rsp + 0x1c0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xf0]
mov r12, qword [rax + 0x3f0]
mov r15, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0x100]
mov r11, qword [rsp + 0x108]
mov rax, r12
mov rdx, qword [rsp + 0x110]
shl rax, 6
add rax, qword [rsp + 0x1c0]
mov r9, qword [rsp + 0x118]
xor rsi, qword [rax + 0x30]
xor rbp, qword [rax + 0x38]
xor rdi, qword [rax + 0x40]
xor r15, qword [rax + 0x48]
xor rbx, qword [rax + 0x50]
mov r8, rsi
mov qword [rsp + 0xe0], rsi
xor r11, qword [rax + 0x58]
mov qword [rsp + 0xe8], rbp
xor rdx, qword [rax + 0x60]
mov qword [rsp + 0xf0], rdi
xor r9, qword [rax + 0x68]
mov qword [rsp + 0xf8], r15
mov qword [rsp + 0x100], rbx
lea rsi, [r12 - 1]
mov qword [rsp + 0x108], r11
test rsi, rsi
mov qword [rsp + 0x110], rdx
mov qword [rsp + 0x118], r9
mov qword [rsp + 0xb8], rsi
jle 0x46c420
mov r10, rbx
mov qword [rsp + 0x58], rax
mov r14, rdx
mov r12, r11
mov rbx, r8
nop
nop word cs:[rax + rax]
mov rax, rbx
mov rdx, rbx
mov r11, rbp
shl rax, 4
shr rdx, 0xc
movabs rsi, 0xff0000000000
and edx, 0xf0000
and eax, 0xfff00000
movabs rcx, 0xff00000000
or rax, rdx
movzx edx, bx
shl r11, 4
or rax, rdx
mov rdx, rbx
movabs r8, 0xf000000000000000
shl rdx, 8
and r11d, 0xfff00000
mov r13, r8
and rdx, rsi
or rax, rdx
mov rdx, rbx
shr rdx, 8
and rdx, rcx
or rax, rdx
mov rdx, rbx
shr rbx, 4
shl rdx, 0xc
and rdx, r8
or rax, rdx
movabs rdx, 0xfff000000000000
and rbx, rdx
or rbx, rax
mov rax, rbp
shr rax, 0xc
and eax, 0xf0000
or r11, rax
movzx eax, bp
or r11, rax
mov rax, rbp
shl rax, 8
and rax, rsi
or r11, rax
mov rax, rbp
shr rax, 8
and rax, rcx
or r11, rax
mov rax, rbp
shl rax, 0xc
and rax, r8
or rax, r11
mov r11, rbp
mov rbp, rdi
shr r11, 4
shr rbp, 0xc
and r11, rdx
mov rdx, rbp
mov rbp, rdi
or r11, rax
mov rax, rdi
and edx, 0xf0000
shl rax, 4
shl rbp, 8
and eax, 0xfff00000
or rax, rdx
movzx edx, di
or rax, rdx
mov rdx, rbp
mov rbp, rdi
and rdx, rsi
shr rbp, 8
or rax, rdx
mov rdx, rbp
mov rbp, rcx
and rdx, rcx
mov rcx, rdi
shr rdi, 4
shl rcx, 0xc
or rax, rdx
mov rdx, rcx
mov rcx, r15
and rdx, r8
shl rcx, 4
or rax, rdx
and ecx, 0xfff00000
movabs rdx, 0xfff000000000000
and rdi, rdx
or rdi, rax
mov rax, r15
shr rax, 0xc
and eax, 0xf0000
or rcx, rax
movzx eax, r15w
or rcx, rax
mov rax, r15
shl rax, 8
and rax, rsi
or rcx, rax
mov rax, r15
shr rax, 8
and rax, rbp
or rcx, rax
mov rax, r15
shr r15, 4
shl rax, 0xc
and r15, rdx
and rax, r8
mov r8, r10
or rcx, rax
mov rax, r10
shl r8, 4
shr rax, 0xc
and r8d, 0xfff00000
or rcx, r15
and eax, 0xf0000
mov r15, rsi
or r8, rax
movzx eax, r10w
or r8, rax
mov rax, r10
shl rax, 8
mov rdx, rax
mov rax, r10
and rdx, rsi
shr rax, 8
movabs rsi, 0xfff000000000000
or r8, rdx
mov rdx, rax
mov rax, r10
shl rax, 0xc
and rdx, rbp
shr r10, 4
or r8, rdx
mov rdx, rax
and r10, rsi
and rdx, r13
mov rax, r12
or r8, rdx
shl rax, 4
mov rdx, r14
or r8, r10
mov r10, r12
and eax, 0xfff00000
shr r10, 0xc
and r10d, 0xf0000
or rax, r10
movzx r10d, r12w
or rax, r10
mov r10, r12
shl r10, 8
shr rdx, 0xc
and r10, r15
and edx, 0xf0000
or rax, r10
mov r10, r12
shr r10, 8
and r10, rbp
or rax, r10
mov r10, r12
shl r10, 0xc
and r10, r13
or r10, rax
mov rax, r12
mov r12, rsi
shr rax, 4
and rax, rsi
mov rsi, r14
shl rsi, 4
or rax, r10
mov r10, r15
and esi, 0xfff00000
or rsi, rdx
movzx edx, r14w
or rsi, rdx
mov rdx, r14
shl rdx, 8
and rdx, r15
mov r15, r9
or rsi, rdx
mov rdx, r14
shl r15, 4
shr rdx, 8
and r15d, 0xfff00000
and rdx, rbp
or rsi, rdx
mov rdx, r14
shr r14, 4
shl rdx, 0xc
and r14, r12
and rdx, r13
or rsi, rdx
mov rdx, r9
or rsi, r14
shr rdx, 0xc
and edx, 0xf0000
mov r14, rsi
or r15, rdx
movzx edx, r9w
or r15, rdx
mov rdx, r9
shl rdx, 8
and rdx, r10
mov r10, rbx
or r15, rdx
mov rdx, r9
xor r10, rcx
shr rdx, 8
and rdx, rbp
mov rbp, r11
xor r11, rcx
or r15, rdx
mov rdx, r9
shr r9, 4
shl rdx, 0xc
xor rbp, r8
xor r11, rsi
and rdx, r13
xor rcx, r8
xor r8, rdi
or r15, rdx
mov rdx, r12
mov r12, rdi
and rdx, r9
xor r12, rax
xor r14, rbp
or r15, rdx
mov rdx, r11
mov r13, rax
mov r9, r15
xor r8, r15
xor r12, r15
xor r9, rbp
not r12
xor rbp, r10
not r9
xor rsi, r10
xor r13, r10
xor rdx, r9
mov r10, r14
mov qword [rsp + 0x20], rdx
mov rdx, r8
xor r10, r9
mov r8, r12
xor rdx, r13
mov r15, qword [rsp + 0x20]
xor rbx, rdi
mov qword [rsp + 0x38], r10
xor r8, rdx
xor rax, rbx
xor r11, r8
mov qword [rsp + 0x48], r11
mov r11, r14
xor r11, r8
xor r15, rbp
mov qword [rsp + 0x50], r11
mov r11, rsi
xor rax, r15
not rsi
xor r11, r8
xor r9, rax
xor r13, rax
mov qword [rsp + 0x98], r15
mov qword [rsp + 0x68], r11
mov r11, qword [rsp + 0x68]
mov rax, r12
xor rax, r9
mov qword [rsp + 0x70], rax
mov rax, rcx
mov qword [rsp + 0x90], rax
xor r11, r10
mov r10, r13
mov r13, rdx
xor rcx, r10
xor r13, r9
mov qword [rsp + 0xa0], r11
mov rdi, rcx
xor rdx, rcx
mov qword [rsp + 0x40], r13
xor r13, rcx
xor rdi, r12
mov qword [rsp + 0xa8], rcx
mov rbx, r13
mov r13, r15
mov qword [rsp + 0x78], rdi
mov rdi, r10
and r13, r9
mov r15, rbp
not rdi
mov qword [rsp + 0xb0], rbx
xor r10, r13
and r15, rdx
mov rcx, rdi
mov rdi, qword [rsp + 0x20]
and rcx, rax
mov rax, qword [rsp + 0x70]
and rdi, rbx
and rax, r11
mov r11, qword [rsp + 0x48]
mov rbx, rdi
mov rdi, qword [rsp + 0x38]
xor rbx, rcx
xor r10, rax
mov rax, rsi
and rdi, qword [rsp + 0x40]
xor r10, rbx
mov rsi, qword [rsp + 0x50]
and r11, r12
xor r11, qword [rsp + 0x38]
xor r11, qword [rsp + 0x40]
xor rdi, rcx
xor r11, r13
and rsi, qword [rsp + 0x78]
and rax, r8
xor r14, rdx
xor rax, rbp
xor r11, rdi
xor rax, rdx
xor rax, r15
xor r15, r14
xor r15, rsi
xor rax, rbx
mov r14, r15
xor r14, rdi
mov rdi, rax
mov rcx, r14
mov r14, r10
and r10, rax
xor r14, r11
mov r13, rcx
xor rdi, rcx
xor r13, r10
mov rsi, r14
and rsi, r13
xor rsi, r11
xor r11, r10
and r11, rdi
mov rdi, rcx
xor rdi, r11
xor r11, r10
and rcx, r11
xor rax, rdi
xor rax, rcx
xor rcx, r13
mov r10, rcx
and r10, rsi
mov rbx, r10
xor rbx, r14
mov r14, rax
xor r14, rbx
mov r13, r14
mov r14, rsi
xor r14, rdi
mov r15, r13
mov r11, r14
mov r14, rsi
xor r14, rbx
mov r10, r14
mov r14, rdi
xor r14, rax
xor r15, r11
and r8, rbx
and rdx, r10
mov qword [rsp + 0x80], r8
and r10, rbp
mov rbp, qword [rsp + 0x20]
mov r8, qword [rsp + 0xa0]
mov rcx, r15
and r9, r14
and r12, rdi
mov r15, qword [rsp + 0x78]
xor r9, rdx
and rbp, rcx
and r8, rax
mov qword [rsp + 0xa0], r8
mov r8, rbp
and r15, rsi
mov rbp, qword [rsp + 0x90]
mov qword [rsp + 0x78], r15
mov r15, qword [rsp + 0xb0]
mov qword [rsp + 0x20], r8
and r14, qword [rsp + 0x98]
and rsi, qword [rsp + 0x50]
and rbp, r11
and r11, qword [rsp + 0xa8]
and r15, rcx
mov rcx, rbp
and rax, qword [rsp + 0x70]
xor rcx, r8
mov r8, r12
and rbx, qword [rsp + 0x68]
xor r8, r10
xor rbx, qword [rsp + 0x78]
xor rdx, r11
mov r11, qword [rsp + 0x40]
mov rbp, r8
xor rdx, r15
mov r8, qword [rsp + 0x80]
xor rbp, r9
xor rsi, rbp
and r11, r13
xor r11, r15
mov r15, qword [rsp + 0xa0]
xor r8, rcx
xor r11, r8
xor rsi, r11
xor r14, r15
xor r14, r8
mov r8, qword [rsp + 0x80]
xor r8, rdx
xor rax, r14
xor r12, qword [rsp + 0x78]
xor rcx, rbp
xor r10, rbx
xor rbx, rcx
mov rcx, qword [rsp + 0x38]
xor r9, rax
xor r14, rdx
mov rdx, r8
xor r10, r11
xor rdx, r9
xor rax, r12
mov r12, qword [rsp + 0x48]
and rcx, r13
xor rcx, qword [rsp + 0x20]
mov r13, rbx
xor r13, rax
mov r11, r13
and r12, rdi
xor r11, rdx
xor rcx, r8
xor r12, r15
mov r15, r14
xor r12, rsi
xor rsi, rcx
mov rcx, qword [rsp + 0x58]
xor r15, r10
xor rbx, qword [rcx + 8]
xor r11, qword [rcx - 8]
xor r15, qword [rcx]
mov rdi, qword [rcx - 0x10]
xor rbx, r12
xor rbx, rsi
mov rbp, rbx
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
xor r15, r9
xor rdi, r14
xor rdi, r12
xor rdi, rsi
xor rcx, r10
xor rax, rcx
xor rax, rdx
xor r14, qword [rbx + 0x18]
xor r8, qword [rbx + 0x28]
mov rcx, rax
mov rax, rdi
xor rsi, qword [rbx + 0x20]
mov rbx, rbp
mov qword [rsp + 0x48], rcx
ror rax, 0x10
xor r14, r9
mov rdx, r8
mov r8, rcx
xor r14, r12
xor rdx, r10
mov r10, r11
ror r8, 0x10
ror r10, 0x10
mov r9, rdx
mov qword [rsp + 0x68], rdx
xor rsi, r13
mov qword [rsp + 0x20], r10
mov r10, rbp
ror r9, 0x10
mov rcx, r14
ror r10, 0x10
xor rdx, r9
mov qword [rsp + 0x40], r8
mov r8, rbx
mov qword [rsp + 0x38], r10
mov r10, rdi
ror rcx, 0x10
mov rbp, rdi
xor r10, r11
xor rbp, r14
mov r12, r15
mov qword [rsp + 0x90], r10
mov r10, rbx
mov rbx, rdx
mov r13, rsi
xor rbx, rsi
xor r10, r14
ror r13, 0x10
mov qword [rsp + 0x78], rbx
mov rbx, r11
ror r12, 0x10
xor rbx, r15
mov qword [rsp + 0xb0], r10
mov qword [rsp + 0x98], rbx
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x80], rdx
xor rdx, rax
xor rdx, rcx
mov r10, rbx
xor r10, r14
mov qword [rsp + 0x70], r10
mov r10, r15
xor r10, r8
xor r8, rbx
mov qword [rsp + 0xa0], r10
mov r10, r14
xor r10, rsi
mov qword [rsp + 0xa8], r8
mov r8, rax
xor r8, rcx
mov qword [rsp + 0x50], r10
mov r10, qword [rsp + 0x50]
mov rbx, r8
mov r8, rax
xor rbx, rsi
xor rbx, rbp
xor rdx, r10
rol rbx, 0x20
xor rbx, rdx
mov rdx, qword [rsp + 0x20]
xor r11, r14
xor r11, qword [rsp + 0x68]
xor r8, rdx
xor r11, rdx
mov rdx, r8
mov r8, r15
xor rdx, r9
xor r8, r9
xor r15, r10
mov r10, qword [rsp + 0x38]
xor rdx, rcx
xor r15, r12
xor r11, rcx
xor rdx, r13
xor r15, rax
xor r11, r13
xor rbp, rdx
mov rdx, r8
mov r8, qword [rsp + 0x90]
rol r11, 0x20
xor rdx, rdi
mov rdi, rsi
xor r15, r10
xor rdi, r12
xor rdx, rsi
xor r15, rcx
xor rdi, r9
xor rdi, qword [rsp + 0x20]
xor rdx, r12
xor rbp, r11
xor rdx, r13
xor r15, r8
rol rdx, 0x20
mov r11, r10
xor rdi, r13
xor rdi, r8
xor rdi, rdx
mov rdx, qword [rsp + 0x78]
xor rax, rdx
xor rax, r10
mov r10, qword [rsp + 0xb0]
xor rax, rcx
xor rax, r8
mov r8, qword [rsp + 0x98]
xor rax, r10
rol rax, 0x20
xor r15, rax
mov rax, qword [rsp + 0x20]
xor rax, r11
mov r11, qword [rsp + 0x70]
xor rax, r9
xor rax, qword [rsp + 0x40]
xor rax, rcx
xor rax, r13
xor rax, r10
mov r10, qword [rsp + 0x20]
xor r10, qword [rsp + 0x40]
xor rax, r8
xor r10, qword [rsp + 0x68]
xor r10, rcx
xor r10, r13
xor r10, r8
mov r8, qword [rsp + 0xa0]
xor r10, r11
rol r10, 0x20
xor r10, rax
mov rax, qword [rsp + 0x48]
xor rax, rsi
xor rax, r9
xor rax, r12
xor rax, qword [rsp + 0x40]
xor r12, r9
xor r12, rcx
xor r12, r13
xor r12, r8
xor rax, rcx
xor rax, r13
xor rax, r8
xor r12, qword [rsp + 0x50]
xor r9, rsi
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0xa8]
sub qword [rsp + 0x58], 0x40
rol r12, 0x20
xor r12, rax
mov rax, qword [rsp + 0x80]
xor r9, rsi
xor r9, r13
xor r9, r11
xor r14, rax
xor r14, qword [rsp + 0x38]
xor rax, rsi
xor r14, rcx
mov rcx, qword [rsp + 0x38]
xor r14, r13
xor r14, r8
xor rcx, rdx
xor rcx, r13
mov r13, rax
xor rcx, r8
xor r13, r11
rol rcx, 0x20
rol r13, 0x20
xor r14, rcx
xor r9, r13
sub qword [rsp + 0xb8], 1
jne 0x46bb00
mov r8, rbx
mov rdx, r14
mov r11, r12
mov rbx, r10
movabs rcx, 0xff0000000000
mov rax, r8
mov rsi, r8
shl rax, 4
shr rsi, 4
movabs r14, 0xff00000000
movabs r13, 0xf000000000000000
and eax, 0xfff00000
mov r10, rax
mov rax, r8
shr rax, 0xc
and eax, 0xf0000
or rax, r10
movzx r10d, r8w
or rax, r10
mov r10, r8
shl r10, 8
and r10, rcx
or rax, r10
mov r10, r8
shr r10, 8
and r10, r14
or rax, r10
mov r10, r8
shl r10, 0xc
and r10, r13
or r10, rax
movabs rax, 0xfff000000000000
and rsi, rax
mov rax, rbp
shr rax, 0xc
or r10, rsi
mov rsi, rcx
mov r12, rax
mov rax, rbp
mov qword [rsp + 0x38], r10
shl rax, 4
and r12d, 0xf0000
and eax, 0xfff00000
or rax, r12
movzx r12d, bp
or rax, r12
mov r12, rbp
shl r12, 8
and r12, rcx
movabs rcx, 0xfff000000000000
or rax, r12
mov r12, rbp
shr r12, 8
and r12, r14
or rax, r12
mov r12, rbp
shl r12, 0xc
and r12, r13
or r12, rax
mov rax, rdi
shr rbp, 4
shr rax, 0xc
and rbp, rcx
and eax, 0xf0000
or r12, rbp
mov rbp, rcx
mov r10, rax
mov rax, rdi
shl rax, 4
and eax, 0xfff00000
or rax, r10
movzx r10d, di
or rax, r10
mov r10, rdi
shl r10, 8
and r10, rsi
or rax, r10
mov r10, rdi
shr r10, 8
and r10, r14
or rax, r10
mov r10, rdi
shr rdi, 4
shl r10, 0xc
and rdi, rcx
and r10, r13
or r10, rax
mov rax, r15
shl rax, 4
or r10, rdi
mov rdi, rsi
and eax, 0xfff00000
mov rcx, rax
mov rax, r15
shr rax, 0xc
and eax, 0xf0000
or rax, rcx
movzx ecx, r15w
or rax, rcx
mov rcx, r15
shl rcx, 8
and rcx, rsi
mov rsi, r14
or rax, rcx
mov rcx, r15
shr rcx, 8
and rcx, r14
or rax, rcx
mov rcx, r15
shr r15, 4
shl rcx, 0xc
and r15, rbp
and rcx, r13
or rcx, rax
mov rax, rbx
shl rax, 4
or r15, rcx
and eax, 0xfff00000
mov r14, rax
mov rax, rbx
shr rax, 0xc
and eax, 0xf0000
or rax, r14
movzx r14d, bx
or rax, r14
mov r14, rbx
shl r14, 8
and r14, rdi
or rax, r14
mov r14, rbx
shr r14, 8
and r14, rsi
or rax, r14
mov r14, rbx
shr rbx, 4
shl r14, 0xc
and r14, r13
or rax, r14
mov r14, rbx
mov rbx, rsi
and r14, rbp
or r14, rax
mov rax, r11
shl rax, 4
and eax, 0xfff00000
mov rcx, rax
mov rax, r11
shr rax, 0xc
and eax, 0xf0000
or rax, rcx
movzx ecx, r11w
or rax, rcx
mov rcx, r11
shl rcx, 8
and rcx, rdi
or rax, rcx
mov rcx, r11
shr rcx, 8
and rcx, rsi
or rax, rcx
mov rcx, r11
shr r11, 4
shl rcx, 0xc
and r11, rbp
and rcx, r13
or rax, rcx
or r11, rax
mov rax, rdx
shl rax, 4
and eax, 0xfff00000
mov rsi, rax
mov rax, rdx
shr rax, 0xc
and eax, 0xf0000
or rax, rsi
movzx esi, dx
or rax, rsi
mov rsi, rdx
shl rsi, 8
and rsi, rdi
or rax, rsi
mov rsi, rdx
shr rsi, 8
and rsi, rbx
or rax, rsi
mov rsi, rdx
shr rdx, 4
shl rsi, 0xc
and rdx, rbp
and rsi, r13
or rsi, rax
mov rax, r9
shl rax, 4
or rsi, rdx
mov rdx, rbp
and eax, 0xfff00000
mov rbp, r12
mov rcx, rax
mov rax, r9
shr rax, 0xc
xor rbp, r15
and eax, 0xf0000
xor rbp, rsi
or rax, rcx
movzx ecx, r9w
or rax, rcx
mov rcx, r9
shl rcx, 8
and rcx, rdi
mov rdi, rsi
or rax, rcx
mov rcx, r9
shr rcx, 8
and rcx, rbx
mov rbx, r12
mov r12, r10
or rax, rcx
mov rcx, r9
shr r9, 4
shl rcx, 0xc
and rdx, r9
xor rbx, r14
and rcx, r13
mov r13, qword [rsp + 0x38]
xor rdi, rbx
xor r12, r11
or rcx, rax
mov rax, r11
or rcx, rdx
mov rdx, rbp
mov r9, rcx
xor r12, rcx
xor r13, r15
xor r9, rbx
not r12
xor rax, r13
xor rsi, r13
not r9
xor r13, rbx
mov rbx, r15
xor rdx, r9
xor rbx, r14
xor r14, r10
mov qword [rsp + 0x20], rdx
mov r15, rdi
xor r14, rcx
mov rcx, qword [rsp + 0x20]
xor r15, r9
mov r8, r12
mov rdx, r14
mov r14, rdi
xor rdx, rax
xor r10, qword [rsp + 0x38]
xor r8, rdx
xor rbp, r8
xor rcx, r13
xor r14, r8
mov qword [rsp + 0x40], rbp
mov rbp, rcx
mov rcx, rsi
not rsi
xor rcx, r8
xor r10, r11
mov r11, rdx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x50]
xor r10, rbp
mov r14, r15
xor r9, r10
xor r10, rax
mov rax, r12
mov qword [rsp + 0x38], r14
xor r11, r9
xor rax, r9
mov qword [rsp + 0x68], rax
mov rax, rbx
xor rbx, r10
and r14, r11
xor rcx, r15
mov r15, r11
mov qword [rsp + 0x70], r11
xor rdx, rbx
mov qword [rsp + 0x58], rcx
xor r15, rbx
mov rcx, rbp
mov r11, qword [rsp + 0x58]
mov qword [rsp + 0x80], r15
and r11, qword [rsp + 0x68]
mov rbp, rbx
mov r15, rcx
xor rbp, r12
and r15, r9
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x78], rbp
mov rbp, r15
mov rcx, r10
mov r15, r13
xor r10, rbp
not rcx
and r15, rdx
mov qword [rsp + 0x98], rax
xor r10, r11
mov r11, qword [rsp + 0x40]
and rcx, rax
mov qword [rsp + 0xa8], rbx
mov rax, qword [rsp + 0x20]
xor r14, rcx
and rax, qword [rsp + 0x80]
and r11, r12
xor r11, qword [rsp + 0x38]
xor r11, qword [rsp + 0x70]
mov rbx, rax
mov rax, rsi
xor rbx, rcx
xor r10, rbx
xor r11, rbp
and rax, r8
xor rdi, rdx
xor rax, r13
xor r11, r14
xor rax, rdx
xor rax, r15
xor r15, rdi
mov rdi, qword [rsp + 0x48]
and rdi, qword [rsp + 0x78]
xor rax, rbx
xor r15, rdi
mov rdi, rax
mov rsi, r15
xor rsi, r14
mov rcx, rsi
mov rsi, r10
and r10, rax
xor rsi, r11
xor rdi, rcx
mov r14, rsi
mov rsi, rcx
xor rsi, r10
mov rbp, rsi
mov rsi, r14
and rsi, rbp
xor rsi, r11
xor r11, r10
and r11, rdi
mov rdi, rcx
xor rdi, r11
xor r11, r10
and rcx, r11
xor rax, rdi
xor rax, rcx
xor rcx, rbp
mov rbp, qword [rsp + 0x78]
mov r10, rcx
and r10, rsi
mov rbx, r10
mov r10, rax
xor rbx, r14
mov r14, rdi
xor r10, rbx
xor r14, rax
mov r15, r10
mov r10, rsi
xor r10, rdi
mov rcx, r15
mov r11, r10
mov r10, rsi
xor r10, rbx
xor rcx, r11
and r8, rbx
mov qword [rsp + 0x90], r8
and rdx, r10
and r10, r13
and r12, rdi
mov r8, qword [rsp + 0x80]
and rbp, rsi
and r9, r14
xor r9, rdx
and r8, rcx
mov qword [rsp + 0x78], r8
mov r8, qword [rsp + 0x58]
and r8, rax
mov qword [rsp + 0x58], r8
and rcx, qword [rsp + 0x20]
mov r8, r12
and rbx, qword [rsp + 0x50]
xor r8, r10
mov qword [rsp + 0x20], rbp
and r14, qword [rsp + 0xa0]
and rsi, qword [rsp + 0x48]
mov r13, rcx
mov rcx, qword [rsp + 0x98]
xor rbx, rbp
mov rbp, r8
xor r14, qword [rsp + 0x58]
mov qword [rsp + 0x80], r13
mov r8, qword [rsp + 0x90]
xor rbp, r9
and rax, qword [rsp + 0x68]
xor rsi, rbp
and rcx, r11
and r11, qword [rsp + 0xa8]
xor rcx, r13
xor r8, rcx
mov r13, r8
mov r8, qword [rsp + 0x78]
xor rdx, r11
mov r11, qword [rsp + 0x70]
xor r14, r13
xor rdx, r8
and r11, r15
xor r11, r8
mov r8, qword [rsp + 0x90]
xor r11, r13
xor rsi, r11
xor r8, rdx
xor rax, r14
xor r12, qword [rsp + 0x20]
xor rcx, rbp
xor r9, rax
mov rbp, qword [rsp + 0x40]
xor r14, rdx
xor rcx, rbx
mov rdx, r8
xor r10, rbx
xor rdx, r9
xor r10, r11
xor r12, rax
mov rax, qword [rsp + 0x38]
and rbp, rdi
mov rdi, qword [rsp + 0x1c0]
xor rbp, qword [rsp + 0x58]
and rax, r15
xor rax, qword [rsp + 0x80]
xor rbp, rsi
xor rax, r8
xor rsi, rax
mov rax, qword [rdi + 0x30]
xor rax, r14
xor rax, rbp
xor rax, rsi
mov qword [rsp + 0xe0], rax
mov rax, qword [rdi + 0x38]
xor rax, rcx
xor rax, r12
xor rax, rdx
mov qword [rsp + 0xe8], rax
mov rax, r14
xor rax, r10
xor rax, qword [rdi + 0x40]
xor rax, r9
mov qword [rsp + 0xf0], rax
mov rax, qword [rdi + 0x48]
xor rax, rcx
xor rax, rbp
xor rax, rsi
mov qword [rsp + 0xf8], rax
mov rax, qword [rdi + 0x50]
xor rax, r10
xor rax, r12
xor rdx, rax
xor r14, qword [rdi + 0x58]
mov qword [rsp + 0x100], rdx
xor r9, r14
xor rbp, r9
mov qword [rsp + 0x108], rbp
xor rcx, qword [rdi + 0x60]
xor r8, qword [rdi + 0x68]
movabs rdi, 0xff00ff00ff00ff
xor r12, rcx
mov rcx, qword [rsp + 0x88]
xor r10, r8
xor rsi, r12
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0x118], r10
call fcn.00462100
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
and rdx, rdi
shr r9, 8
and rax, rdi
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
shr rdx, 0x10
or eax, edx
mov dword [rdi + 4], eax
mov rax, r8
shr rax, 0x10
or r8d, eax
mov rax, rcx
add rdi, 0x10
add qword [rsp + 0x60], 0x10
shr rax, 0x10
mov dword [rdi - 8], r8d
or ecx, eax
mov rax, qword [rsp + 0x60]
mov dword [rdi - 4], ecx
cmp rax, qword [rsp + 0xc8]
mov qword [rsp + 0xc0], rdi
jne 0x46b910
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x120], rcx
mov rax, qword [rsp + 0x120]
test rax, rax
je 0x46cc25
xor edx, edx
mov r8d, 0x3c8
call sub.msvcrt.dll_memset
mov edx, 0x3c8
nop dword [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 0x46cc00
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, byte [rsi + r12]
mov byte [rbp + r12 + 0x10], al
add r12, 1
cmp rbx, r12
jne 0x46cc50
jmp 0x46b400
mov ecx, 0x18
call fcn.004704f0
mov rdi, qword [0x013e5e40]
movdqa xmm0, xmmword [0x013e4140]
lea rsi, [rax + 0x10]
movups xmmword [rax], xmm0
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x46d2f0
xor ebx, ebx
lea rdx, [rcx + 0xf]
neg rcx
and rdx, rcx
jmp 0x46b231
mov ecx, 1
call rsi
lea rdx, [0x013e3920]
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
lea rdx, [0x013e38f0]
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e35d1]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
mov rcx, qword [rbp]
call fcn.00467100
test rax, rax
mov r12, rax
je 0x46d370
mov rax, qword [r12]
lea r13, [rax + 0xc]
cmp r13, 6
jg 0x46d491
mov ecx, 0x18
call fcn.004704f0
mov rbx, rax
mov qword [rax + 8], 7
mov rdx, qword [0x013e40b0]
mov qword [rbx], 0xc
lea rcx, [rbx + 0x1c]
mov qword [rbx + 0x10], rdx
mov edx, dword [0x013e40b8]
mov dword [rbx + 0x18], edx
movzx edx, byte [0x013e40bc]
mov byte [rbx + 0x1c], dl
mov rax, qword [r12]
lea rdx, [r12 + 0x10]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [r12]
add rax, 0xc
mov qword [rbx], rax
mov ecx, 1
call rsi
mov rdx, rbx
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e35d1]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
mov ecx, 1
call rsi
lea rdx, [0x013e38c0]
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov edx, 1
mov r8d, 1
lea rcx, [0x013e35d1]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
mov rdx, qword [rbp]
mov rax, rdx
sar rax, 0x3f
shr rax, 0x3b
add rdx, rax
and edx, 0x1f
sub rax, rdx
mov edx, 0x10
lea r13, [rax + 0x20]
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x46ce5e
lea rdx, [rcx + 0xf]
neg rcx
and rdx, rcx
mov rbx, r13
imul rbx, qword [rax]
jo 0x46d4bb
add rdx, rbx
jo 0x46d4bb
mov rcx, qword [0x013e5e40]
movq xmm6, r13
punpcklqdq xmm6, xmm6
call fcn.004650a0
mov edx, 0x10
movups xmmword [rax], xmm6
mov r15, rax
mov rax, qword [rdi + 0x18]
add r13, qword [rbp]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x46ceaf
lea rdx, [rcx + 0xf]
neg rcx
and rdx, rcx
mov rbx, r13
imul rbx, qword [rax]
mov rax, rbx
jo 0x46d4bb
xor ebx, ebx
add rdx, rax
seto bl
jo 0x46d4bb
mov rcx, qword [0x013e5e40]
call fcn.004650a0
movq xmm0, r13
punpcklqdq xmm0, xmm0
movups xmmword [rax], xmm0
mov rdx, qword [rbp]
mov r12, rax
test rdx, rdx
jle 0x46d488
lea rcx, [rbp + 0x10]
lea rax, [rax + 0x20]
lea r14, [r12 + 0x10]
cmp rcx, rax
lea rax, [rbp + 0x20]
setae cl
cmp r14, rax
setae al
or cl, al
je 0x46d46b
lea rax, [rdx - 1]
cmp rax, 0xe
jbe 0x46d46b
mov rax, rdx
and rax, 0xfffffffffffffff0
lea rcx, [rax + 0x10]
mov eax, 0x10
nop dword [rax + rax]
movdqu xmm5, xmmword [rbp + rax]
movups xmmword [r12 + rax], xmm5
add rax, 0x10
cmp rcx, rax
jne 0x46cf40
mov rax, rdx
and rax, 0xfffffffffffffff0
cmp rax, rdx
je 0x46d0b0
movzx ecx, byte [rbp + rax + 0x10]
mov byte [r12 + rax + 0x10], cl
lea rcx, [rax + 1]
cmp rdx, rcx
jle 0x46d0b0
movzx r8d, byte [rbp + rax + 0x11]
lea rcx, [rax + 2]
cmp rdx, rcx
mov byte [r12 + rax + 0x11], r8b
jle 0x46d0b0
movzx r8d, byte [rbp + rax + 0x12]
lea rcx, [rax + 3]
cmp rdx, rcx
mov byte [r12 + rax + 0x12], r8b
jle 0x46d0b0
movzx r8d, byte [rbp + rax + 0x13]
lea rcx, [rax + 4]
cmp rdx, rcx
mov byte [r12 + rax + 0x13], r8b
jle 0x46d0b0
movzx r8d, byte [rbp + rax + 0x14]
lea rcx, [rax + 5]
cmp rdx, rcx
mov byte [r12 + rax + 0x14], r8b
jle 0x46d0b0
movzx r8d, byte [rbp + rax + 0x15]
lea rcx, [rax + 6]
cmp rdx, rcx
mov byte [r12 + rax + 0x15], r8b
jle 0x46d0b0
movzx r8d, byte [rbp + rax + 0x16]
lea rcx, [rax + 7]
cmp rdx, rcx
mov byte [r12 + rax + 0x16], r8b
jle 0x46d0b0
movzx r8d, byte [rbp + rax + 0x17]
lea rcx, [rax + 8]
cmp rdx, rcx
mov byte [r12 + rax + 0x17], r8b
jle 0x46d0b0
movzx r8d, byte [rbp + rax + 0x18]
lea rcx, [rax + 9]
cmp rdx, rcx
mov byte [r12 + rax + 0x18], r8b
jle 0x46d0b0
movzx r8d, byte [rbp + rax + 0x19]
lea rcx, [rax + 0xa]
cmp rdx, rcx
mov byte [r12 + rax + 0x19], r8b
jle 0x46d0b0
movzx r8d, byte [rbp + rax + 0x1a]
lea rcx, [rax + 0xb]
cmp rdx, rcx
mov byte [r12 + rax + 0x1a], r8b
jle 0x46d0b0
movzx r8d, byte [rbp + rax + 0x1b]
lea rcx, [rax + 0xc]
cmp rdx, rcx
mov byte [r12 + rax + 0x1b], r8b
jle 0x46d0b0
movzx r8d, byte [rbp + rax + 0x1c]
lea rcx, [rax + 0xd]
cmp rdx, rcx
mov byte [r12 + rax + 0x1c], r8b
jle 0x46d0b0
movzx r8d, byte [rbp + rax + 0x1d]
mov byte [r12 + rax + 0x1d], r8b
add rax, 0xe
cmp rdx, rax
jle 0x46d0b0
movzx edx, byte [rbp + rax + 0x10]
mov byte [r12 + rax + 0x10], dl
nop
nop word cs:[rax + rax]
mov rcx, qword [r15]
test rcx, rcx
jle 0x46d0da
nop dword [rax + rax]
movzx edx, byte [r15 + rbx + 0x10]
lea rax, [r12 + rbx]
add rbx, 1
add rax, qword [rbp]
cmp rcx, rbx
mov byte [rax + 0x10], dl
jne 0x46d0c0
cmp r13, 0x20
mov rbx, r14
jle 0x46d15d
mov rax, qword [rdi + 0x18]
mov edx, 0x10
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x46d330
imul rax, qword [rax], 0x20
jo 0x46d4bb
xor ebx, ebx
add rdx, rax
seto bl
jo 0x46d4bb
mov rcx, qword [0x013e5e40]
call fcn.004650a0
movdqa xmm0, xmmword [0x013e41c0]
lea rdx, [rax + 0x20]
cmp r14, rdx
movups xmmword [rax], xmm0
jae 0x46d13a
cmp rax, r14
jb 0x46d310
movdqu xmm6, xmmword [r12 + 0x10]
movups xmmword [rax + 0x10], xmm6
movdqu xmm6, xmmword [r12 + 0x20]
movups xmmword [rax + 0x20], xmm6
lea rbx, [rax + 0x10]
mov r12, rax
mov r13d, 0x20
mov rcx, r13
call fcn.00467100
test rax, rax
mov rbp, rax
je 0x46d3b0
mov rax, qword [rbp]
lea r13, [rax + 0x10]
cmp r13, 6
jg 0x46d4a6
mov ecx, 0x18
call fcn.004704f0
mov rdi, rax
mov qword [rax + 8], 7
mov rdx, qword [0x013e4070]
mov qword [rdi], 0x10
lea rcx, [rdi + 0x20]
mov qword [rdi + 0x10], rdx
mov rdx, qword [0x013e4078]
mov qword [rdi + 0x18], rdx
movzx edx, byte [0x013e4080]
mov byte [rdi + 0x20], dl
mov rax, qword [rbp]
lea rdx, [rbp + 0x10]
lea r8, [rax + 1]
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp]
add rax, 0x10
mov qword [rdi], rax
mov ecx, 1
call rsi
mov rdx, rdi
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov edx, 1
mov r8d, 1
lea rcx, [0x013e35d1]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
mov rdx, qword [r12]
jmp 0x46b673
cmp r12, 7
mov eax, 7
cmovl r12, rax
lea rcx, [r12 + 0x11]
call fcn.004704f0
mov rbx, rax
mov qword [rax + 8], r12
mov qword [rax], 0
jmp 0x46b5cc
mov ecx, 0x18
xor r14d, r14d
mov esi, 7
call fcn.004704f0
movdqa xmm0, xmmword [0x013e4140]
test rbx, rbx
mov r15d, 0x18
mov r12, rax
movups xmmword [rax], xmm0
jne 0x46b4ab
mov rcx, r15
call fcn.004704f0
mov ecx, 0x10
mov r13, rax
mov qword [rax + 8], rsi
mov qword [rax], 0
jmp 0x46b4f1
mov rdx, qword [0x013e5e40]
mov rcx, rbp
xor r12d, r12d
call fcn.0046a060
test rax, rax
jne 0x46b590
mov ecx, 0x18
call fcn.004704f0
movdqa xmm0, xmmword [0x013e4140]
mov rbx, rax
movups xmmword [rax], xmm0
jmp 0x46b5e8
mov edx, 0x10
mov rcx, rdi
call fcn.004650a0
pxor xmm0, xmm0
mov rbp, rax
movups xmmword [rax], xmm0
jmp 0x46b400
movzx edx, byte [r12 + rbx + 0x10]
mov byte [rax + rbx + 0x10], dl
add rbx, 1
cmp rbx, 0x20
jne 0x46d310
jmp 0x46d150
lea rdx, [rcx + 0xf]
neg rcx
and rdx, rcx
jmp 0x46d0f9
mov r8, qword [rsp + 0x1c0]
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [rbx + rax]
mov byte [r8 + rax + 0x10], cl
add rax, 1
cmp rdx, rax
jne 0x46d350
jmp 0x46b820
mov ecx, 0x1d
call fcn.004704f0
mov rdx, qword [0x013e40b0]
mov rbx, rax
mov qword [rax + 8], 0xc
mov qword [rax], 0xc
mov qword [rax + 0x10], rdx
mov edx, dword [0x013e40b8]
mov dword [rax + 0x18], edx
movzx edx, byte [0x013e40bc]
mov byte [rax + 0x1c], dl
jmp 0x46cd9e
mov ecx, 0x21
call fcn.004704f0
mov rdx, qword [0x013e4070]
mov rdi, rax
mov qword [rax + 8], 0x10
mov qword [rax], 0x10
mov qword [rax + 0x10], rdx
mov rdx, qword [0x013e4078]
mov qword [rax + 0x18], rdx
movzx edx, byte [0x013e4080]
mov byte [rax + 0x20], dl
jmp 0x46d1df
lea rcx, [0x013e4000]
mov edx, 0x5955c182
call fcn.00464e30
mov ecx, 1
mov rbx, rax
call rsi
mov rdx, rbx
mov rcx, rax
call fcn.00470b90
mov ecx, 1
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x013e35d1]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.00474ad8
mov rcx, qword [rsp + 0xd8]
mov rdx, rdi
call fcn.00470f20
jmp 0x46cbce
xor eax, eax
nop dword [rax]
movzx ecx, byte [rbp + rax + 0x10]
mov byte [r12 + rax + 0x10], cl
add rax, 1
cmp rdx, rax
jne 0x46d470
jmp 0x46d0b0
lea r14, [rax + 0x10]
jmp 0x46d0b0
lea rcx, [rax + 0x1d]
call fcn.004704f0
mov rbx, rax
mov qword [rax + 8], r13
jmp 0x46cd58
lea rcx, [rax + 0x21]
call fcn.004704f0
mov rdi, rax
mov qword [rax + 8], r13
jmp 0x46d198
call fcn.0046b060
nop
nop dword [rax + rax]
nop word cs:[rax + rax]