Function at 0x839100
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [ecx + 0xc]
mov esi, ecx
mov ecx, dword [ecx + 0x10]
mov ebp, dword [eax + 0x68]
lea edi, [ecx + ecx*4]
mov eax, 1
cmp byte [ebp + edi*4], 0x3f
jne 0x8397e7
mov ebx, fcn.007b7a10
xor eax, eax
movzx edx, byte [0xbb5e87]
imul ebx, ebx
and ebx, 3
cmp ebx, 1
seta al
mov ecx, eax
xor ecx, 3
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x8392a5
mov al, byte [0xbb5e87]
xor edx, edx
cmp ebx, 1
seta 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 [0xbb5e87], dl
jne 0x839152
mov ecx, fcn.007b7a10
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
mov ebx, edx
xor ebx, 3
lea edx, [ebx + edx*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x8391bf
xor eax, eax
cmp ecx, 1
movzx ebx, byte [0xbb5e87]
seta al
mov edx, eax
xor edx, 3
lea eax, [edx + eax*2]
bt ebx, eax
jae 0x83919e
jmp 0x8392a5
xor eax, eax
cmp ecx, 1
movzx edx, byte [0xbb5e87]
seta al
mov ecx, eax
xor ecx, 3
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x83927d
mov eax, fcn.007b7a10
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
xor eax, 0xbe13d7a3
lea ecx, [eax + ecx*2 + 8]
mov eax, dword [0xbb5e70]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb5e70], eax
not eax
imul edx, eax
mov eax, dword [0xbb5e74]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb5e74], eax
or ebx, edx
not eax
mov edx, dword [0xbb5e78]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb5e78], edx
or ebx, eax
not edx
mov eax, dword [0xbb5e7c]
imul edx, ebx
lea ebx, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb5e7c], eax
or ebx, edx
not eax
mov dl, 1
imul eax, ebx
shl dl, cl
xor dword [0xbb5e80], eax
or byte [0xbb5e87], dl
mov eax, fcn.007b7a10
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
xor eax, 3
lea ecx, [eax + ecx*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb5e87], al
mov ebx, fcn.0078a010
xor eax, eax
movzx edx, byte [0xbb5e97]
not ebx
and ebx, 1
mov ecx, ebx
add ecx, fcn.0078a010
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2]
and al, 3
movzx eax, al
bt edx, eax
jb 0x839413
mov al, byte [0xbb5e97]
mov edx, ebx
xor ecx, ecx
add edx, fcn.0078a010
sete cl
mov edx, ecx
not edx
lea ecx, [ecx + edx*2]
mov dl, 1
and cl, 3
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb5e97], dl
jne 0x8392dd
mov ecx, fcn.0078a010
xor edx, edx
movzx eax, al
not ecx
and ecx, 1
mov ebx, ecx
add ebx, fcn.0078a010
sete dl
mov ebx, edx
not ebx
lea edx, [edx + ebx*2]
and dl, 3
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x839360
mov edx, ecx
xor eax, eax
movzx ebx, byte [0xbb5e97]
add edx, fcn.0078a010
sete al
mov edx, eax
not edx
lea eax, [eax + edx*2]
and al, 3
movzx eax, al
bt ebx, eax
jae 0x839336
jmp 0x839413
xor eax, eax
add ecx, fcn.0078a010
movzx edx, byte [0xbb5e97]
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2]
and al, 3
movzx eax, al
bt edx, eax
jb 0x8393e8
mov ecx, fcn.0078a010
xor eax, eax
not ecx
and ecx, 1
add ecx, fcn.0078a010
sete al
mov ecx, eax
not ecx
and ecx, 0x595
lea ecx, [eax + ecx*2 + 0x184f8248]
mov eax, dword [0xbb5e88]
xor eax, ecx
mov dword [0xbb5e88], eax
not eax
mov edx, dword [0xbb5e8c]
imul eax, ecx
and cl, 7
lea ebx, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb5e8c], edx
or ebx, eax
not edx
mov al, 1
imul edx, ebx
shl al, cl
xor dword [0xbb5e90], edx
or byte [0xbb5e97], al
mov eax, fcn.0078a010
xor ecx, ecx
not eax
and eax, 1
add eax, fcn.0078a010
sete cl
mov eax, ecx
not eax
lea ecx, [ecx + eax*2]
mov al, 0xfe
and cl, 3
xor cl, 7
rol al, cl
and byte [0xbb5e97], al
movzx eax, word [ebp + edi*4 + 2]
mov edx, 0xbb5e50
test al, 4
jne 0x839430
test al, 8
mov eax, 0xbb5e88
mov edx, 0xbb5e70
cmove edx, eax
mov edi, fcn.007b7530
mov ebx, fcn.007b7530
movzx ecx, byte [0xbb5e67]
or edi, 2
xor ebx, 2
mov eax, edi
add eax, ebx
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x83959a
mov al, byte [0xbb5e67]
mov ecx, edi
mov ah, 1
add ecx, ebx
sete cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb5e67], ah
jne 0x839461
mov ecx, fcn.007b7530
mov edi, fcn.007b7530
or ecx, 2
xor edi, 2
mov ebx, ecx
add ebx, edi
sete ah
or ah, 4
xor ah, 7
movzx ebx, ah
movzx eax, al
bt eax, ebx
jae 0x8394c3
mov eax, ecx
movzx ebx, byte [0xbb5e67]
add eax, edi
sete al
or al, 4
movzx eax, al
bt ebx, eax
jae 0x8394a6
jmp 0x83959a
add ecx, edi
movzx ecx, byte [0xbb5e67]
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x839575
mov eax, fcn.007b7530
mov edi, fcn.007b7530
xor ecx, ecx
xor edi, 2
or eax, 2
add eax, edi
mov eax, dword [0xbb5e50]
sete cl
or ecx, 0x2a6a8fa4
xor eax, ecx
mov dword [0xbb5e50], eax
not eax
mov edi, dword [0xbb5e54]
imul eax, ecx
and cl, 5
lea ebx, [eax + eax]
xor edi, eax
shr eax, 0x1e
mov dword [0xbb5e54], edi
or eax, ebx
not edi
imul edi, eax
mov eax, dword [0xbb5e58]
lea ebx, [edi*4]
xor eax, edi
shr edi, 0x1d
mov dword [0xbb5e58], eax
or edi, ebx
not eax
mov ebp, dword [0xbb5e5c]
imul eax, edi
lea ebx, [eax*8]
xor ebp, eax
shr eax, 0x1c
mov dword [0xbb5e5c], ebp
or eax, ebx
not ebp
imul ebp, eax
mov ah, 1
xor dword [0xbb5e60], ebp
shl ah, cl
or byte [0xbb5e67], ah
mov eax, fcn.007b7530
mov ecx, fcn.007b7530
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb5e67], al
mov edi, 0x7f4620
mov ebx, 0x7f4620
movzx ecx, byte [0xbb5ecb]
or edi, 2
xor ebx, 2
mov eax, edi
add eax, ebx
sete al
or al, 4
add al, 0x84
and al, 7
movzx eax, al
bt ecx, eax
jb 0x8397ba
mov al, byte [0xbb5ecb]
mov ecx, edi
mov ah, 1
add ecx, ebx
sete cl
or cl, 4
add cl, 0x84
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb5ecb], ah
jne 0x8395cf
mov ecx, 0x7f4620
mov edi, 0x7f4620
or ecx, 2
xor edi, 2
mov ebx, ecx
add ebx, edi
sete ah
or ah, 4
add ah, 0x84
and ah, 7
xor ah, 7
movzx ebx, ah
movzx eax, al
bt eax, ebx
jae 0x839641
mov eax, ecx
movzx ebx, byte [0xbb5ecb]
add eax, edi
sete al
or al, 4
add al, 0x84
and al, 7
movzx eax, al
bt ebx, eax
jae 0x839620
jmp 0x8397ba
add ecx, edi
movzx ecx, byte [0xbb5ecb]
sete al
or al, 4
add al, 0x84
and al, 7
movzx eax, al
bt ecx, eax
jb 0x83978f
mov eax, 0x7f4620
mov edi, 0x7f4620
xor ecx, ecx
xor edi, 2
or eax, 2
add eax, edi
mov eax, dword [str.._j]
sete cl
or ecx, 0xf70449bc
add ecx, 0x84
mov ebx, ecx
xor eax, ecx
shr ebx, 0x1f
mov dword [str.._j], eax
not eax
or ebx, ecx
and cl, 7
imul ebx, eax
mov eax, dword [0xbb5ea4]
lea ebp, [ebx + ebx]
xor eax, ebx
shr ebx, 0x1e
mov dword [0xbb5ea4], eax
or ebp, ebx
not eax
mov edi, dword [0xbb5ea8]
imul eax, ebp
lea ebx, [eax*4]
xor edi, eax
shr eax, 0x1d
mov dword [0xbb5ea8], edi
or ebx, eax
not edi
mov eax, dword [0xbb5eac]
imul edi, ebx
lea ebx, [edi*8]
xor eax, edi
shr edi, 0x1c
mov dword [0xbb5eac], eax
or ebx, edi
not eax
mov edi, dword [0xbb5eb0]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edi, eax
shr eax, 0x1b
mov dword [0xbb5eb0], edi
or eax, ebx
not edi
imul edi, eax
mov eax, dword [0xbb5eb4]
mov ebx, edi
shl ebx, 5
xor eax, edi
shr edi, 0x1a
mov dword [0xbb5eb4], eax
or edi, ebx
not eax
imul eax, edi
mov edi, dword [0xbb5eb8]
mov ebx, eax
shl ebx, 6
xor edi, eax
shr eax, 0x19
mov dword [0xbb5eb8], edi
or eax, ebx
not edi
imul edi, eax
mov eax, dword [0xbb5ebc]
mov ebx, edi
shl ebx, 7
xor eax, edi
shr edi, 0x18
mov dword [0xbb5ebc], eax
or edi, ebx
not eax
mov ebp, dword [0xbb5ec0]
imul eax, edi
mov ebx, eax
shl ebx, 8
xor ebp, eax
shr eax, 0x17
mov dword [0xbb5ec0], ebp
or eax, ebx
not ebp
imul ebp, eax
mov ah, 1
xor dword [0xbb5ec4], ebp
shl ah, cl
or byte [0xbb5ecb], ah
mov eax, 0x7f4620
mov ecx, 0x7f4620
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
or cl, 4
add cl, 0x84
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb5ecb], al
mov eax, dword [esi + 4]
push edx
push dword [eax + 0x20]
push str.._j
call fcn.00777a60
add esp, 0xc
mov edi, eax
push 0xffffffffffffffff
push eax
push esi
call fcn.0077de30
add esp, 0xc
push edi
call fcn.00775660
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret