Function at 0x7c3430
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
lea eax, [edx - 1]
mov ebp, edx
mov esi, ecx
cmp eax, dword [ecx + 0xc]
jb 0x7c360b
mov edx, 0x77d180
movzx ecx, byte [0xbae9cb]
not edx
and edx, 1
mov eax, edx
add eax, 0x77d180
sete al
not al
add al, 0xb0
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7c35f2
mov al, byte [0xbae9cb]
mov ecx, edx
mov ah, 1
add ecx, 0x77d180
sete cl
not cl
add cl, 0xb0
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbae9cb], ah
jne 0x7c3477
mov ecx, 0x77d180
movzx eax, al
not ecx
and ecx, 1
mov edx, ecx
add edx, 0x77d180
sete dl
not dl
add dl, 0xb0
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7c34ec
mov eax, ecx
movzx edx, byte [0xbae9cb]
add eax, 0x77d180
sete al
not al
add al, 0xb0
and al, 7
movzx eax, al
bt edx, eax
jae 0x7c34c8
jmp 0x7c35f2
add ecx, 0x77d180
movzx ecx, byte [0xbae9cb]
sete al
not al
add al, 0xb0
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7c35cb
mov eax, 0x77d180
xor ecx, ecx
not eax
and eax, 1
add eax, 0x77d180
mov eax, dword [0xbae9b0]
sete cl
xor ecx, 0xcbb66d27
add ecx, 0xb0
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbae9b0], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbae9b4]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbae9b4], eax
or ebx, edx
not eax
mov edx, dword [0xbae9b8]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbae9b8], edx
or ebx, eax
not edx
mov eax, dword [0xbae9bc]
imul edx, ebx
lea ebx, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbae9bc], eax
or ebx, edx
not eax
mov edx, dword [0xbae9c0]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbae9c0], edx
or eax, ebx
not edx
imul edx, eax
xor dword [0xbae9c4], edx
mov dl, 1
shl dl, cl
or byte [0xbae9cb], dl
mov eax, 0x77d180
not eax
and eax, 1
add eax, 0x77d180
mov al, 0xfe
sete cl
not cl
add cl, 0xb0
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbae9cb], al
push ebp
push 0xbae9b0
push esi
call fcn.007c0fc0
add esp, 0xc
mov eax, 1
jmp 0x7c381f
mov ecx, esi
mov edx, ebp
call fcn.007c3410
test eax, eax
je 0x7c3802
mov edi, fcn.00798210
mov ebx, fcn.00798210
xor eax, eax
movzx edx, byte [0xbae9ef]
or edi, 2
xor ebx, 2
mov ecx, edi
add ecx, ebx
sete al
mov ecx, eax
xor ecx, 3
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x7c37f7
mov al, byte [0xbae9ef]
mov dword [esp], ebp
mov ebp, edi
xor edx, edx
add ebp, ebx
sete dl
mov ecx, edx
xor ecx, 3
lea ecx, [ecx + edx*2]
mov dl, 1
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbae9ef], dl
jne 0x7c3655
mov ecx, fcn.00798210
mov edx, fcn.00798210
xor ebx, ebx
movzx eax, al
or ecx, 2
xor edx, 2
mov edi, ecx
add edi, edx
sete bl
mov edi, ebx
xor ebx, 3
lea ebx, [ebx + edi*2]
xor bl, 7
movzx edi, bl
bt eax, edi
jae 0x7c36cd
mov ebp, dword [esp]
mov edi, ecx
xor eax, eax
add edi, edx
movzx edi, byte [0xbae9ef]
sete al
mov ebx, eax
xor ebx, 3
lea eax, [ebx + eax*2]
bt edi, eax
jae 0x7c36ab
jmp 0x7c37f7
xor eax, eax
add ecx, edx
movzx edx, byte [0xbae9ef]
mov ebp, dword [esp]
sete al
mov ecx, eax
xor ecx, 3
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x7c37cb
mov eax, fcn.00798210
mov ecx, fcn.00798210
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
sete dl
mov eax, edx
xor eax, 0x6090ba73
lea ecx, [eax + edx*2 + 8]
mov eax, dword [0xbae9d0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbae9d0], eax
not eax
imul edx, eax
mov eax, dword [0xbae9d4]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbae9d4], eax
or edi, edx
not eax
mov edx, dword [0xbae9d8]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbae9d8], edx
or edi, eax
not edx
mov eax, dword [0xbae9dc]
imul edx, edi
lea edi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbae9dc], eax
or edi, edx
not eax
mov edx, dword [0xbae9e0]
imul eax, edi
mov edi, eax
shl edi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbae9e0], edx
or eax, edi
not edx
mov ebx, dword [0xbae9e4]
imul edx, eax
mov edi, edx
shl edi, 5
xor ebx, edx
shr edx, 0x1a
mov dword [0xbae9e4], ebx
or edx, edi
not ebx
imul ebx, edx
mov dl, 1
xor dword [0xbae9e8], ebx
shl dl, cl
or byte [0xbae9ef], dl
mov eax, fcn.00798210
mov ecx, fcn.00798210
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
sete dl
mov eax, edx
xor eax, 3
lea ecx, [eax + edx*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbae9ef], al
push ebp
push 0xbae9d0
jmp 0x7c35f8
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + 0x110]
mov eax, 1
test ecx, ecx
jne 0x7c381f
mov ecx, esi
mov edx, ebp
call fcn.007c04f0
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret