Function at 0x7ee5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov al, byte [esp + 0x64]
mov ebx, ecx
mov edi, edx
mov byte [esp + 2], al
mov al, byte [esp + 0x60]
mov byte [esp + 3], al
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov eax, dword [0xbcbae0]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 8]
mov esi, dword [edx + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x10]
mov ecx, esi
mov dword [esp + 4], eax
call fcn.007efd90
mov ecx, ebx
mov ebp, eax
call fcn.007efdc0
cmp dword [ebx + 0x24], 0
mov dword [esp + 0x18], ebx
jne 0x7ee79a
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
mov esi, dword [edi + 4]
mov ecx, dword [esp + 4]
call fcn.007efd90
cmp ebp, eax
je 0x7ee7ad
mov edx, fcn.007eeeb0
movzx ecx, byte [0xbb02d7]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x7ee789
mov al, byte [0xbb02d7]
cmp edx, 1
mov ah, 1
seta cl
or cl, 6
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb02d7], ah
jne 0x7ee654
mov ecx, fcn.007eeeb0
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
or dl, 6
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7ee6ae
cmp ecx, 1
movzx edx, byte [0xbb02d7]
seta al
or al, 6
movzx eax, al
bt edx, eax
jae 0x7ee692
jmp 0x7ee789
cmp ecx, 1
movzx edx, byte [0xbb02d7]
seta al
or al, 6
movzx eax, al
bt edx, eax
jb 0x7ee768
mov eax, fcn.007eeeb0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbb02c0]
seta cl
or ecx, 0xaca2e23e
add ecx, 0xb80
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb02c0], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb02c4]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb02c4], eax
or edi, edx
not eax
mov edx, dword [0xbb02c8]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb02c8], edx
or edi, eax
not edx
mov eax, dword [0xbb02cc]
imul edx, edi
lea edi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb02cc], eax
or edi, edx
not eax
mov dl, 1
imul eax, edi
shl dl, cl
xor dword [0xbb02d0], eax
or byte [0xbb02d7], dl
mov eax, fcn.007eeeb0
imul eax, eax
and eax, 3
cmp eax, 1
mov al, 0xfe
seta cl
or cl, 6
xor cl, 7
rol al, cl
and byte [0xbb02d7], al
push 0xbb02c0
push dword [esp + 0x1c]
call fcn.00782570
add esp, 8
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00980459
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x10], ebp
mov al, 0x38
mov cl, byte [esp + 3]
cmp cl, 0x37
je 0x7ee7be
mov eax, ecx
mov bl, byte [esp + 2]
mov edi, dword [esp + 0x14]
shr esi, 9
cmp al, 0x39
mov bh, 0x36
je 0x7ee7d1
mov bh, al
and esi, 1
mov edx, edi
or bl, 0x20
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.007f1640
mov dword [esp + 0x28], eax
mov ecx, esi
mov esi, dword [esp + 4]
mov edx, esi
call fcn.007f1640
mov dword [esp + 0x24], eax
mov edx, edi
xor edi, edi
mov eax, dword [esp + 0x10]
lea ecx, [eax - 1]
add eax, 0xfffffffe
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov ecx, ebp
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x30]
push edi
call fcn.007f1650
add esp, 0x10
mov dword [esp + 0x30], eax
lea eax, [esp + 0x3c]
mov ecx, ebp
mov edx, esi
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x2c]
push edi
call fcn.007f1650
add esp, 0x10
mov edx, dword [esp + 0x38]
mov ecx, ebp
mov byte [esp + 2], bl
movzx esi, bl
movzx ebp, bh
push dword [esp + 0x2c]
push esi
push dword [esp + 0x24]
push eax
push dword [esp + 0x40]
push ebp
mov esi, ecx
push dword [esp + 0x4c]
call fcn.007eea00
add esp, 0x1c
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.007f0bc0
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.007f0bc0
cmp edi, dword [esp + 0x20]
je 0x7ee952
cmp bh, 0x34
je 0x7ee8ea
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
cmp bh, 0x35
jne 0x7ee91b
mov ecx, dword [esp + 0xc]
mov edx, 0x14
push dword [esp + 8]
push esi
call fcn.007c57e0
mov edx, ebp
add esp, 8
movzx ebx, byte [esp + 2]
mov esi, dword [esp + 4]
mov bh, 0x35
inc edi
or bl, 8
jmp 0x7ee813
mov ecx, dword [esp + 0xc]
mov edx, 0x12
push dword [esp + 8]
push dword [esp + 0x20]
call fcn.007c57e0
add esp, 8
movzx ebx, byte [esp + 2]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 4]
mov bh, 0x34
inc edi
or bl, 8
jmp 0x7ee813
mov ecx, dword [esp + 0xc]
mov edx, 0x3a
push dword [esp + 8]
push 0
call fcn.007c57e0
add esp, 8
cmp edi, dword [esp + 0x10]
movzx eax, byte [esp + 3]
je 0x7ee93f
mov al, bh
movzx ebx, byte [esp + 2]
mov esi, dword [esp + 4]
inc edi
mov bh, al
mov edx, ebp
jmp 0x7ee813
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00980459
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.007f04f0