Function at 0x88fd40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov edi, dword [esp + 0x34]
mov ebx, ecx
mov dword [esp + 0x18], edx
mov al, byte [edi]
mov ecx, eax
test al, al
mov eax, dword [edx]
jne 0x88fd7e
mov edi, 0x1c
test eax, eax
jne 0x8903ac
mov al, 1
mov dword [esp], 0
xor ebp, ebp
mov dword [esp + 0xc], eax
mov al, 1
jmp 0x89024b
xor ebp, ebp
test eax, eax
jne 0x88fd8f
mov dword [esp], 0
mov edx, ecx
jmp 0x88fdda
cmp byte [eax], 0x78
jne 0x88fd84
cmp byte [eax + 1], 0x6d
mov edx, ecx
je 0x88fda5
mov dword [esp], 0
jmp 0x88fdda
cmp byte [eax + 2], 0x6c
je 0x88fdb4
mov dword [esp], 0
jmp 0x88fdda
mov cl, byte [eax + 3]
cmp cl, 0x6e
jne 0x88fdd2
cmp byte [eax + 4], 0x73
jne 0x88fdd2
cmp byte [eax + 5], 0
jne 0x88fdd2
mov edi, 0x27
jmp 0x8903ac
test cl, cl
sete al
mov dword [esp], eax
mov esi, 0x888b90
mov ecx, 0x888b90
mov al, byte [ebx + 0xe8]
mov dword [esp + 0x10], ebx
and esi, 1
xor esi, ecx
mov cl, 1
mov dword [esp + 0xc], ecx
mov cl, 1
mov dword [esp + 0x14], esi
mov dword [esp + 4], ecx
mov ecx, dword [esp]
mov byte [esp + 0xb], al
mov al, 1
test al, 1
je 0x88fff6
cmp ebp, 0x24
ja 0x88fff6
cmp esi, 0xffffffff
movzx ecx, byte [0xbcaacb]
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x88ffeb
mov al, byte [0xbcaacb]
cmp esi, 0xffffffff
mov ah, 1
sete cl
not cl
and cl, 3
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbcaacb], ah
jne 0x88fe3f
cmp esi, 0xffffffff
movzx eax, al
sete cl
not cl
and cl, 3
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x88fe94
cmp esi, 0xffffffff
movzx ecx, byte [0xbcaacb]
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jae 0x88fe76
jmp 0x88ffeb
cmp esi, 0xffffffff
movzx ecx, byte [0xbcaacb]
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x88ffd3
xor ecx, ecx
cmp esi, 0xffffffff
mov eax, dword [0xbcaaa0]
sete cl
xor ecx, 0x32e973db
add ecx, 0x840
xor eax, ecx
mov dword [0xbcaaa0], eax
not eax
mov esi, dword [0xbcaaa4]
imul eax, ecx
and cl, 7
lea edi, [eax + eax]
xor esi, eax
shr eax, 0x1e
mov dword [0xbcaaa4], esi
or edi, eax
not esi
mov eax, dword [0xbcaaa8]
imul esi, edi
lea edi, [esi*4]
xor eax, esi
shr esi, 0x1d
mov dword [0xbcaaa8], eax
or edi, esi
not eax
mov esi, dword [0xbcaaac]
imul eax, edi
lea edi, [eax*8]
xor esi, eax
shr eax, 0x1c
mov dword [0xbcaaac], esi
or edi, eax
not esi
mov eax, dword [str.Ob_T]
imul esi, edi
mov edi, esi
shl edi, 4
xor eax, esi
shr esi, 0x1b
mov dword [str.Ob_T], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbcaab4]
mov edi, eax
shl edi, 5
xor esi, eax
shr eax, 0x1a
mov dword [0xbcaab4], esi
or eax, edi
not esi
imul esi, eax
mov eax, dword [0xbcaab8]
mov edi, esi
shl edi, 6
xor eax, esi
shr esi, 0x19
mov dword [0xbcaab8], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbcaabc]
mov edi, eax
shl edi, 7
xor esi, eax
shr eax, 0x18
mov dword [0xbcaabc], esi
or eax, edi
not esi
imul esi, eax
mov eax, dword [0xbcaac0]
mov edi, esi
shl edi, 8
xor eax, esi
shr esi, 0x17
mov dword [0xbcaac0], eax
or esi, edi
not eax
mov edi, dword [esp + 0x34]
imul eax, esi
mov esi, dword [esp + 0x14]
xor dword [0xbcaac4], eax
mov ah, 1
shl ah, cl
or byte [0xbcaacb], ah
cmp esi, 0xffffffff
mov al, 0xfe
sete cl
not cl
and cl, 3
xor cl, 7
rol al, cl
and byte [0xbcaacb], al
cmp dl, byte [ebp + 0xbcaaa0]
mov ecx, dword [esp]
je 0x88fffe
mov dword [esp + 4], 0
test cl, cl
jne 0x89020e
cmp byte [esp + 0xc], 0
je 0x89020e
cmp ebp, 0x1d
ja 0x890206
mov byte [esp + 0xa], dl
mov edx, fcn.0088d8e0
mov esi, fcn.0088d8e0
xor eax, eax
or edx, 2
xor esi, 2
mov ecx, edx
add ecx, esi
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
movzx ecx, byte [0xbcaaf3]
bt ecx, eax
jb 0x8901f3
mov al, byte [0xbcaaf3]
mov edi, edx
xor ebx, ebx
mov ah, 1
add edi, esi
sete bl
mov ecx, ebx
xor ecx, 5
lea ecx, [ecx + ebx*2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbcaaf3], ah
jne 0x890054
mov edi, edx
xor ecx, ecx
movzx eax, al
add edi, esi
mov edi, dword [esp + 0x34]
sete cl
mov ebx, ecx
xor ebx, 5
lea ecx, [ebx + ecx*2]
mov ebx, dword [esp + 0x10]
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x8900c1
mov ecx, edx
xor eax, eax
add ecx, esi
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
movzx ecx, byte [0xbcaaf3]
bt ecx, eax
jae 0x89009f
jmp 0x8901f3
mov ecx, edx
xor eax, eax
add ecx, esi
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
movzx ecx, byte [0xbcaaf3]
bt ecx, eax
jb 0x8901d7
mov ecx, edx
xor eax, eax
add ecx, esi
sete al
mov ecx, eax
xor ecx, 0x624050f5
lea ecx, [ecx + eax*2 + 0xa10]
mov eax, dword [0xbcaad0]
mov edi, ecx
shr edi, 0x1f
or edi, ecx
xor eax, ecx
and cl, 7
mov dword [0xbcaad0], eax
not eax
imul edi, eax
mov eax, dword [0xbcaad4]
lea ebx, [edi + edi]
xor eax, edi
shr edi, 0x1e
mov dword [0xbcaad4], eax
or ebx, edi
not eax
mov edi, dword [0xbcaad8]
imul eax, ebx
lea ebx, [eax*4]
xor edi, eax
shr eax, 0x1d
mov dword [0xbcaad8], edi
or ebx, eax
not edi
mov eax, dword [0xbcaadc]
imul edi, ebx
lea ebx, [edi*8]
xor eax, edi
shr edi, 0x1c
mov dword [0xbcaadc], eax
or ebx, edi
not eax
mov edi, dword [0xbcaae0]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edi, eax
shr eax, 0x1b
mov dword [0xbcaae0], edi
or eax, ebx
not edi
imul edi, eax
mov eax, dword [str._7vEL]
mov ebx, edi
shl ebx, 5
xor eax, edi
shr edi, 0x1a
mov dword [str._7vEL], eax
or edi, ebx
not eax
imul eax, edi
mov edi, dword [0xbcaae8]
mov ebx, eax
shl ebx, 6
xor edi, eax
shr eax, 0x19
mov dword [0xbcaae8], edi
or eax, ebx
not edi
mov ebx, dword [esp + 0x10]
imul edi, eax
mov ah, 1
xor dword [0xbcaaec], edi
shl ah, cl
mov edi, dword [esp + 0x34]
or byte [0xbcaaf3], ah
xor eax, eax
add edx, esi
sete al
mov ecx, eax
xor ecx, 5
lea ecx, [ecx + eax*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbcaaf3], al
mov dl, byte [esp + 0xa]
mov ecx, dword [esp]
mov esi, dword [esp + 0x14]
cmp dl, byte [ebp + 0xbcaad0]
je 0x89020e
mov dword [esp + 0xc], 0
cmp byte [esp + 0xb], 0
je 0x890236
cmp dl, byte [ebx + 0x1d4]
jne 0x890236
movsx ecx, dl
call fcn.008903c0
mov ecx, dword [esp]
test al, al
jne 0x890236
mov edi, 2
jmp 0x8903ac
mov dl, byte [edi + ebp + 1]
inc ebp
cmp byte [esp + 4], 0
setne al
test dl, dl
jne 0x88fe0c
mov edx, dword [esp]
cmp ebp, 0x24
sete cl
and cl, al
movzx ecx, cl
movzx eax, dl
cmp eax, ecx
je 0x890270
xor eax, eax
test dl, dl
sete al
lea edi, [eax + eax + 0x26]
jmp 0x8903ac
cmp byte [esp + 0xc], 0
je 0x890285
mov edi, 0x28
cmp ebp, 0x1d
je 0x8903ac
cmp byte [ebx + 0x1d4], 1
mov esi, dword [ebx + 0x174]
sbb ebp, 0xffffffff
test esi, esi
je 0x8902dd
cmp ebp, dword [esi + 0x18]
jle 0x8902d2
mov edi, 1
cmp ebp, 0x7fffffe7
ja 0x8903ac
lea eax, [ebp + 0x18]
mov dword [esp + 4], eax
push eax
push dword [esi + 0x10]
call dword [ebx + 0x10]
add esp, 8
test eax, eax
je 0x8903ac
mov ecx, dword [esp + 4]
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ecx
mov eax, dword [esi + 4]
mov dword [ebx + 0x174], eax
jmp 0x890328
push 0x1c
call dword [ebx + 0xc]
add esp, 4
cmp ebp, 0x7fffffe7
mov edi, 1
ja 0x8903ac
test eax, eax
je 0x8903ac
lea ecx, [ebp + 0x18]
mov dword [esp + 4], ecx
push ecx
mov esi, eax
call dword [ebx + 0xc]
add esp, 4
test eax, eax
mov dword [esi + 0x10], eax
jne 0x890321
push esi
call dword [ebx + 0x14]
add esp, 4
jmp 0x8903ac
mov eax, dword [esp + 4]
mov dword [esi + 0x18], eax
mov edi, dword [esp + 0x34]
mov dword [esi + 0x14], ebp
push ebp
push edi
push dword [esi + 0x10]
call fcn.009876a0
add esp, 0xc
mov al, byte [ebx + 0x1d4]
test al, al
je 0x89034d
mov ecx, dword [esi + 0x10]
mov byte [ecx + ebp - 1], al
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov dword [esi], edx
mov dword [esi + 0xc], ebp
mov ecx, dword [edx + 4]
mov dword [esi + 8], ecx
cmp byte [edi], 0
jne 0x89037c
mov ecx, 0x98
add ecx, dword [ebx + 0x160]
cmp ecx, edx
jne 0x89037c
xor ecx, ecx
jmp 0x89037e
mov ecx, esi
mov dword [edx + 4], ecx
xor edi, edi
test ebp, ebp
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov dword [eax], esi
je 0x8903ac
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x8903ac
mov ecx, dword [edx + 4]
mov esi, dword [esp + 0x34]
test ecx, ecx
cmove esi, ecx
push esi
push dword [edx]
push dword [ebx + 4]
call eax
add esp, 0xc
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret