Function at 0x61f790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x668b10
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
call eax
push dword [ebp - 0x6c]
mov esi, eax
push dword [ebp + 0xc]
mov ecx, esi
push edi
mov edx, dword [esi]
call dword [edx + 0x18]
mov eax, dword [esi + 4]
add esi, 4
mov ecx, esi
mov dword [ebp - 0x7c], esi
mov eax, dword [eax + 0x14]
call eax
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
mov edx, dword [edx + 0x14]
call edx
cmp eax, 0x10
je 0x61f845
mov ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x50]
add ecx, 4
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
push str.:_block_size_of_underlying_block_cipher_is_not_16
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0
push eax
call fcn.00401f10
add esp, 0xc
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0040376a
push 0x6e29b8
lea eax, [ebp - 0x38]
push eax
call fcn.006277c8
cmp byte [0x743904], 0
jne 0x61f853
call fcn.00623af0
cmp byte [0x74390c], 0
lea edx, [ebp - 0x84]
mov ecx, dword [ebp - 0x6c]
push edx
push 0x709a84
push str.TableSize
mov eax, dword [ecx]
je 0x61f881
call dword [eax + 4]
mov esi, dword [ebp - 0x70]
lea eax, [edi*8]
jmp 0x61f8bd
mov eax, dword [eax + 4]
call eax
mov esi, dword [ebp - 0x70]
test al, al
je 0x61f8a2
mov ecx, 0x10000
mov eax, 0x800
cmp dword [ebp - 0x84], ecx
cmovge eax, ecx
jmp 0x61f8bd
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x80]
call eax
dec eax
neg eax
sbb eax, eax
and eax, 0xffff0800
add eax, 0x10000
mov dword [ebp - 0x84], eax
lea ecx, [esi + 0xc]
lea eax, [eax + edi*2]
add eax, edi
push eax
call fcn.0061fe50
mov eax, dword [esi + 0x18]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x7c]
movups xmmword [eax + 0x20], xmm0
lea edi, [eax + 0x20]
lea esi, [eax + 0x30]
mov dword [ebp - 0x6c], edi
mov eax, dword [ecx]
push edi
push 0
push edi
mov dword [ebp - 0x80], esi
call dword [eax + 0x10]
cmp byte [0x743904], 0
jne 0x61f901
call fcn.00623af0
cmp byte [0x74390c], 0
je 0x61f91f
push dword [ebp - 0x84]
push esi
push edi
call fcn.00624d90
add esp, 0xc
jmp 0x61fe30
cmp dword [ebp - 0x84], 0x10000
mov edx, dword [ebp - 0x6c]
mov edi, dword [edi]
bswap edi
mov dword [ebp - 0x88], edi
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
bswap eax
mov dword [ebp - 0x74], eax
mov eax, dword [edx + 0xc]
bswap ecx
bswap eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x78], eax
jne 0x61fb0b
xor eax, eax
mov dword [ebp - 0x6c], eax
nop dword [eax]
and eax, 7
mov ecx, 0xb
sub ecx, eax
mov edx, 1
mov eax, dword [ebp - 0x6c]
shl edx, cl
mov ecx, dword [ebp - 0x74]
add edx, esi
mov esi, dword [ebp - 0x70]
shr eax, 3
shl eax, 0xc
add edx, eax
mov eax, edi
bswap ecx
bswap eax
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x78]
mov dword [edx], eax
mov eax, dword [ebp - 0x70]
bswap ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp - 0x74]
bswap eax
mov dword [edx + 8], eax
xor eax, eax
mov edx, dword [ebp - 0x78]
shrd dword [ebp - 0x78], esi, 1
or dword [ebp - 0x78], eax
shl ecx, 0x1f
shr esi, 1
or ecx, esi
mov dword [ebp - 0x70], ecx
and edx, 1
je 0x61f9c7
xor ecx, ecx
mov edx, 0xe1000000
jmp 0x61f9de
xorps xmm0, xmm0
movlpd qword [ebp - 0x8c], xmm0
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x74]
mov esi, dword [ebp - 0x80]
shrd eax, edi, 1
xor eax, ecx
shr edi, 1
mov dword [ebp - 0x74], eax
xor edi, edx
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp eax, 0x80
jl 0x61f960
xor edi, edi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], edi
mov eax, esi
nop dword [eax]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
cmp byte [0x743904], 0
jne 0x61fa24
call fcn.00623af0
cmp byte [0x743905], 0
mov ecx, 2
mov dword [ebp - 0x78], ecx
je 0x61fa86
cmp ecx, 1
jle 0x61fa77
lea edx, [edi + ecx]
mov edi, dword [ebp - 0x70]
shl edx, 4
lea eax, [ecx - 1]
add edx, esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], edx
add edi, 0x10
lea esi, [edx + 0x10]
push edi
push edx
push esi
call fcn.00624f70
mov edx, dword [ebp - 0x7c]
add esp, 0xc
add edi, 0x10
add esi, 0x10
sub dword [ebp - 0x74], 1
jne 0x61fa54
mov ecx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0x6c]
add ecx, ecx
mov dword [ebp - 0x78], ecx
cmp ecx, 0x80
jle 0x61fa35
jmp 0x61fae6
cmp ecx, 1
jle 0x61fad9
lea edi, [edi + ecx]
shl edi, 4
lea eax, [ecx - 1]
add edi, esi
mov dword [ebp - 0x74], eax
mov esi, dword [ebp - 0x70]
add esi, 0x10
lea edx, [edi + 0x10]
mov ecx, dword [esi]
lea esi, [esi + 0x10]
xor ecx, dword [edi]
lea edx, [edx + 0x10]
mov eax, dword [esi - 0xc]
xor eax, dword [edi + 4]
mov dword [edx - 0x10], ecx
mov dword [edx - 0xc], eax
mov ecx, dword [esi - 8]
mov eax, dword [esi - 4]
xor ecx, dword [edi + 8]
xor eax, dword [edi + 0xc]
sub dword [ebp - 0x74], 1
mov dword [edx - 8], ecx
mov dword [edx - 4], eax
jne 0x61faa2
mov ecx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0x6c]
add ecx, ecx
mov dword [ebp - 0x78], ecx
cmp ecx, 0x80
jle 0x61fa86
mov eax, dword [ebp - 0x70]
add edi, 0x100
add eax, 0x1000
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], eax
cmp edi, 0x1000
jl 0x61fa10
jmp 0x61fe30
cmp byte [0x7438f8], 0
jne 0x61fbb2
xor eax, eax
mov edi, 0x1c2
mov word [0x7436f8], ax
mov ecx, edi
mov ah, cl
mov edx, 2
mov al, ch
mov dword [ebp - 0x7c], edx
mov word [0x7436fa], ax
nop dword [eax]
add edi, edi
lea esi, [edx + edx]
mov ax, di
mov dword [ebp - 0x90], edi
mov ch, al
mov dword [ebp - 0x6c], esi
mov cl, ah
mov word [esi + 0x7436f8], cx
mov ecx, 1
cmp edx, ecx
jbe 0x61fb95
mov edi, dword [ebp - 0x6c]
lea edx, [esi + 0x7436fa]
mov esi, dword [ebp - 0x7c]
mov ax, word [ecx*2 + 0x7436f8]
lea edx, [edx + 2]
xor ax, word [edi + 0x7436f8]
inc ecx
mov word [edx - 2], ax
cmp ecx, esi
jb 0x61fb71
mov esi, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x90]
mov edx, esi
mov dword [ebp - 0x7c], edx
cmp edx, 0x80
jbe 0x61fb40
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0x88]
mov byte [0x7438f8], 1
xor eax, eax
mov dword [ebp - 0x6c], eax
and eax, 0x1f
cmp eax, 4
jae 0x61fbd1
mov ecx, 7
sub ecx, eax
mov eax, dword [ebp - 0x6c]
shr eax, 5
add eax, 4
jmp 0x61fbe3
cmp eax, 8
jae 0x61fc0f
mov ecx, 0xb
sub ecx, eax
mov eax, dword [ebp - 0x6c]
shr eax, 5
mov edx, 1
shl eax, 8
shl edx, cl
mov ecx, dword [ebp - 0x74]
add edx, esi
add edx, eax
mov eax, edi
bswap ecx
bswap eax
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x78]
mov dword [edx], eax
mov eax, dword [ebp - 0x70]
bswap ecx
bswap eax
mov dword [edx + 0xc], ecx
mov dword [edx + 8], eax
mov edx, dword [ebp - 0x78]
xor eax, eax
mov esi, dword [ebp - 0x70]
shrd dword [ebp - 0x78], esi, 1
mov ecx, dword [ebp - 0x74]
or dword [ebp - 0x78], eax
shl ecx, 0x1f
shr esi, 1
or ecx, esi
mov dword [ebp - 0x70], ecx
and edx, 1
je 0x61fc3a
xor ecx, ecx
mov edx, 0xe1000000
jmp 0x61fc51
xorps xmm0, xmm0
movlpd qword [ebp - 0x8c], xmm0
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x74]
mov esi, dword [ebp - 0x80]
shrd eax, edi, 1
xor eax, ecx
shr edi, 1
mov dword [ebp - 0x74], eax
xor edi, edx
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp eax, 0x68
jl 0x61fbb7
xor edi, edi
lea edx, [esi + 0x418]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], edx
xorps xmm0, xmm0
movups xmmword [edx - 0x418], xmm0
movups xmmword [edx - 0x18], xmm0
cmp byte [0x743904], 0
jne 0x61fca1
call fcn.00623af0
mov edx, dword [ebp - 0x70]
cmp byte [0x743905], 0
je 0x61fd41
mov edx, 2
mov dword [ebp - 0x74], edx
cmp edx, 1
jle 0x61fd2e
lea ecx, [edi + edx]
mov eax, ecx
shl eax, 4
add eax, esi
mov dword [ebp - 0x88], eax
lea eax, [edi + 0x40]
mov edi, dword [ebp - 0x70]
add eax, edx
shl eax, 4
add eax, esi
lea esi, [ecx + 0x41]
shl esi, 4
add esi, dword [ebp - 0x80]
add edi, 0xfffffff8
mov dword [ebp - 0x90], eax
lea eax, [edx - 1]
mov dword [ebp - 0x7c], eax
lea eax, [edi - 0x400]
push eax
push dword [ebp - 0x88]
lea eax, [esi - 0x400]
push eax
call fcn.00624f70
push edi
push dword [ebp - 0x90]
push esi
call fcn.00624f70
add esp, 0x18
add edi, 0x10
add esi, 0x10
sub dword [ebp - 0x7c], 1
jne 0x61fcf0
mov edx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0x6c]
add edx, edx
mov dword [ebp - 0x74], edx
cmp edx, 8
jle 0x61fcb6
jmp 0x61fe15
mov ecx, 2
mov dword [ebp - 0x78], ecx
nop dword [eax]
cmp ecx, 1
jle 0x61fe04
mov eax, dword [ebp - 0x6c]
lea edi, [edi + ecx]
add eax, 0x40
shl edi, 4
add eax, ecx
add edi, esi
shl eax, 4
add eax, esi
mov dword [ebp - 0x88], edi
dec ecx
mov dword [ebp - 0x74], eax
lea esi, [edi + 0x418]
mov dword [ebp - 0x7c], ecx
mov eax, edx
mov edx, dword [eax - 0x408]
lea eax, [eax + 0x10]
xor edx, dword [edi]
lea esi, [esi + 0x10]
mov ecx, dword [eax - 0x414]
xor ecx, dword [edi + 4]
mov dword [esi - 0x418], edx
mov dword [esi - 0x414], ecx
mov edx, dword [eax - 0x410]
xor edx, dword [edi + 8]
mov ecx, dword [eax - 0x40c]
xor ecx, dword [edi + 0xc]
mov edi, dword [ebp - 0x74]
mov dword [esi - 0x410], edx
mov dword [esi - 0x40c], ecx
mov edx, dword [eax - 0x18]
mov ecx, dword [ebp - 0x74]
xor edx, dword [ecx]
mov ecx, dword [eax - 0x14]
xor ecx, dword [edi + 4]
mov dword [esi - 0x18], edx
mov dword [esi - 0x14], ecx
mov ecx, edi
mov edi, dword [ebp - 0x88]
mov edx, dword [ecx + 8]
xor edx, dword [eax - 0x10]
mov ecx, dword [ecx + 0xc]
xor ecx, dword [eax - 0xc]
sub dword [ebp - 0x7c], 1
mov dword [esi - 0x10], edx
mov dword [esi - 0xc], ecx
jne 0x61fd83
mov ecx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x70]
add ecx, ecx
mov dword [ebp - 0x78], ecx
cmp ecx, 8
jle 0x61fd50
mov edx, dword [ebp - 0x70]
add edi, 0x10
add edx, 0x100
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], edx
cmp edi, 0x40
jl 0x61fc82
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005fe955
mov esp, ebp
pop ebp
ret 0xc