Function at 0x100058b0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001fab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x4d8
push esi
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x68]
push edi
mov edi, dword [ebx + 0xc]
call fcn.100012d0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x38], esi
lea eax, [esi + 1]
push eax
call fcn.10007be4
add esp, 4
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x54], 0x10
lea ecx, [ebp - 0x68]
cmovae ecx, dword [ebp - 0x68]
inc esi
push esi
push ecx
push eax
call fcn.10008f10
add esp, 0xc
push esi
call fcn.10007be4
add esp, 4
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x54], 0x10
lea ecx, [ebp - 0x68]
cmovae ecx, dword [ebp - 0x68]
push esi
push ecx
push eax
call fcn.10008f10
add esp, 0xc
mov dword [ebp - method.AES.virtual_0], vtable.AES.0
mov byte [ebp - 0x4e4], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
cmp dword [ebx + 8], 0
mov byte [ebp - 4], 1
je 0x10006507
movups xmm0, xmmword [edi]
push 0x10
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x120], 0x10
push edi
push eax
mov dword [ebp - 0x11c], 0x10
movups xmmword [ebp - 0x114], xmm0
call fcn.10008f10
mov eax, dword [ebp - 0x120]
add esp, 0xc
cmp eax, 0x10
je 0x100059db
cmp eax, 0x18
mov eax, dword [ebp - 0x11c]
je 0x100059d1
mov ecx, 0xe
jmp 0x100059fa
xor ecx, ecx
cmp eax, 0x20
sete cl
jmp 0x100059f3
mov eax, dword [ebp - 0x11c]
cmp eax, 0x10
jne 0x100059eb
lea ecx, [eax - 6]
jmp 0x100059fa
xor ecx, ecx
cmp eax, 0x18
setne cl
lea ecx, [ecx*2 + 0xc]
cdq
xor edi, edi
and edx, 3
mov dword [ebp - 0x118], ecx
add eax, edx
mov dword [ebp - 0x24], ecx
sar eax, 2
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], edi
test ecx, ecx
js 0x10005a52
lea esi, [ebp - 0x4e0]
nop
lea edx, [eax*4]
test eax, eax
jle 0x10005a42
mov ecx, edx
mov edi, esi
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
inc edi
add esi, 0x20
mov dword [ebp - 0x30], edi
cmp edi, ecx
jle 0x10005a20
mov dword [ebp - 0x24], ecx
jmp 0x10005a59
lea edx, [eax*4]
xor esi, esi
test ecx, ecx
js 0x10005a8f
lea edi, [ebp - 0x300]
mov dword [ebp - 0x30], edi
test eax, eax
jle 0x10005a81
mov ecx, edx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
inc esi
add edi, 0x20
mov dword [ebp - 0x30], edi
cmp esi, ecx
jle 0x10005a68
mov dword [ebp - 0x24], ecx
lea edx, [ecx + 1]
imul edx, eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x28], edx
cdq
and edx, 3
lea esi, [edx + eax]
sar esi, 2
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x30], eax
test esi, esi
jle 0x10005b48
mov edi, dword [ebx + 8]
mov dword [ebp - 0x14], esi
movzx esi, byte [edi]
lea edi, [edi + 4]
movzx eax, byte [edi - 3]
shl esi, 8
or esi, eax
movzx eax, byte [edi - 2]
shl esi, 8
or esi, eax
movzx eax, byte [edi - 1]
shl esi, 8
or esi, eax
mov eax, dword [ebp - 0x30]
mov dword [eax], esi
add eax, 4
sub dword [ebp - 0x14], 1
mov dword [ebp - 0x30], eax
jne 0x10005ac2
mov esi, dword [ebp - 0x1c]
xor edi, edi
nop dword [eax]
cmp edi, dword [ebp - 0x28]
jge 0x10005b3d
mov eax, edi
mov ecx, dword [ebp + edi*4 - 0xd4]
cdq
idiv dword [ebp - 0x18]
lea esi, [edx + eax*8]
mov dword [ebp + esi*4 - 0x4e0], ecx
mov ecx, dword [ebp - 0x118]
mov esi, dword [ebp - 0x1c]
sub ecx, eax
mov eax, dword [ebp + edi*4 - 0xd4]
inc edi
lea ecx, [edx + ecx*8]
mov dword [ebp + ecx*4 - 0x300], eax
cmp edi, esi
jl 0x10005b00
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x24], ecx
jmp 0x10005b4a
xor edi, edi
cmp edi, dword [ebp - 0x28]
jge 0x10005ce9
mov dword [ebp - 0x20], 0x1002d248
nop word [eax + eax]
mov edx, dword [ebp + esi*4 - 0xd8]
mov eax, edx
sar eax, 0x10
movzx eax, al
movsx ecx, byte [eax + 0x1002bce0]
mov eax, dword [ebp - 0x20]
inc dword [ebp - 0x20]
movsx eax, byte [eax]
xor ecx, eax
mov eax, edx
sar eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x1002bce0]
xor ecx, eax
movzx eax, dl
shl ecx, 8
sar edx, 0x18
movzx eax, byte [eax + 0x1002bce0]
xor ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + 0x1002bce0]
xor ecx, eax
xor dword [ebp - 0xd4], ecx
mov ecx, 1
cmp esi, 8
je 0x10005c00
cmp esi, ecx
jle 0x10005be8
nop word [eax + eax]
mov eax, dword [ebp + ecx*4 - 0xd8]
xor dword [ebp + ecx*4 - 0xd4], eax
inc ecx
cmp ecx, esi
jl 0x10005bd0
jmp 0x10005c84
xor ecx, ecx
mov dword [ebp - 0x14], ecx
test esi, esi
jle 0x10005cd7
jmp 0x10005c90
mov eax, dword [ebp + ecx*4 - 0xd8]
xor dword [ebp + ecx*4 - 0xd4], eax
inc ecx
cmp ecx, 4
jl 0x10005c00
mov ecx, dword [ebp - 0xc8]
mov eax, ecx
sar eax, 0x18
movzx eax, al
movsx edx, byte [eax + 0x1002bce0]
mov eax, ecx
sar eax, 0x10
movzx eax, al
shl edx, 8
sar ecx, 8
movzx eax, byte [eax + 0x1002bce0]
xor edx, eax
movzx eax, cl
shl edx, 8
mov ecx, 5
movzx eax, byte [eax + 0x1002bce0]
xor edx, eax
movzx eax, byte [ebp - 0xc8]
shl edx, 8
movzx eax, byte [eax + 0x1002bce0]
xor edx, eax
xor dword [ebp - 0xc4], edx
nop dword [eax]
mov eax, dword [ebp + ecx*4 - 0xd8]
xor dword [ebp + ecx*4 - 0xd4], eax
inc ecx
cmp ecx, 8
jl 0x10005c70
xor ecx, ecx
mov dword [ebp - 0x14], ecx
nop dword [eax]
cmp edi, dword [ebp - 0x28]
jge 0x10005ce0
mov eax, edi
mov ecx, dword [ebp + ecx*4 - 0xd4]
cdq
inc edi
idiv dword [ebp - 0x18]
lea esi, [edx + eax*8]
mov dword [ebp + esi*4 - 0x4e0], ecx
mov ecx, dword [ebp - 0x118]
mov esi, dword [ebp - 0x1c]
sub ecx, eax
mov eax, dword [ebp - 0x14]
lea ecx, [edx + ecx*8]
mov eax, dword [ebp + eax*4 - 0xd4]
mov dword [ebp + ecx*4 - 0x300], eax
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, esi
jl 0x10005c90
cmp edi, dword [ebp - 0x28]
jl 0x10005b60
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x24], ecx
mov esi, 1
mov dword [ebp - 0x30], esi
cmp ecx, esi
jle 0x10005d74
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x2e0]
mov dword [ebp - 0x14], edx
test eax, eax
jle 0x10005d63
mov esi, edx
mov edi, eax
nop dword [eax]
mov edx, dword [esi]
lea esi, [esi + 4]
mov eax, edx
sar eax, 0x18
movzx ecx, al
mov eax, edx
sar eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x1002d668]
xor ecx, dword [eax*4 + 0x1002bde0]
mov eax, edx
sar eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x1002c5e0]
movzx eax, dl
xor ecx, dword [eax*4 + 0x1002d268]
mov dword [esi - 4], ecx
sub edi, 1
jne 0x10005d10
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
inc esi
add edx, 0x20
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], edx
cmp esi, ecx
jl 0x10005d01
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp - 0x38]
mov byte [ebp - 0x4e4], 1
test esi, esi
je 0x1000650a
mov edi, dword [ebp - 0x11c]
xor edx, edx
mov eax, esi
div edi
test edx, edx
jne 0x1000650a
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], edx
div edi
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x30], esi
test eax, eax
je 0x10006507
nop word [eax + eax]
cmp byte [ebp - 0x4e4], 0
je 0x100063e8
cmp edi, 0x10
jne 0x1000614d
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x24]
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 0x18
shl eax, 0x10
or ecx, eax
movzx edi, byte [edx + 0xf]
movzx eax, byte [edx + 2]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x20], edi
movzx eax, byte [edx + 3]
or ecx, eax
movzx eax, byte [edx + 5]
xor ecx, dword [ebp - 0x300]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edx + 4]
shl ecx, 0x18
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 6]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 7]
or ecx, eax
movzx eax, byte [edx + 9]
xor ecx, dword [ebp - 0x2fc]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx + 8]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx + 0xa]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
or ecx, eax
movzx eax, byte [edx + 0xd]
xor ecx, dword [ebp - 0x2f8]
mov dword [ebp - 0x14], ecx
movzx ecx, byte [edx + 0xc]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx + 0xe]
shl eax, 8
mov edx, edi
or edx, eax
or edx, ecx
xor edx, dword [ebp - 0x2f4]
mov dword [ebp - 0x20], edx
cmp esi, 1
jle 0x10005fbe
lea eax, [ebp - 0x2d8]
dec esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], esi
mov eax, edx
mov edx, dword [ebp - 0x14]
sar eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x18]
sar eax, 0x18
movzx eax, al
mov edi, dword [ecx*4 + 0x1002b8e0]
xor edi, dword [eax*4 + 0x1002cde8]
mov eax, dword [ebp - 0x1c]
sar eax, 0x10
movzx eax, al
xor edi, dword [eax*4 + 0x1002a8e0]
movzx eax, dl
xor edi, dword [eax*4 + 0x1002c9e0]
mov eax, dword [ebp - 0x28]
xor edi, dword [eax - 4]
mov eax, edx
sar eax, 0x18
movzx ecx, al
mov eax, dword [ebp - 0x18]
sar eax, 0x10
movzx eax, al
mov esi, dword [ecx*4 + 0x1002cde8]
mov ecx, dword [ebp - 0x20]
xor esi, dword [eax*4 + 0x1002a8e0]
mov eax, dword [ebp - 0x1c]
sar eax, 8
movzx eax, al
xor esi, dword [eax*4 + 0x1002b8e0]
movzx eax, cl
xor esi, dword [eax*4 + 0x1002c9e0]
mov eax, dword [ebp - 0x28]
xor esi, dword [eax]
mov eax, ecx
sar eax, 0x18
movzx ecx, al
mov eax, edx
sar eax, 0x10
movzx eax, al
mov edx, dword [ecx*4 + 0x1002cde8]
xor edx, dword [eax*4 + 0x1002a8e0]
mov eax, dword [ebp - 0x18]
sar eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x1002b8e0]
mov eax, dword [ebp - 0x1c]
movzx eax, al
xor edx, dword [eax*4 + 0x1002c9e0]
mov eax, dword [ebp - 0x28]
xor edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
sar eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 0x14]
sar eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1002a8e0]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], edx
xor ecx, dword [eax*4 + 0x1002b8e0]
mov eax, dword [ebp - 0x1c]
sar eax, 0x18
movzx eax, al
xor ecx, dword [eax*4 + 0x1002cde8]
mov eax, dword [ebp - 0x18]
movzx eax, al
mov dword [ebp - 0x18], edi
xor ecx, dword [eax*4 + 0x1002c9e0]
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x28], 0x20
xor ecx, dword [eax - 8]
sub dword [ebp - 0x34], 1
mov eax, ecx
mov dword [ebp - 0x1c], eax
jne 0x10005e96
mov esi, dword [ebp - 0x24]
jmp 0x10005fc1
mov eax, dword [ebp - 0x1c]
sar eax, 0x18
movzx eax, al
shl esi, 5
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp + esi - 0x300]
mov ecx, edx
sar ecx, 0x18
xor cl, byte [eax + 0x1002a7e0]
mov eax, dword [ebp - 0x2c]
mov byte [eax], cl
mov ecx, edx
mov eax, dword [ebp - 0x20]
sar eax, 0x10
movzx eax, al
sar ecx, 0x10
xor cl, byte [eax + 0x1002a7e0]
mov eax, dword [ebp - 0x2c]
mov byte [eax + 1], cl
mov ecx, edx
mov eax, dword [ebp - 0x14]
sar eax, 8
movzx eax, al
sar ecx, 8
xor cl, byte [eax + 0x1002a7e0]
mov eax, dword [ebp - 0x2c]
mov byte [eax + 2], cl
mov ecx, dword [ebp - 0x18]
movzx eax, cl
movzx eax, byte [eax + 0x1002a7e0]
xor al, dl
mov edx, dword [ebp - 0x2c]
mov byte [edx + 3], al
mov eax, ecx
mov edx, dword [ebp + esi - 0x2fc]
mov ecx, edx
sar eax, 0x18
movzx eax, al
sar ecx, 0x18
xor cl, byte [eax + 0x1002a7e0]
mov eax, dword [ebp - 0x2c]
mov byte [eax + 4], cl
mov ecx, edx
mov eax, dword [ebp - 0x1c]
sar eax, 0x10
movzx eax, al
sar ecx, 0x10
xor cl, byte [eax + 0x1002a7e0]
mov eax, dword [ebp - 0x2c]
mov byte [eax + 5], cl
mov ecx, edx
mov eax, dword [ebp - 0x20]
sar eax, 8
movzx eax, al
sar ecx, 8
xor cl, byte [eax + 0x1002a7e0]
mov byte [edi + 6], cl
mov ecx, dword [ebp - 0x14]
movzx eax, cl
movzx eax, byte [eax + 0x1002a7e0]
xor al, dl
mov edx, dword [ebp + esi - 0x2f8]
mov byte [edi + 7], al
mov eax, ecx
sar eax, 0x18
mov ecx, edx
movzx eax, al
sar ecx, 0x18
xor cl, byte [eax + 0x1002a7e0]
mov eax, dword [ebp - 0x18]
sar eax, 0x10
mov byte [edi + 8], cl
mov ecx, edx
movzx eax, al
sar ecx, 0x10
xor cl, byte [eax + 0x1002a7e0]
mov eax, dword [ebp - 0x1c]
mov byte [edi + 9], cl
mov ecx, edx
sar eax, 8
movzx eax, al
sar ecx, 8
xor cl, byte [eax + 0x1002a7e0]
mov byte [edi + 0xa], cl
mov ecx, dword [ebp - 0x20]
movzx eax, cl
sar ecx, 0x18
movzx eax, byte [eax + 0x1002a7e0]
xor al, dl
mov edx, dword [ebp + esi - 0x2f4]
mov byte [edi + 0xb], al
movzx eax, cl
mov ecx, edx
sar ecx, 0x18
xor cl, byte [eax + 0x1002a7e0]
mov eax, dword [ebp - 0x14]
sar eax, 0x10
movzx eax, al
mov byte [edi + 0xc], cl
mov ecx, edx
sar ecx, 0x10
xor cl, byte [eax + 0x1002a7e0]
mov eax, dword [ebp - 0x18]
sar eax, 8
movzx eax, al
mov byte [edi + 0xd], cl
mov ecx, edx
sar ecx, 8
xor cl, byte [eax + 0x1002a7e0]
mov eax, dword [ebp - 0x1c]
movzx eax, al
mov byte [edi + 0xe], cl
movzx eax, byte [eax + 0x1002a7e0]
xor al, dl
mov byte [edi + 0xf], al
jmp 0x100063eb
mov eax, edi
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
mov dword [ebp - 0x34], edi
cmp edi, 4
jne 0x10006189
mov eax, dword [0x1002d1f4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1002d1fc]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1002d204]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x100061c6
cmp edi, 6
mov edx, 0x20
mov eax, 0x40
cmove eax, edx
mov edx, dword [eax + 0x1002d1f4]
mov dword [ebp - 0x14], edx
mov edx, dword [eax + 0x1002d1fc]
mov eax, dword [eax + 0x1002d204]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
test edi, edi
jle 0x10006228
mov cl, byte [esi + 1]
mov al, byte [esi]
mov dl, byte [esi + 2]
add esi, 3
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], esi
movzx esi, al
shl esi, 8
movzx eax, cl
mov ecx, dword [ebp - 0x24]
or esi, eax
shl esi, 8
movzx eax, dl
or esi, eax
movzx eax, byte [ecx]
inc ecx
shl esi, 8
or esi, eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x20]
mov eax, edi
mov dword [eax], esi
add eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + ecx*4 - 0x300]
inc ecx
xor eax, esi
mov dword [ebp - 0x20], ecx
mov esi, dword [ebp - 0x24]
mov dword [edi], eax
mov edi, dword [ebp - 0x34]
cmp ecx, edi
jl 0x100061c6
mov ecx, dword [ebp - 0x118]
mov edx, dword [ebp - 0x1c]
mov esi, 1
mov dword [ebp - 0x20], esi
cmp ecx, esi
jle 0x1000631b
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0
test edi, edi
jle 0x100062df
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, edx
sub eax, esi
sub ecx, esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], ecx
add eax, esi
cdq
idiv edi
mov eax, dword [ebp + edx*4 - 0x94]
sar eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x44]
add eax, esi
cdq
idiv edi
mov ecx, dword [ecx*4 + 0x1002b8e0]
movzx eax, byte [ebp + edx*4 - 0x94]
xor ecx, dword [eax*4 + 0x1002c9e0]
mov eax, esi
cdq
inc esi
idiv edi
movsx eax, word [ebp + edx*4 - 0x92]
mov edx, dword [ebp - 0x34]
movzx eax, al
xor ecx, dword [eax*4 + 0x1002a8e0]
movzx eax, byte [ebp + edx*4 - 0x91]
xor ecx, dword [eax*4 + 0x1002cde8]
mov eax, dword [ebp - 0x18]
xor ecx, dword [eax]
add eax, 4
mov dword [ebp + edx*4 - 0xb4], ecx
inc edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], edx
cmp edx, edi
jl 0x10006265
mov esi, dword [ebp - 0x20]
lea eax, [edi*4]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.10008f10
mov eax, dword [ebp - 0x24]
inc esi
mov ecx, dword [ebp - 0x118]
add eax, 0x20
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
cmp esi, ecx
jl 0x10006241
xor eax, eax
mov dword [ebp - 0x34], eax
test edi, edi
jle 0x100063e8
mov esi, dword [ebp - 0x2c]
lea edx, [ebp - 0x300]
shl ecx, 5
add ecx, edx
mov edx, dword [ebp - 0x1c]
sub dword [ebp - 0x14], edx
sub dword [ebp - 0x28], edx
mov dword [ebp - 0x20], ecx
movzx eax, byte [ebp + eax*4 - 0x91]
mov ecx, dword [ecx]
sar ecx, 0x18
xor cl, byte [eax + 0x1002a7e0]
mov eax, dword [ebp - 0x14]
add eax, edx
mov byte [esi], cl
cdq
inc esi
idiv edi
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], esi
movsx eax, word [ebp + edx*4 - 0x92]
mov esi, dword [ecx]
mov ecx, esi
movzx eax, al
sar ecx, 0x10
xor cl, byte [eax + 0x1002a7e0]
mov eax, dword [ebp - 0x18]
mov byte [eax], cl
inc eax
mov dword [ebp - 0x18], eax
mov ecx, esi
mov eax, dword [ebp - 0x1c]
cdq
idiv edi
sar ecx, 8
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + edx*4 - 0x94]
sar eax, 8
movzx eax, al
xor cl, byte [eax + 0x1002a7e0]
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x28]
cdq
idiv edi
mov byte [esi], cl
mov ecx, dword [ebp - 0x20]
movzx eax, byte [ebp + edx*4 - 0x94]
mov edx, dword [ebp - 0x1c]
inc edx
mov dword [ebp - 0x1c], edx
mov al, byte [eax + 0x1002a7e0]
xor al, byte [ecx]
add ecx, 4
mov byte [esi + 1], al
add esi, 2
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x34], eax
cmp eax, edi
jl 0x10006342
mov edi, dword [ebp - 0x2c]
cmp byte [ebp - 0x4e4], 0
lea edx, [ebp - 0xf4]
mov esi, dword [ebp - 0x11c]
mov eax, edi
je 0x100064b9
xor edi, edi
test esi, esi
jle 0x100064b9
cmp esi, 0x40
jb 0x1000649a
lea ecx, [ebp + esi - 0xf5]
cmp dword [ebp - 0x2c], ecx
ja 0x10006434
mov ecx, edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x2c]
dec ecx
add ecx, esi
cmp ecx, edx
jae 0x1000649a
mov ecx, esi
and ecx, 0x8000003f
jns 0x10006443
dec ecx
or ecx, 0xffffffc0
inc ecx
mov dword [ebp - 0x14], esi
sub dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
nop dword [eax]
movups xmm0, xmmword [eax]
add edi, 0x40
movups xmm1, xmmword [edx]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [eax + 0x10]
movups xmm1, xmmword [edx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax + 0x10], xmm1
movups xmm0, xmmword [eax + 0x20]
movups xmm1, xmmword [edx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax + 0x20], xmm1
movups xmm0, xmmword [eax + 0x30]
movups xmm1, xmmword [edx + 0x30]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [eax + 0x30], xmm1
add eax, 0x40
cmp edi, ecx
jl 0x10006450
cmp edi, esi
jge 0x100064b9
sub edx, eax
mov dword [ebp - 0x3c], esi
sub esi, edi
mov cl, byte [edx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub esi, 1
jne 0x100064a5
mov esi, dword [ebp - 0x11c]
push esi
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0xf4]
push esi
push eax
call fcn.10008f10
mov edi, dword [ebp - 0x11c]
xor edx, edx
mov eax, dword [ebp - 0x38]
add esi, edi
div edi
mov ecx, dword [ebp - 0x48]
add esp, 0xc
add dword [ebp - 0x2c], edi
inc ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x48], ecx
cmp ecx, eax
jae 0x100064fb
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x24], ecx
jmp 0x10005dc0
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
mov al, byte [edi + eax - 1]
jmp 0x10006511
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
mov al, byte [edi + esi - 1]
movsx esi, al
mov eax, dword [ebp - 0x38]
mov edx, eax
sub edx, esi
lea ecx, [eax - 1]
cmp ecx, edx
jb 0x10006551
movsx eax, byte [ecx + edi]
cmp eax, esi
jne 0x10006535
mov byte [ecx + edi], 0
dec ecx
cmp ecx, edx
jae 0x10006522
jmp 0x10006551
push dword [ebp - 0x38]
push 0
push edi
call fcn.100094a0
add esp, 0xc
call fcn.100066a0
push eax
call fcn.10006960
add esp, 4
mov esi, dword [ebp - 0x50]
mov ecx, edi
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006570
sub ecx, edx
push ecx
push edi
mov ecx, esi
call fcn.10001600
push dword [ebp - 0x4c]
call fcn.10007bdf
add esp, 4
push edi
call fcn.10007bdf
mov ecx, dword [ebp - 0x54]
add esp, 4
cmp ecx, 0x10
jb 0x100065c6
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100065bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100065db
push ecx
push edx
call fcn.10007864
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1000c670
int3