Function at 0x18012b780
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov eax, dword [rsp + 0x190]
mov edx, eax
mov rcx, qword [rsp + 0x180]
call fcn.180007800
mov rax, qword [rsp + 0x180]
add rax, 0x40
mov qword [rsp + 0x120], rax
mov edx, 0x1238
mov rcx, qword [rsp + 0x120]
call fcn.1800f2620
mov rax, qword [rsp + 0x180]
add rax, 0x40
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rax + 8], 0
xor edx, edx
mov eax, dword [rsp + 0x190]
mov ecx, 4
div ecx
add eax, 6
mov rcx, qword [rsp + 0x180]
mov dword [rcx + 0x18], eax
mov rax, qword [rsp + 0x180]
add rax, 0x20
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x18]
lea eax, [rax*4 + 4]
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x130]
call fcn.18012a6d8
mov rax, qword [rsp + 0x180]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x30], rax
call fcn.18012a690
movzx eax, al
test eax, eax
je 0x18012b920
call fcn.18012a6b0
movzx eax, al
test eax, eax
je 0x18012b920
mov eax, dword [rsp + 0x190]
mov r8, qword [rsp + 0x30]
mov edx, eax
mov rcx, qword [rsp + 0x188]
call fcn.18012d610
mov rax, qword [rsp + 0x180]
add rax, 8
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x138], rcx
mov rcx, rax
mov rax, qword [rsp + 0x138]
call qword [rax + 0x40]
movzx eax, al
test eax, eax
jne 0x18012b91b
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0xd8], eax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x180]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x110], rax
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0x110]
call fcn.18012d5a0
jmp 0x18012cdfc
mov eax, dword [rsp + 0x190]
mov qword [rsp + 0x140], rax
xor edx, edx
mov eax, dword [rsp + 0x190]
mov ecx, 4
div ecx
mov eax, eax
mov rcx, qword [rsp + 0x140]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x188]
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov ecx, 1
call fcn.180129704
lea rax, [0x180172c10]
mov qword [rsp + 0xe0], rax
xor eax, eax
cmp eax, 1
je 0x18012bdf0
xor edx, edx
mov eax, dword [rsp + 0x190]
mov ecx, 4
div ecx
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
shr eax, 0x10
movzx eax, al
lea rcx, str.cw
movzx eax, byte [rcx + rax]
shl eax, 0x18
mov ecx, dword [rsp + 0x3c]
shr ecx, 8
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 0x10
xor eax, ecx
mov ecx, dword [rsp + 0x3c]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 8
xor eax, ecx
mov ecx, dword [rsp + 0x3c]
shr ecx, 0x18
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
xor eax, ecx
mov dword [rsp + 0xc4], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0xc4]
mov eax, dword [rcx + rax]
xor eax, edx
mov rcx, qword [rsp + 0xe0]
xor eax, dword [rcx]
mov dword [rsp + 0xc8], eax
mov rax, qword [rsp + 0xe0]
add rax, 4
mov qword [rsp + 0xe0], rax
xor edx, edx
mov eax, dword [rsp + 0x190]
mov ecx, 4
div ecx
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0xc8]
mov dword [rcx + rax*4], edx
mov eax, 4
imul rax, rax, 1
mov qword [rsp + 0x148], rax
xor edx, edx
mov eax, dword [rsp + 0x190]
mov ecx, 4
div ecx
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x30]
mov eax, dword [rdx + rax*4]
mov rdx, qword [rsp + 0x148]
mov ecx, dword [rcx + rdx]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0xcc], eax
xor edx, edx
mov eax, dword [rsp + 0x190]
mov ecx, 4
div ecx
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0xcc]
mov dword [rcx + rax*4], edx
mov eax, 4
imul rax, rax, 2
mov qword [rsp + 0x150], rax
xor edx, edx
mov eax, dword [rsp + 0x190]
mov ecx, 4
div ecx
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x30]
mov eax, dword [rdx + rax*4]
mov rdx, qword [rsp + 0x150]
mov ecx, dword [rcx + rdx]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0xd0], eax
xor edx, edx
mov eax, dword [rsp + 0x190]
mov ecx, 4
div ecx
add eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0xd0]
mov dword [rcx + rax*4], edx
mov eax, 4
imul rax, rax, 3
mov qword [rsp + 0x158], rax
xor edx, edx
mov eax, dword [rsp + 0x190]
mov ecx, 4
div ecx
add eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x30]
mov eax, dword [rdx + rax*4]
mov rdx, qword [rsp + 0x158]
mov ecx, dword [rcx + rdx]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0xd4], eax
xor edx, edx
mov eax, dword [rsp + 0x190]
mov ecx, 4
div ecx
add eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0xd4]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x180]
add rax, 0x20
mov qword [rsp + 0x118], rax
xor edx, edx
mov eax, dword [rsp + 0x190]
mov ecx, 4
div ecx
mov eax, eax
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax*4 + 0x10]
mov rcx, qword [rsp + 0x118]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rsp + 0x118]
mov rdx, qword [rdx + 0x18]
lea rcx, [rdx + rcx*4]
cmp rax, rcx
jne 0x18012bc04
jmp 0x18012bdf0
cmp dword [rsp + 0x190], 0x18
jne 0x18012bc7f
mov eax, 4
imul rax, rax, 4
mov ecx, 4
imul rcx, rcx, 9
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov ecx, dword [r8 + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xa
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 5
mov ecx, 4
imul rcx, rcx, 0xa
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov ecx, dword [r8 + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xb
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx], eax
jmp 0x18012bdcb
cmp dword [rsp + 0x190], 0x20
jne 0x18012bdcb
mov eax, 4
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x3c], eax
mov eax, 4
imul rax, rax, 4
mov ecx, dword [rsp + 0x3c]
shr ecx, 0x18
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 0x18
mov rdx, qword [rsp + 0x30]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, dword [rsp + 0x3c]
shr ecx, 0x10
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 0x10
xor eax, ecx
mov ecx, dword [rsp + 0x3c]
shr ecx, 8
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 8
xor eax, ecx
mov ecx, dword [rsp + 0x3c]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 5
mov ecx, 4
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov ecx, dword [r8 + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xd
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 6
mov ecx, 4
imul rcx, rcx, 0xd
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov ecx, dword [r8 + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xe
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 7
mov ecx, 4
imul rcx, rcx, 0xe
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov ecx, dword [r8 + rcx]
mov eax, dword [rdx + rax]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0xf
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx], eax
xor edx, edx
mov eax, dword [rsp + 0x190]
mov ecx, 4
div ecx
mov eax, eax
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x30], rax
jmp 0x18012b977
mov rax, qword [rsp + 0x180]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x180]
add rax, 8
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x160], rcx
mov rcx, rax
mov rax, qword [rsp + 0x160]
call qword [rax + 0x40]
movzx eax, al
test eax, eax
je 0x18012bf41
mov al, byte [0x18023b760]
movzx eax, al
test eax, eax
jne 0x18012be4c
call fcn.18012a574
mov ecx, 1
call fcn.18012a6d0
movzx eax, al
test eax, eax
jne 0x18012be74
mov r8d, 0x10
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
call fcn.180110850
jmp 0x18012be9a
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x30], rax
je 0x18012be9a
mov r9d, 0x10
mov r8, qword [rsp + 0x30]
mov edx, 0x10
mov rcx, qword [rsp + 0x30]
call fcn.1800f59f0
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x18]
shl eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax*4]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x18]
shl eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax*4]
mov qword [rsp + 0xf0], rax
mov ecx, 1
call fcn.18012a6d0
movzx eax, al
test eax, eax
jne 0x18012bf0a
mov r8d, 0x10
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
call fcn.180110850
jmp 0x18012bf3c
mov rax, qword [rsp + 0xf0]
cmp qword [rsp + 0xe8], rax
je 0x18012bf3c
mov r9d, 0x10
mov r8, qword [rsp + 0xe8]
mov edx, 0x10
mov rcx, qword [rsp + 0xf0]
call fcn.1800f59f0
jmp 0x18012cd49
mov al, byte [0x18023b761]
movzx eax, al
test eax, eax
jne 0x18012bf53
call fcn.18012a348
mov dword [rsp + 0x38], 4
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x18]
lea eax, [rax*4 - 4]
mov dword [rsp + 0x40], eax
jmp 0x18012bf89
mov eax, dword [rsp + 0x38]
add eax, 4
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x40]
sub eax, 4
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x38], eax
jae 0x18012c688
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
shr eax, 0x18
movzx eax, al
lea rcx, str.cw
movzx eax, byte [rcx + rax]
shl eax, 3
cdqe
lea rcx, [0x18023af60]
mov edx, dword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx*4]
shr edx, 0x10
movzx edx, dl
lea r8, str.cw
movzx edx, byte [r8 + rdx]
shl edx, 3
movsxd rdx, edx
lea r8, [0x18023af60]
mov edx, dword [r8 + rdx + 1]
mov eax, dword [rcx + rax + 4]
xor eax, edx
mov ecx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 8
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 2]
mov ecx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 3]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
shr eax, 0x18
movzx eax, al
lea rcx, str.cw
movzx eax, byte [rcx + rax]
shl eax, 3
cdqe
lea rcx, [0x18023af60]
mov edx, dword [rsp + 0x40]
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx*4]
shr edx, 0x10
movzx edx, dl
lea r8, str.cw
movzx edx, byte [r8 + rdx]
shl edx, 3
movsxd rdx, edx
lea r8, [0x18023af60]
mov edx, dword [r8 + rdx + 1]
mov eax, dword [rcx + rax + 4]
xor eax, edx
mov ecx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 8
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 2]
mov ecx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 3]
mov ecx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x38]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
shr eax, 0x18
movzx eax, al
lea rcx, str.cw
movzx eax, byte [rcx + rax]
shl eax, 3
cdqe
lea rcx, [0x18023af60]
mov edx, dword [rsp + 0x38]
inc edx
mov edx, edx
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx*4]
shr edx, 0x10
movzx edx, dl
lea r8, str.cw
movzx edx, byte [r8 + rdx]
shl edx, 3
movsxd rdx, edx
lea r8, [0x18023af60]
mov edx, dword [r8 + rdx + 1]
mov eax, dword [rcx + rax + 4]
xor eax, edx
mov ecx, dword [rsp + 0x38]
inc ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 8
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 2]
mov ecx, dword [rsp + 0x38]
inc ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 3]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x40]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
shr eax, 0x18
movzx eax, al
lea rcx, str.cw
movzx eax, byte [rcx + rax]
shl eax, 3
cdqe
lea rcx, [0x18023af60]
mov edx, dword [rsp + 0x40]
inc edx
mov edx, edx
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx*4]
shr edx, 0x10
movzx edx, dl
lea r8, str.cw
movzx edx, byte [r8 + rdx]
shl edx, 3
movsxd rdx, edx
lea r8, [0x18023af60]
mov edx, dword [r8 + rdx + 1]
mov eax, dword [rcx + rax + 4]
xor eax, edx
mov ecx, dword [rsp + 0x40]
inc ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 8
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 2]
mov ecx, dword [rsp + 0x40]
inc ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 3]
mov ecx, dword [rsp + 0x38]
inc ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x40]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x38]
add eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
shr eax, 0x18
movzx eax, al
lea rcx, str.cw
movzx eax, byte [rcx + rax]
shl eax, 3
cdqe
lea rcx, [0x18023af60]
mov edx, dword [rsp + 0x38]
add edx, 2
mov edx, edx
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx*4]
shr edx, 0x10
movzx edx, dl
lea r8, str.cw
movzx edx, byte [r8 + rdx]
shl edx, 3
movsxd rdx, edx
lea r8, [0x18023af60]
mov edx, dword [r8 + rdx + 1]
mov eax, dword [rcx + rax + 4]
xor eax, edx
mov ecx, dword [rsp + 0x38]
add ecx, 2
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 8
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 2]
mov ecx, dword [rsp + 0x38]
add ecx, 2
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 3]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x40]
add eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
shr eax, 0x18
movzx eax, al
lea rcx, str.cw
movzx eax, byte [rcx + rax]
shl eax, 3
cdqe
lea rcx, [0x18023af60]
mov edx, dword [rsp + 0x40]
add edx, 2
mov edx, edx
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx*4]
shr edx, 0x10
movzx edx, dl
lea r8, str.cw
movzx edx, byte [r8 + rdx]
shl edx, 3
movsxd rdx, edx
lea r8, [0x18023af60]
mov edx, dword [r8 + rdx + 1]
mov eax, dword [rcx + rax + 4]
xor eax, edx
mov ecx, dword [rsp + 0x40]
add ecx, 2
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 8
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 2]
mov ecx, dword [rsp + 0x40]
add ecx, 2
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 3]
mov ecx, dword [rsp + 0x38]
add ecx, 2
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x40]
add eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x38]
add eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
shr eax, 0x18
movzx eax, al
lea rcx, str.cw
movzx eax, byte [rcx + rax]
shl eax, 3
cdqe
lea rcx, [0x18023af60]
mov edx, dword [rsp + 0x38]
add edx, 3
mov edx, edx
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx*4]
shr edx, 0x10
movzx edx, dl
lea r8, str.cw
movzx edx, byte [r8 + rdx]
shl edx, 3
movsxd rdx, edx
lea r8, [0x18023af60]
mov edx, dword [r8 + rdx + 1]
mov eax, dword [rcx + rax + 4]
xor eax, edx
mov ecx, dword [rsp + 0x38]
add ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 8
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 2]
mov ecx, dword [rsp + 0x38]
add ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 3]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x40]
add eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
shr eax, 0x18
movzx eax, al
lea rcx, str.cw
movzx eax, byte [rcx + rax]
shl eax, 3
cdqe
lea rcx, [0x18023af60]
mov edx, dword [rsp + 0x40]
add edx, 3
mov edx, edx
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx*4]
shr edx, 0x10
movzx edx, dl
lea r8, str.cw
movzx edx, byte [r8 + rdx]
shl edx, 3
movsxd rdx, edx
lea r8, [0x18023af60]
mov edx, dword [r8 + rdx + 1]
mov eax, dword [rcx + rax + 4]
xor eax, edx
mov ecx, dword [rsp + 0x40]
add ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 8
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 2]
mov ecx, dword [rsp + 0x40]
add ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 3]
mov ecx, dword [rsp + 0x38]
add ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x40]
add eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*4], edx
jmp 0x18012bf73
mov eax, dword [rsp + 0x38]
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
shr eax, 0x18
movzx eax, al
lea rcx, str.cw
movzx eax, byte [rcx + rax]
shl eax, 3
cdqe
lea rcx, [0x18023af60]
mov edx, dword [rsp + 0x38]
mov edx, edx
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx*4]
shr edx, 0x10
movzx edx, dl
lea r8, str.cw
movzx edx, byte [r8 + rdx]
shl edx, 3
movsxd rdx, edx
lea r8, [0x18023af60]
mov edx, dword [r8 + rdx + 1]
mov eax, dword [rcx + rax + 4]
xor eax, edx
mov ecx, dword [rsp + 0x38]
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 8
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 2]
mov ecx, dword [rsp + 0x38]
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 3]
mov ecx, dword [rsp + 0x38]
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x38]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
shr eax, 0x18
movzx eax, al
lea rcx, str.cw
movzx eax, byte [rcx + rax]
shl eax, 3
cdqe
lea rcx, [0x18023af60]
mov edx, dword [rsp + 0x38]
inc edx
mov edx, edx
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx*4]
shr edx, 0x10
movzx edx, dl
lea r8, str.cw
movzx edx, byte [r8 + rdx]
shl edx, 3
movsxd rdx, edx
lea r8, [0x18023af60]
mov edx, dword [r8 + rdx + 1]
mov eax, dword [rcx + rax + 4]
xor eax, edx
mov ecx, dword [rsp + 0x38]
inc ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 8
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 2]
mov ecx, dword [rsp + 0x38]
inc ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 3]
mov ecx, dword [rsp + 0x38]
inc ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x38]
add eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
shr eax, 0x18
movzx eax, al
lea rcx, str.cw
movzx eax, byte [rcx + rax]
shl eax, 3
cdqe
lea rcx, [0x18023af60]
mov edx, dword [rsp + 0x38]
add edx, 2
mov edx, edx
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx*4]
shr edx, 0x10
movzx edx, dl
lea r8, str.cw
movzx edx, byte [r8 + rdx]
shl edx, 3
movsxd rdx, edx
lea r8, [0x18023af60]
mov edx, dword [r8 + rdx + 1]
mov eax, dword [rcx + rax + 4]
xor eax, edx
mov ecx, dword [rsp + 0x38]
add ecx, 2
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 8
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 2]
mov ecx, dword [rsp + 0x38]
add ecx, 2
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 3]
mov ecx, dword [rsp + 0x38]
add ecx, 2
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x38]
add eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
shr eax, 0x18
movzx eax, al
lea rcx, str.cw
movzx eax, byte [rcx + rax]
shl eax, 3
cdqe
lea rcx, [0x18023af60]
mov edx, dword [rsp + 0x38]
add edx, 3
mov edx, edx
mov r8, qword [rsp + 0x30]
mov edx, dword [r8 + rdx*4]
shr edx, 0x10
movzx edx, dl
lea r8, str.cw
movzx edx, byte [r8 + rdx]
shl edx, 3
movsxd rdx, edx
lea r8, [0x18023af60]
mov edx, dword [r8 + rdx + 1]
mov eax, dword [rcx + rax + 4]
xor eax, edx
mov ecx, dword [rsp + 0x38]
add ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 8
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 2]
mov ecx, dword [rsp + 0x38]
add ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx*4]
shr ecx, 0
movzx ecx, cl
lea rdx, str.cw
movzx ecx, byte [rdx + rcx]
shl ecx, 3
movsxd rcx, ecx
lea rdx, [0x18023af60]
xor eax, dword [rdx + rcx + 3]
mov ecx, dword [rsp + 0x38]
add ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov dword [rdx + rcx*4], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x48], eax
mov ecx, 1
call fcn.18012a6d0
movzx eax, al
test eax, eax
je 0x18012ca28
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x50], eax
jmp 0x18012ca35
mov ecx, dword [rsp + 0x48]
call fcn.18012a340
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x18]
shl eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x58], eax
mov ecx, 1
call fcn.18012a6d0
movzx eax, al
test eax, eax
je 0x18012ca74
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x60], eax
jmp 0x18012ca81
mov ecx, dword [rsp + 0x58]
call fcn.18012a340
mov dword [rsp + 0x60], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x60]
mov dword [rcx + rax], edx
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x18]
shl eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*4], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x68], eax
mov ecx, 1
call fcn.18012a6d0
movzx eax, al
test eax, eax
je 0x18012cae2
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x70], eax
jmp 0x18012caef
mov ecx, dword [rsp + 0x68]
call fcn.18012a340
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x18]
lea eax, [rax*4 + 1]
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x78], eax
mov ecx, 1
call fcn.18012a6d0
movzx eax, al
test eax, eax
je 0x18012cb35
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x80], eax
jmp 0x18012cb45
mov ecx, dword [rsp + 0x78]
call fcn.18012a340
mov dword [rsp + 0x80], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x80]
mov dword [rcx + rax], edx
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x18]
lea eax, [rax*4 + 1]
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*4], edx
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x88], eax
mov ecx, 1
call fcn.18012a6d0
movzx eax, al
test eax, eax
je 0x18012cbb6
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x90], eax
jmp 0x18012cbc9
mov ecx, dword [rsp + 0x88]
call fcn.18012a340
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x18]
lea eax, [rax*4 + 2]
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x98], eax
mov ecx, 1
call fcn.18012a6d0
movzx eax, al
test eax, eax
je 0x18012cc18
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0xa0], eax
jmp 0x18012cc2b
mov ecx, dword [rsp + 0x98]
call fcn.18012a340
mov dword [rsp + 0xa0], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0xa0]
mov dword [rcx + rax], edx
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x18]
lea eax, [rax*4 + 2]
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*4], edx
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax]
mov dword [rsp + 0xa8], eax
mov ecx, 1
call fcn.18012a6d0
movzx eax, al
test eax, eax
je 0x18012cc9c
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0xb0], eax
jmp 0x18012ccaf
mov ecx, dword [rsp + 0xa8]
call fcn.18012a340
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x18]
lea eax, [rax*4 + 3]
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0xb8], eax
mov ecx, 1
call fcn.18012a6d0
movzx eax, al
test eax, eax
je 0x18012ccfe
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0xc0], eax
jmp 0x18012cd11
mov ecx, dword [rsp + 0xb8]
call fcn.18012a340
mov dword [rsp + 0xc0], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0xc0]
mov dword [rcx + rax], edx
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x18]
lea eax, [rax*4 + 3]
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*4], edx
call fcn.18012a690
movzx eax, al
test eax, eax
je 0x18012cdfc
mov rax, qword [rsp + 0x180]
mov eax, dword [rax + 0x18]
dec eax
imul eax, eax, 0x10
mov eax, eax
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov qword [rsp + 0x108], rax
mov ecx, 1
call fcn.18012a6d0
movzx eax, al
test eax, eax
jne 0x18012cdc5
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x108]
call fcn.180110850
jmp 0x18012cdfc
mov rax, qword [rsp + 0x108]
cmp qword [rsp + 0xf8], rax
je 0x18012cdfc
mov r9, qword [rsp + 0x100]
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x108]
call fcn.1800f59f0
add rsp, 0x178
ret