Function at 0x7cbe10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [esp + 0xc], edx
mov ebp, ecx
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [0xbd33e0]
mov edi, ecx
xor eax, esp
test ebx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
je 0x7cc379
mov esi, dword [esp + 0x38]
cmp dword [ebp + 0x10], 0
jne 0x7cbe52
mov edi, esi
jmp 0x7cc379
mov ecx, ebp
mov edx, ebx
call fcn.007ced20
test eax, eax
je 0x7cbe66
mov edi, esi
jmp 0x7cc379
mov ecx, dword [ebp + 4]
lea edi, [esi - 1]
mov edx, ebx
push 0
lea eax, [esp + 0x1c]
push eax
call fcn.00787f60
add esp, 8
test eax, eax
je 0x7cc07e
mov edx, fcn.007ad450
mov dword [esp + 8], edi
mov edi, fcn.007ad450
xor eax, eax
mov dword [esp + 4], ebx
or edx, 2
xor edi, 2
movzx esi, byte [0xbb628b]
mov ecx, edx
add ecx, edi
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt esi, eax
jb 0x7cc063
mov al, byte [0xbb628b]
mov esi, edx
xor ecx, ecx
mov ah, 1
add esi, edi
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ecx + ebx*2 + 6]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb628b], ah
jne 0x7cbec9
mov ecx, fcn.007ad450
mov edx, fcn.007ad450
xor ebx, ebx
movzx eax, al
or ecx, 2
xor edx, 2
mov esi, ecx
add esi, edx
sete bl
mov esi, ebx
xor ebx, 1
lea ebx, [esi + ebx*2 + 6]
and bl, 7
xor bl, 7
movzx esi, bl
bt eax, esi
jae 0x7cbf4c
mov esi, ecx
xor eax, eax
add esi, edx
movzx esi, byte [0xbb628b]
sete al
mov ebx, eax
xor ebx, 1
lea eax, [eax + ebx*2 + 6]
and al, 7
movzx eax, al
bt esi, eax
jae 0x7cbf24
jmp 0x7cc063
xor eax, eax
add ecx, edx
movzx edx, byte [0xbb628b]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7cc033
mov eax, fcn.007ad450
mov ecx, fcn.007ad450
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
sete dl
mov eax, edx
xor eax, 1
lea ecx, [edx + eax*2 - 0x58fdb71a]
mov eax, dword [0xbb6270]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb6270], eax
not eax
imul edx, eax
mov eax, dword [0xbb6274]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb6274], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb6278]
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb6278], edx
or eax, esi
not edx
mov edi, dword [0xbb627c]
imul edx, eax
lea esi, [edx*8]
xor edi, edx
shr edx, 0x1c
mov dword [0xbb627c], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb6280]
mov esi, edi
shl esi, 4
xor edx, edi
shr edi, 0x1b
mov dword [0xbb6280], edx
or edi, esi
not edx
imul edx, edi
xor dword [0xbb6284], edx
mov dl, 1
shl dl, cl
or byte [0xbb628b], dl
mov eax, fcn.007ad450
mov ecx, fcn.007ad450
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
sete dl
mov eax, edx
xor eax, 1
lea ecx, [edx + eax*2 + 6]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb628b], al
push dword [esp + 4]
push 0xbb6270
push ebp
call fcn.007cc8c0
add esp, 0xc
mov edi, dword [esp + 8]
jmp 0x7cc379
mov ecx, dword [esp + 0x18]
call fcn.007881a0
cmp dword [esp + 0xc], 0
mov ecx, eax
mov dword [esp], eax
je 0x7cc336
lea ecx, [ecx + 4]
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
call fcn.00559e00
mov edi, dword [ebp]
mov dword [esp + 0x10], eax
cmp byte [edi + 0x11], 0
je 0x7cc0cd
mov edx, dword [esp + 4]
mov ecx, ebp
push 0
push 2
call fcn.007cca90
mov eax, dword [esp + 0x18]
add esp, 8
mov edi, dword [ebp]
mov ecx, dword [edi + 0x28]
shr ecx, 2
add ecx, 0xfffffffe
cmp eax, ecx
ja 0x7cc126
mov ecx, dword [esp]
xor esi, esi
test eax, eax
jle 0x7cc32e
lea ecx, [ecx + esi*4 + 8]
call fcn.00559e00
cmp byte [edi + 0x11], 0
mov ebx, eax
je 0x7cc108
mov ecx, ebp
mov edx, ebx
push 0
push 2
call fcn.007cca90
add esp, 8
mov ecx, ebp
mov edx, ebx
call fcn.007ced20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
inc esi
cmp esi, eax
je 0x7cc32e
mov edi, dword [ebp]
jmp 0x7cc0e7
mov edx, fcn.007fc3c0
xor eax, eax
movzx edi, byte [0xbb62bb]
imul edx, edx
and edx, 3
cmp edx, 3
sete al
mov ecx, eax
xor ecx, 3
lea eax, [ecx + eax*2]
bt edi, eax
jb 0x7cc312
mov al, byte [0xbb62bb]
xor ebx, ebx
cmp edx, 3
mov ah, 1
sete bl
mov ecx, ebx
xor ecx, 3
lea ecx, [ecx + ebx*2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb62bb], ah
jne 0x7cc156
xor ecx, ecx
cmp edx, 3
movzx eax, al
sete cl
mov ebx, ecx
xor ebx, 3
lea ecx, [ebx + ecx*2]
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x7cc1b8
xor eax, eax
cmp edx, 3
movzx edi, byte [0xbb62bb]
sete al
mov ecx, eax
xor ecx, 3
lea eax, [ecx + eax*2]
bt edi, eax
jae 0x7cc197
jmp 0x7cc312
xor eax, eax
cmp edx, 3
movzx edi, byte [0xbb62bb]
sete al
mov ecx, eax
xor ecx, 3
lea eax, [ecx + eax*2]
bt edi, eax
jb 0x7cc2f5
xor eax, eax
cmp edx, 3
sete al
mov ecx, eax
xor ecx, 0x17bb36a3
lea ecx, [ecx + eax*2 + 0x1000]
mov eax, dword [0xbb6290]
xor eax, ecx
mov dword [0xbb6290], eax
not eax
mov edi, dword [0xbb6294]
imul eax, ecx
and cl, 7
lea ebx, [eax + eax]
xor edi, eax
shr eax, 0x1e
mov dword [0xbb6294], edi
or ebx, eax
not edi
mov eax, dword [0xbb6298]
imul edi, ebx
lea ebx, [edi*4]
xor eax, edi
shr edi, 0x1d
mov dword [0xbb6298], eax
or ebx, edi
not eax
mov edi, dword [0xbb629c]
imul eax, ebx
lea ebx, [eax*8]
xor edi, eax
shr eax, 0x1c
mov dword [0xbb629c], edi
or ebx, eax
not edi
mov eax, dword [0xbb62a0]
imul edi, ebx
mov ebx, edi
shl ebx, 4
xor eax, edi
shr edi, 0x1b
mov dword [0xbb62a0], eax
or edi, ebx
not eax
imul eax, edi
mov edi, dword [str.Nj_b1]
mov ebx, eax
shl ebx, 5
xor edi, eax
shr eax, 0x1a
mov dword [str.Nj_b1], edi
or eax, ebx
not edi
imul edi, eax
mov eax, dword [0xbb62a8]
mov ebx, edi
shl ebx, 6
xor eax, edi
shr edi, 0x19
mov dword [0xbb62a8], eax
or edi, ebx
not eax
imul eax, edi
mov edi, dword [0xbb62ac]
mov ebx, eax
shl ebx, 7
xor edi, eax
shr eax, 0x18
mov dword [0xbb62ac], edi
or eax, ebx
not edi
imul edi, eax
mov eax, dword [0xbb62b0]
mov ebx, edi
shl ebx, 8
xor eax, edi
shr edi, 0x17
mov dword [0xbb62b0], eax
or edi, ebx
not eax
imul eax, edi
xor dword [0xbb62b4], eax
mov ah, 1
shl ah, cl
or byte [0xbb62bb], ah
xor eax, eax
cmp edx, 3
sete al
mov ecx, eax
xor ecx, 3
lea ecx, [ecx + eax*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb62bb], al
push dword [esp + 4]
push 0xbb6290
push ebp
call fcn.007cc8c0
add esp, 0xc
mov ecx, dword [esp]
add esi, 0xfffffffe
mov edi, esi
jmp 0x7cc35f
mov edi, dword [esp + 8]
sub edi, eax
jmp 0x7cc35f
test edi, edi
je 0x7cc35f
mov eax, dword [ebp]
mov al, byte [eax + 0x11]
test al, al
je 0x7cc35f
mov ecx, dword [esp]
call fcn.00559e00
mov ecx, ebp
mov edx, eax
push ebx
push 4
call fcn.007cca90
mov ecx, dword [esp + 8]
add esp, 8
call fcn.00559e00
mov ecx, dword [esp + 0x18]
mov ebx, eax
call fcn.007881b0
test ebx, ebx
mov esi, edi
jne 0x7cbe45
test edi, edi
je 0x7cc8a0
mov eax, dword [esp + 0x14]
cmp eax, dword [ebp + 0x14]
jne 0x7cc8a0
mov edx, fcn.007997c0
xor eax, eax
movzx esi, byte [0xbb62c7]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt esi, eax
jb 0x7cc4cf
mov al, byte [0xbb62c7]
xor ecx, ecx
cmp edx, 2
mov ah, 1
sete cl
mov ebx, ecx
not ebx
lea ecx, [ebx + ecx*2]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb62c7], ah
jne 0x7cc3c2
mov ecx, fcn.007997c0
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete dl
mov ebx, edx
not ebx
lea edx, [ebx + edx*2]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7cc437
xor eax, eax
cmp ecx, 2
movzx esi, byte [0xbb62c7]
sete al
mov edx, eax
not edx
lea eax, [edx + eax*2]
and al, 7
movzx eax, al
bt esi, eax
jae 0x7cc412
jmp 0x7cc4cf
xor eax, eax
cmp ecx, 2
movzx edx, byte [0xbb62c7]
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7cc4a5
mov eax, fcn.007997c0
xor ecx, ecx
mov esi, dword [0xbb62bc]
imul eax, eax
and eax, 3
cmp eax, 2
sete cl
mov eax, ecx
xor eax, 0xd4ac866f
lea ecx, [eax + ecx*2 + 0x1120]
mov edx, ecx
xor esi, ecx
shr edx, 0x1f
mov dword [0xbb62bc], esi
not esi
or edx, ecx
and cl, 7
imul edx, esi
xor dword [0xbb62c0], edx
mov dl, 1
shl dl, cl
or byte [0xbb62c7], dl
mov eax, fcn.007997c0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
sete cl
mov eax, ecx
not eax
lea ecx, [eax + ecx*2]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb62c7], al
mov edx, fcn.00823bb0
xor eax, eax
movzx esi, byte [0xbb62eb]
imul edx, edx
and edx, 3
cmp edx, 3
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt esi, eax
jb 0x7cc681
mov al, byte [0xbb62eb]
xor ecx, ecx
cmp edx, 3
mov ah, 1
sete cl
mov ebx, ecx
not ebx
lea ecx, [ebx + ecx*2]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb62eb], ah
jne 0x7cc503
mov ecx, fcn.00823bb0
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete dl
mov ebx, edx
not ebx
lea edx, [ebx + edx*2]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7cc578
xor eax, eax
cmp ecx, 3
movzx esi, byte [0xbb62eb]
sete al
mov edx, eax
not edx
lea eax, [edx + eax*2]
and al, 7
movzx eax, al
bt esi, eax
jae 0x7cc553
jmp 0x7cc681
xor eax, eax
cmp ecx, 3
movzx edx, byte [0xbb62eb]
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7cc657
mov eax, fcn.00823bb0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 3
sete cl
mov eax, ecx
xor eax, 0xab2ffc4f
lea ecx, [eax + ecx*2 + 0x20]
mov eax, dword [0xbb62d0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb62d0], eax
not eax
imul edx, eax
mov eax, dword [0xbb62d4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb62d4], eax
or esi, edx
not eax
mov edx, dword [0xbb62d8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb62d8], edx
or esi, eax
not edx
mov eax, dword [0xbb62dc]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb62dc], eax
or esi, edx
not eax
mov edx, dword [0xbb62e0]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb62e0], edx
or eax, esi
not edx
imul edx, eax
xor dword [0xbb62e4], edx
mov dl, 1
shl dl, cl
or byte [0xbb62eb], dl
mov eax, fcn.00823bb0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 3
sete cl
mov eax, ecx
not eax
lea ecx, [eax + ecx*2]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb62eb], al
mov eax, fcn.00826470
mov edx, 3
movzx esi, byte [0xbb630f]
sub edx, eax
xor eax, eax
mov ecx, edx
xor ecx, fcn.00826470
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt esi, eax
jb 0x7cc875
mov al, byte [0xbb630f]
mov esi, edx
xor ecx, ecx
mov ah, 1
xor esi, fcn.00826470
sete cl
mov ebx, ecx
not ebx
lea ecx, [ebx + ecx*2]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb630f], ah
jne 0x7cc6bb
mov edx, fcn.00826470
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov esi, ecx
xor esi, fcn.00826470
sete dl
mov ebx, edx
not ebx
lea edx, [ebx + edx*2]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7cc740
mov edx, ecx
xor eax, eax
movzx esi, byte [0xbb630f]
xor edx, fcn.00826470
sete al
mov edx, eax
not edx
lea eax, [edx + eax*2]
and al, 7
movzx eax, al
bt esi, eax
jae 0x7cc716
jmp 0x7cc875
xor eax, eax
xor ecx, fcn.00826470
movzx edx, byte [0xbb630f]
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7cc847
mov eax, fcn.00826470
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.00826470
sete al
mov ecx, eax
xor ecx, 0xe634b1af
lea ecx, [ecx + eax*2 + 0x1020]
mov eax, dword [0xbb62f0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb62f0], eax
not eax
imul edx, eax
mov eax, dword [0xbb62f4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb62f4], eax
or esi, edx
not eax
mov edx, dword [0xbb62f8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb62f8], edx
or esi, eax
not edx
mov eax, dword [0xbb62fc]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb62fc], eax
or esi, edx
not eax
mov edx, dword [0xbb6300]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb6300], edx
or eax, esi
not edx
mov ebx, dword [0xbb6304]
imul edx, eax
mov esi, edx
shl esi, 5
xor ebx, edx
shr edx, 0x1a
mov dword [0xbb6304], ebx
or edx, esi
not ebx
imul ebx, edx
mov dl, 1
xor dword [0xbb6308], ebx
shl dl, cl
or byte [0xbb630f], dl
mov eax, fcn.00826470
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.00826470
sete al
mov ecx, eax
not ecx
lea ecx, [ecx + eax*2]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb630f], al
mov esi, dword [esp + 0x38]
mov ecx, 0xbb62d0
mov edx, 0xbb62bc
mov eax, esi
sub eax, edi
cmp dword [esp + 0xc], 0
cmove edx, ecx
push esi
push eax
push edx
push 0xbb62f0
push ebp
call fcn.007cc8c0
add esp, 0x14
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00989fe9
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret