Function at 0xeef020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0x100000
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
movzx ecx, byte [esp + eax + 0x6d44c038]
xor ecx, eax
mov edx, ecx
not edx
add ecx, 0x2257c0db
or edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
mov byte [esp + eax + 0x6d44c038], cl
inc eax
cmp eax, 0x92bb3fd8
jne 0xeef070
mov eax, dword [esp + 0xc]
mov ecx, dword [0xf00374]
test ecx, ecx
je 0xeef0fe
xor edx, edx
mov esi, dword [0xf00378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x3e416e49
je 0xeef0d0
inc edx
cmp ecx, edx
jne 0xeef0c0
jmp 0xeef0fe
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0xeef0fe
lea eax, [esp + 0x30]
lea edx, [esp + 0x18]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0xf0037c]
push ecx
call fcn.00ef0f10
add esp, 0x24
test eax, eax
js 0xeef7b2
cmp dword [edi + 4], 0
je 0xeef740
mov dword [esp + 0x38], edi
mov eax, dword [edi + 4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0xc], 0x37373938
mov ecx, 0x1e11f311
mov edx, 0x3c23e622
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx - 0x1e11f305]
mov ebx, edx
and ebx, 0x1802020a
mov edi, ecx
xor edi, 0xcd490d65
add edi, ebx
lea ebx, [edi + edi]
not ebx
add ebx, edi
xor ebx, edi
and ebx, esi
xor ebx, edi
add bl, 0xb2
mov byte [esp + ecx - 0x1e11f305], bl
inc ecx
add edx, 2
cmp ecx, 0x1e11f315
jne 0xeef160
mov dword [esp + 0x34], 0x7fff
cmp eax, 2
je 0xeef1b2
mov dword [esp + 0x34], 0
mov eax, 0xfffeffff
je 0xeef1be
mov eax, 0x7fffffff
mov ecx, dword [esp + 0xc]
mov edx, ecx
sar edx, 0x1f
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
cmp ecx, eax
mov dword [esp + 0x28], edx
mov eax, edx
sbb eax, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
jae 0xeef6c4
mov dword [esp + 0x24], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
nop
nop
nop
mov ecx, esi
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x38]
push dword [esp + 0x40]
call fcn.00eeec20
cmp eax, 0xbfffffff
ja 0xeef6c4
test eax, eax
js 0xeef670
cmp dword [esp + 0x60], 0x1000
jne 0xeef670
test byte [esp + 0x5c], 0x66
je 0xeef670
mov ecx, esi
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x30], esi
mov ebx, dword [esp + 0x44]
mov eax, 0
sbb eax, ebx
jae 0xeef3ca
mov dword [esp + 0xc], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x6d44c038]
xor ecx, eax
mov edx, ecx
not edx
add ecx, 0x2257c0db
or edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
mov byte [esp + eax + 0x6d44c038], cl
inc eax
cmp eax, 0x92bb3fd8
jne 0xeef280
mov eax, dword [0xf00374]
test eax, eax
je 0xeef30a
mov ecx, dword [esp + 0xc]
xor edx, edx
mov edi, dword [0xf00378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x16194952
je 0xeef2e0
inc edx
cmp eax, edx
jne 0xeef2d0
jmp 0xeef30a
mov eax, dword [edi + edx*8 + 4]
cmp eax, ecx
je 0xeef30a
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 4
push dword [0xf0037c]
push eax
call fcn.00ef0f10
add esp, 0x1c
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0xc], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x6d44c038]
xor ecx, eax
mov edx, ecx
not edx
add ecx, 0x2257c0db
or edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
mov byte [esp + eax + 0x6d44c038], cl
inc eax
cmp eax, 0x92bb3fd8
jne 0xeef330
mov eax, dword [esp + 0xc]
mov ecx, dword [0xf00374]
test ecx, ecx
je 0xeef3be
xor edx, edx
mov edi, dword [0xf00378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x3e416e49
je 0xeef390
inc edx
cmp ecx, edx
jne 0xeef380
jmp 0xeef3be
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0xeef3be
push 4
push 0x3000
lea eax, [esp + 0x38]
push eax
push 0
lea eax, [esp + 0x28]
push eax
push 0xffffffffffffffff
push 6
push dword [0xf0037c]
push ecx
call fcn.00ef0f10
add esp, 0x24
test eax, eax
mov ecx, dword [esp + 0x38]
js 0xeef6c4
lea eax, [esp + 0x70]
push eax
push ebx
push esi
push dword [esp + 0x24]
push dword [esp + 0x38]
push dword [esp + 0x40]
call fcn.00eeeeb0
test eax, eax
jns 0xeef3f1
cmp eax, 0x8000000d
jne 0xeef670
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
jb 0xeef670
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
call fcn.00eef800
add esp, 0x18
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
cmp esi, eax
mov ebx, dword [esp + 8]
je 0xeef659
mov dword [esp + 0x64], esi
mov ecx, dword [esp + 4]
mov dword [esp + 0x54], eax
jmp 0xeef46f
mov edi, edx
mov edx, dword [esp + 0x6c]
mov dword [ebx + edi], edx
mov edx, dword [esp + 0x68]
mov dword [ebx + edi + 4], edx
add ecx, 8
add esi, 4
cmp esi, eax
je 0xeef619
mov edx, dword [esi]
sub edx, dword [esp + 0x18]
mov edi, edx
sar edi, 0x1f
add edx, dword [esp + 0x2c]
mov dword [esp + 0x6c], edx
adc edi, dword [esp + 0x28]
mov dword [esp + 0x68], edi
mov edx, ecx
sub edx, ebx
cmp ecx, dword [esp + 0x24]
jne 0xeef450
mov dword [esp + 4], ecx
mov dword [esp + 0x20], edx
mov ecx, edx
sar ecx, 3
lea eax, [ecx + 1]
mov edi, ecx
shr edi, 1
add edi, ecx
cmp edi, eax
ja 0xeef4b0
mov edi, eax
lea eax, [edi*8]
push eax
call fcn.00ebc880
add esp, 4
test ebx, ebx
je 0xeef5ff
mov dword [esp + 0x24], edi
cmp eax, ebx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x58], eax
jbe 0xeef59f
cmp ecx, eax
jbe 0xeef59f
test edx, edx
je 0xeef5eb
mov edx, dword [esp + 0x20]
mov eax, edx
and eax, 0xfffffffe
add eax, eax
mov ecx, edx
xor ecx, 1
sub eax, ecx
mov ebx, dword [esp + 8]
lea ecx, [ebx + eax]
add eax, dword [esp + 0x58]
mov edi, edx
and edi, 7
je 0xeef538
neg edi
xor edx, edx
nop
nop
nop
nop
movzx ebx, byte [ecx + edx]
mov byte [eax + edx], bl
dec edx
cmp edi, edx
jne 0xeef520
add ecx, edx
add eax, edx
add edx, dword [esp + 0x20]
mov ebx, dword [esp + 8]
mov edi, ebx
sub edi, dword [esp + 4]
cmp edi, 0xfffffff8
ja 0xeef5eb
neg edx
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edi]
mov byte [eax + edi], bl
movzx ebx, byte [ecx + edi - 1]
mov byte [eax + edi - 1], bl
movzx ebx, byte [ecx + edi - 2]
mov byte [eax + edi - 2], bl
movzx ebx, byte [ecx + edi - 3]
mov byte [eax + edi - 3], bl
movzx ebx, byte [ecx + edi - 4]
mov byte [eax + edi - 4], bl
movzx ebx, byte [ecx + edi - 5]
mov byte [eax + edi - 5], bl
movzx ebx, byte [ecx + edi - 6]
mov byte [eax + edi - 6], bl
movzx ebx, byte [ecx + edi - 7]
mov byte [eax + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0xeef550
jmp 0xeef5eb
mov ecx, edx
shr ecx, 2
mov dword [esp + 4], ebx
mov edi, eax
mov edx, dword [esp + 4]
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, dword [esp + 0x20]
mov edx, ecx
and edx, 0xfffffffc
lea edi, [eax + edx]
add edx, ebx
mov ebx, ecx
shr ecx, 1
and ecx, 1
mov eax, edx
mov dword [esp + 4], edi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
je 0xeef5eb
mov eax, dword [esp + 0x20]
and eax, 2
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 4]
mov byte [edx + eax], cl
push dword [esp + 8]
call fcn.00ebc890
add esp, 4
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x58]
lea ecx, [eax + edi*8]
mov dword [esp + 0x24], ecx
mov ecx, eax
mov edi, dword [esp + 0x20]
add ecx, edi
mov ebx, eax
mov eax, dword [esp + 0x54]
jmp 0xeef452
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov edx, dword [esp + 0x24]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x64]
test eax, eax
mov esi, dword [esp + 0x1c]
je 0xeef6ba
mov dword [esp + 4], ecx
cmp eax, dword [esp + 0x54]
je 0xeef6b4
mov dword [esp + 8], ebx
push eax
call fcn.00ebc890
add esp, 4
mov dword [esp + 0xc], 0
jmp 0xeef674
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 4]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
nop
nop
nop
nop
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edi, ecx
and edi, edx
xor ecx, edx
mov edx, ebx
and edx, eax
xor ebx, eax
shld edi, edx, 1
add edx, edx
add ebx, edx
adc ecx, edi
mov dword [esp + 0x2c], ebx
cmp ebx, esi
mov dword [esp + 0x28], ecx
sbb ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
jb 0xeef200
jmp 0xeef6c4
mov dword [esp + 8], ebx
jmp 0xeef674
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
jmp 0xeef674
mov dword [esp + 0xc], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x6d44c038]
xor ecx, eax
mov edx, ecx
not edx
add ecx, 0x2257c0db
or edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
mov byte [esp + eax + 0x6d44c038], cl
inc eax
cmp eax, 0x92bb3fd8
jne 0xeef6e0
mov eax, dword [0xf00374]
test eax, eax
je 0xeef7b2
mov ecx, dword [esp + 0xc]
xor edx, edx
mov esi, dword [0xf00378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x16194952
je 0xeef788
inc edx
cmp eax, edx
jne 0xeef730
jmp 0xeef7b2
push 0xbbf966b4
push dword [0xf00368]
call fcn.00ef3a90
add esp, 8
test eax, eax
je 0xeef7bf
mov ecx, dword [edi]
test ecx, ecx
je 0xeef110
mov dword [esp + 0xc], 0
lea edx, [esp + 0xc]
push edx
push ecx
call eax
test eax, eax
je 0xeef7cb
cmp dword [esp + 0xc], 0
je 0xeef7cb
mov dword [edi + 4], 3
jmp 0xeef110
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0xeef7b2
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x18]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 4
push dword [0xf0037c]
push eax
call fcn.00ef0f10
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [edi + 4], 1
jmp 0xeef110
lea eax, [esp + 0x48]
push eax
call fcn.00ef4320
add esp, 4
test al, al
je 0xeef110
mov eax, dword [esp + 0x48]
mov ecx, 2
cmp eax, 3
je 0xeef7f0
mov ecx, eax
mov dword [edi + 4], ecx
jmp 0xeef110