Function at 0x96e380
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, 0x96db60
mov edx, 3
mov esi, ecx
movzx edi, byte [0xbca4b7]
sub edx, eax
xor eax, eax
mov ecx, edx
xor ecx, 0x96db60
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
bt edi, eax
jb 0x96e4ec
mov al, byte [0xbca4b7]
mov edi, edx
xor ecx, ecx
mov ah, 1
xor edi, 0x96db60
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ebx + ecx*2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbca4b7], ah
jne 0x96e3bf
mov edx, 0x96db60
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov edi, ecx
xor edi, 0x96db60
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [ebx + edx*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x96e43c
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbca4b7]
xor edx, 0x96db60
sete al
mov edx, eax
xor edx, 1
lea eax, [edx + eax*2]
bt edi, eax
jae 0x96e416
jmp 0x96e4ec
xor eax, eax
xor ecx, 0x96db60
movzx edx, byte [0xbca4b7]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x96e4c0
mov eax, 0x96db60
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, 0x96db60
sete al
mov ecx, eax
xor ecx, 0x31465611
lea ecx, [ecx + eax*2 + 0x388]
mov eax, dword [0xbca4a8]
xor eax, ecx
mov dword [0xbca4a8], eax
not eax
mov edx, dword [0xbca4ac]
imul eax, ecx
and cl, 7
lea edi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbca4ac], edx
or eax, edi
not edx
imul edx, eax
xor dword [0xbca4b0], edx
mov dl, 1
shl dl, cl
or byte [0xbca4b7], dl
mov eax, 0x96db60
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, 0x96db60
sete al
mov ecx, eax
xor ecx, 1
lea ecx, [ecx + eax*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbca4b7], al
mov edx, fcn.0097f460
mov edi, fcn.0097f460
movzx ecx, byte [0xbca4ef]
or edx, 2
xor edi, 2
mov eax, edx
add eax, edi
sete al
or al, 4
add al, 0x84
and al, 7
movzx eax, al
bt ecx, eax
jb 0x96e63a
mov al, byte [0xbca4ef]
mov ecx, edx
mov ah, 1
add ecx, edi
sete cl
or cl, 4
add cl, 0x84
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbca4ef], ah
jne 0x96e521
mov ecx, fcn.0097f460
mov edx, fcn.0097f460
or ecx, 2
xor edx, 2
mov edi, ecx
add edi, edx
sete ah
or ah, 4
add ah, 0x84
and ah, 7
xor ah, 7
movzx edi, ah
movzx eax, al
bt eax, edi
jae 0x96e593
mov eax, ecx
movzx edi, byte [0xbca4ef]
add eax, edx
sete al
or al, 4
add al, 0x84
and al, 7
movzx eax, al
bt edi, eax
jae 0x96e572
jmp 0x96e63a
add ecx, edx
movzx ecx, byte [0xbca4ef]
sete al
or al, 4
add al, 0x84
and al, 7
movzx eax, al
bt ecx, eax
jb 0x96e60f
mov eax, fcn.0097f460
mov edx, fcn.0097f460
xor ecx, ecx
xor edx, 2
or eax, 2
add eax, edx
mov eax, dword [0xbca4e0]
sete cl
or ecx, 0x9ba393c
add ecx, 0x84
xor eax, ecx
mov dword [0xbca4e0], eax
not eax
mov edx, dword [0xbca4e4]
imul eax, ecx
and cl, 7
lea edi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbca4e4], edx
or edi, eax
not edx
mov al, 1
imul edx, edi
shl al, cl
xor dword [0xbca4e8], edx
or byte [0xbca4ef], al
mov eax, fcn.0097f460
mov ecx, fcn.0097f460
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 [0xbca4ef], al
mov edx, 0x96f630
xor eax, eax
movzx edi, byte [0xbca52f]
and edx, 1
inc edx
mov ecx, edx
xor ecx, 0x96f630
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2 + 4]
and al, 7
movzx eax, al
bt edi, eax
jb 0x96e790
mov al, byte [0xbca52f]
mov edi, edx
xor ecx, ecx
mov ah, 1
xor edi, 0x96f630
sete cl
mov ebx, ecx
xor ebx, 5
lea ecx, [ebx + ecx*2 + 4]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbca52f], ah
jne 0x96e673
mov ecx, 0x96f630
xor edx, edx
movzx eax, al
and ecx, 1
inc ecx
mov edi, ecx
xor edi, 0x96f630
sete dl
mov ebx, edx
xor ebx, 5
lea edx, [ebx + edx*2 + 4]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x96e6fb
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbca52f]
xor edx, 0x96f630
sete al
mov edx, eax
xor edx, 5
lea eax, [edx + eax*2 + 4]
and al, 7
movzx eax, al
bt edi, eax
jae 0x96e6cf
jmp 0x96e790
xor eax, eax
xor ecx, 0x96f630
movzx edx, byte [0xbca52f]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x96e764
mov eax, 0x96f630
xor ecx, ecx
mov edi, dword [0xbca524]
mov dl, 1
and eax, 1
inc eax
xor eax, 0x96f630
sete cl
mov eax, ecx
xor eax, 0x3b620565
lea ecx, [eax + ecx*2 + 0x34]
xor edi, ecx
mov dword [0xbca524], edi
not edi
imul edi, ecx
and cl, 7
shl dl, cl
xor dword [0xbca528], edi
or byte [0xbca52f], dl
mov eax, 0x96f630
xor ecx, ecx
and eax, 1
inc eax
xor eax, 0x96f630
sete cl
mov eax, ecx
xor eax, 5
lea ecx, [eax + ecx*2 + 4]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbca52f], al
xor edi, edi
test esi, esi
mov eax, 0
je 0x96e7c6
mov eax, dword [esi + 4]
cmp eax, 9
jne 0x96e85e
push 9
push dword [esi + 8]
push 0xbca4a8
call fcn.0097f460
add esp, 0xc
test eax, eax
jne 0x96e85b
mov eax, 0xb63000
mov ecx, fcn.0096d6c0
mov dword [esp + 8], eax
mov eax, fcn.0096d6c0
and ecx, 1
xor ecx, eax
mov dword [esp + 0x10], ecx
xor edx, edx
cmp dword [esp + 0x10], 0xffffffff
mov esi, dword [edi*4 + 0xb63d50]
mov ebp, dword [edi*4 + 0xb63d70]
mov eax, 1
mov dword [esp + 0x18], edi
mov ebx, 1
sete dl
xor edx, 0xd0077959
add edx, 0xc
xor edx, dword [edi*4 + 0xb63d90]
mov ecx, edx
and cl, 7
shl eax, cl
movzx edi, cl
xor cl, 7
shl ebx, cl
movzx ecx, byte [esi + ebp - 1]
bt ecx, edi
jb 0x96e8e2
mov dword [esp], eax
mov al, byte [esi + ebp - 1]
mov ecx, eax
or cl, bl
lock cmpxchg byte [esi + ebp - 1], cl
jne 0x96e837
mov ecx, dword [esp]
movzx eax, al
test ebx, eax
je 0x96e887
movzx eax, byte [esi + ebp - 1]
test ecx, eax
je 0x96e84d
jmp 0x96e8e2
mov eax, dword [esi + 4]
cmp eax, 7
jne 0x96e8ff
push 7
push dword [esi + 8]
push 0xbca4e0
call fcn.0097f460
add esp, 0xc
test eax, eax
jne 0x96e8fc
mov eax, 0xb63014
jmp 0x96e7c6
mov dword [esp + 0xc], ebx
movzx eax, byte [esi + ebp - 1]
test ecx, eax
jne 0x96e8d8
lea ecx, [ebp - 4]
shr ecx, 2
je 0x96e8d1
xor eax, eax
mov ebx, esi
mov dword [esp + 0x14], ecx
mov edi, dword [ebx]
mov ecx, eax
mov dword [esp + 4], edx
inc eax
shl dword [esp + 4], cl
and cl, 0x1f
xor cl, 0x1f
xor edi, edx
shr edx, cl
mov ecx, dword [esp + 0x14]
or edx, dword [esp + 4]
mov dword [ebx], edi
not edi
add ebx, 4
imul edx, edi
cmp eax, ecx
jne 0x96e8a4
mov eax, dword [esp]
or byte [esi + ebp - 1], al
mov eax, dword [esp + 0xc]
not al
and byte [esi + ebp - 1], al
mov edi, dword [esp + 0x18]
inc edi
cmp edi, 6
jne 0x96e7dd
mov eax, dword [esp + 8]
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 4]
cmp eax, 5
jne 0x96e924
push 5
push dword [esi + 8]
push 0xbca524
call fcn.0097f460
add esp, 0xc
test eax, eax
jne 0x96e924
mov eax, 0xb63028
jmp 0x96e7c6
xor eax, eax
jmp 0x96e7c6