Function at 0x7fcb10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebp, dword [ecx]
xor ebx, ebx
cmp byte [ebp + 0xa5], 0
jne 0x7fd039
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x10]
mov edi, edx
shl ecx, 4
mov eax, dword [eax + ecx]
push dword [esi + 0xf0]
mov dword [esp + 4], eax
push eax
push dword [esp + 0x20]
push edx
push 0x14
push dword [ebp + 0x154]
call dword [ebp + 0x150]
add esp, 0x18
cmp eax, 1
jne 0x7fd028
mov edx, fcn.00777510
movzx ecx, byte [0xbb0d57]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
xor al, 5
add al, 0x94
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7fcc86
mov al, byte [0xbb0d57]
cmp edx, 1
mov ah, 1
seta cl
xor cl, 5
add cl, 0x94
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0d57], ah
jne 0x7fcb90
mov ecx, fcn.00777510
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
xor dl, 5
add dl, 0x94
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7fcbfa
cmp ecx, 1
movzx edx, byte [0xbb0d57]
seta al
xor al, 5
add al, 0x94
and al, 7
movzx eax, al
bt edx, eax
jae 0x7fcbda
jmp 0x7fcc86
cmp ecx, 1
movzx ecx, byte [0xbb0d57]
seta al
xor al, 5
add al, 0x94
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7fcc5f
mov eax, fcn.00777510
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbb0d4c]
seta cl
xor ecx, 0x744b0f15
add ecx, 0x94
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb0d4c], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
xor dword [0xbb0d50], edx
mov dl, 1
shl dl, cl
or byte [0xbb0d57], dl
mov eax, fcn.00777510
imul eax, eax
and eax, 3
cmp eax, 1
mov al, 0xfe
seta cl
xor cl, 5
add cl, 0x94
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb0d57], al
push dword [esp + 0x18]
push edi
push 0xbb0d4c
call fcn.00777a60
add esp, 0xc
cmp dword [esp + 0x1c], 0
mov ebx, eax
jne 0x7fccab
cmp dword [ebp + 0x14], 3
jl 0x7fce1e
mov eax, fcn.007ebf10
mov edi, 3
movzx edx, byte [0xbb0d63]
sub edi, eax
xor eax, eax
mov ecx, edi
xor ecx, fcn.007ebf10
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x7fce0a
mov al, byte [0xbb0d63]
mov ebp, ebx
mov ebx, edi
xor ecx, ecx
mov ah, 1
xor ebx, fcn.007ebf10
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ecx + ebx*2 + 2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0d63], ah
jne 0x7fcce4
mov edi, fcn.007ebf10
mov ecx, 3
xor edx, edx
movzx eax, al
sub ecx, edi
mov edi, ecx
xor edi, fcn.007ebf10
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2 + 2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7fcd66
mov ebx, ebp
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbb0d63]
xor edx, fcn.007ebf10
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 2]
bt edi, eax
jae 0x7fcd3f
jmp 0x7fce0a
xor eax, eax
xor ecx, fcn.007ebf10
movzx edx, byte [0xbb0d63]
mov ebx, ebp
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x7fcddd
mov eax, fcn.007ebf10
mov ecx, 3
mov edi, dword [0xbb0d58]
sub ecx, eax
xor eax, eax
xor ecx, fcn.007ebf10
sete al
mov ecx, eax
not ecx
and ecx, 0x925
lea ecx, [eax + ecx*2 - 0x31a7bee]
mov edx, ecx
xor edi, ecx
shr edx, 0x1f
mov dword [0xbb0d58], edi
not edi
or edx, ecx
and cl, 7
imul edx, edi
xor dword [0xbb0d5c], edx
mov dl, 1
shl dl, cl
or byte [0xbb0d63], dl
mov eax, fcn.007ebf10
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.007ebf10
sete al
mov ecx, eax
xor ecx, 1
lea ecx, [eax + ecx*2 + 2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb0d63], al
push ebx
push dword [esp + 4]
push 0xbb0d58
call fcn.00777a60
add esp, 0xc
mov ebx, eax
mov eax, fcn.008240c0
mov edi, 3
movzx edx, byte [0xbb0d8f]
sub edi, eax
xor eax, eax
mov ecx, edi
xor ecx, fcn.008240c0
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x7fd00b
mov al, byte [0xbb0d8f]
mov ebp, ebx
mov edx, edi
xor ecx, ecx
xor edx, fcn.008240c0
sete cl
mov edx, ecx
xor edx, 1
lea ecx, [ecx + edx*2 + 2]
mov dl, 1
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb0d8f], dl
jne 0x7fce57
mov edx, fcn.008240c0
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov edi, ecx
xor edi, fcn.008240c0
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2 + 2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7fced9
mov ebx, ebp
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbb0d8f]
xor edx, fcn.008240c0
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 2]
bt edi, eax
jae 0x7fceb2
jmp 0x7fd00b
xor eax, eax
xor ecx, fcn.008240c0
movzx edx, byte [0xbb0d8f]
mov ebx, ebp
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x7fcfde
mov eax, fcn.008240c0
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.008240c0
sete al
mov ecx, eax
not ecx
and ecx, 5
lea ecx, [eax + ecx*2 - 0x51b41166]
mov eax, dword [0xbb0d70]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb0d70], eax
not eax
imul edx, eax
mov eax, dword [0xbb0d74]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb0d74], eax
or edi, edx
not eax
mov edx, dword [0xbb0d78]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb0d78], edx
or edi, eax
not edx
mov eax, dword [0xbb0d7c]
imul edx, edi
lea edi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb0d7c], eax
or edi, edx
not eax
mov edx, dword [0xbb0d80]
imul eax, edi
mov edi, eax
shl edi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb0d80], edx
or eax, edi
not edx
mov ebp, dword [0xbb0d84]
imul edx, eax
mov edi, edx
shl edi, 5
xor ebp, edx
shr edx, 0x1a
mov dword [0xbb0d84], ebp
or edx, edi
not ebp
imul ebp, edx
mov dl, 1
xor dword [0xbb0d88], ebp
shl dl, cl
or byte [0xbb0d8f], dl
mov eax, fcn.008240c0
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.008240c0
sete al
mov ecx, eax
xor ecx, 1
lea ecx, [eax + ecx*2 + 2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb0d8f], al
push ebx
push 0xbb0d70
push esi
call fcn.00782570
add esp, 0xc
mov dword [esi + 0xc], 0x17
mov ebx, 1
jmp 0x7fd039
mov ebx, eax
or eax, 2
cmp eax, 2
je 0x7fd039
mov ecx, esi
call fcn.007f4c80
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret