Function at 0x7ead40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov edi, dword [ecx]
mov esi, edx
cmp byte [edi + 0x51], 0
jne 0x7eba31
mov ebp, dword [esp + 0x30]
mov ebx, ecx
call fcn.007d1540
test eax, eax
jne 0x7eba31
mov edx, dword [esi + 0x10]
mov ecx, edi
push dword [esi + 0xc]
call fcn.007cab10
add esp, 4
test eax, eax
jne 0x7eaf61
test ebp, ebp
jne 0x7eaf4e
mov edx, fcn.0081c7c0
xor eax, eax
movzx ebp, byte [0xbba8d7]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2 + 4]
and al, 7
movzx eax, al
bt ebp, eax
jb 0x7eaf34
mov al, byte [0xbba8d7]
mov ebp, ebx
xor ebx, ebx
cmp edx, 2
mov ah, 1
sete bl
mov ecx, ebx
xor ecx, 5
lea ecx, [ecx + ebx*2 + 4]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba8d7], ah
jne 0x7eadc0
mov ecx, fcn.0081c7c0
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
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 0x7eae3d
mov ebx, ebp
xor eax, eax
cmp ecx, 2
movzx ebp, byte [0xbba8d7]
sete al
mov edx, eax
xor edx, 5
lea eax, [edx + eax*2 + 4]
and al, 7
movzx eax, al
bt ebp, eax
jae 0x7eae16
jmp 0x7eaf34
xor eax, eax
cmp ecx, 2
movzx edx, byte [0xbba8d7]
mov ebx, ebp
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7eaf08
mov eax, fcn.0081c7c0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
sete cl
mov eax, ecx
xor eax, 0xa78e6eb5
lea ecx, [eax + ecx*2 + 0x214]
mov eax, dword [0xbba8c0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbba8c0], eax
not eax
imul edx, eax
mov eax, dword [0xbba8c4]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbba8c4], eax
or edx, ebx
not eax
imul eax, edx
mov edx, dword [0xbba8c8]
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbba8c8], edx
or eax, ebx
not edx
imul edx, eax
mov eax, dword [0xbba8cc]
lea ebx, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbba8cc], eax
or edx, ebx
not eax
mov ebx, ebp
imul eax, edx
mov dl, 1
xor dword [0xbba8d0], eax
shl dl, cl
or byte [0xbba8d7], dl
mov eax, fcn.0081c7c0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
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 [0xbba8d7], al
push 0
push esi
push 0xbba8c0
push ebx
call fcn.0078de60
add esp, 0x10
mov byte [ebx + 0x11], 1
jmp 0x7eba31
mov edx, dword [esi + 0xc]
mov ecx, ebx
call fcn.00810e30
mov byte [ebx + 0x11], 1
jmp 0x7eba31
test byte [eax + 0x38], 3
je 0x7eb0cf
mov edx, fcn.00827d10
xor eax, eax
movzx ebp, byte [0xbba92f]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt ebp, eax
jb 0x7eb0ba
mov al, byte [0xbba92f]
mov dword [esp], ebx
xor ecx, ecx
cmp edx, 2
mov ah, 1
sete cl
mov ebx, ecx
xor ebx, 5
lea ecx, [ebx + ecx*2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba92f], ah
jne 0x7eaf9e
mov ecx, fcn.00827d10
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete dl
mov ebx, edx
xor ebx, 5
lea edx, [ebx + edx*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7eb00e
mov ebx, dword [esp]
xor eax, eax
cmp ecx, 2
movzx ebp, byte [0xbba92f]
sete al
mov edx, eax
xor edx, 5
lea eax, [edx + eax*2]
bt ebp, eax
jae 0x7eafed
jmp 0x7eb0ba
xor eax, eax
cmp ecx, 2
movzx ebx, byte [0xbba92f]
sete al
mov ecx, eax
xor ecx, 0xeb0359ed
lea edx, [ecx + eax*2 + 0x20]
mov eax, edx
and al, 7
movzx eax, al
bt ebx, eax
mov ebx, dword [esp]
jb 0x7eb092
mov ebp, 0xbba8e0
xor eax, eax
mov dword [esp + 8], esi
mov ebx, dword [ebp]
mov ecx, eax
mov esi, edx
inc eax
shl esi, cl
xor cl, 0x1f
xor ebx, edx
shr edx, cl
mov dword [ebp], ebx
or edx, esi
not ebx
add ebp, 4
imul edx, ebx
cmp eax, 0x13
jne 0x7eb043
mov eax, fcn.00827d10
xor ecx, ecx
mov dl, 1
imul eax, eax
and eax, 3
cmp eax, 2
sete cl
mov eax, ecx
xor eax, 5
lea ecx, [eax + ecx*2]
shl dl, cl
or byte [0xbba92f], dl
mov esi, dword [esp + 8]
mov ebx, dword [esp]
mov eax, fcn.00827d10
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
sete cl
mov eax, ecx
xor eax, 5
lea ecx, [eax + ecx*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbba92f], al
push 0
push 0xbba8e0
push ebx
call fcn.0078de60
add esp, 0xc
jmp 0x7eba31
mov edx, fcn.007fa730
mov dword [esp + 4], eax
xor eax, eax
imul edx, edx
movzx ebp, byte [0xbba947]
and edx, 3
cmp edx, 3
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
or al, 4
movzx eax, al
bt ebp, eax
jb 0x7eb27a
mov al, byte [0xbba947]
mov ebp, ebx
xor ecx, ecx
cmp edx, 3
mov ah, 1
sete cl
mov ebx, ecx
xor ebx, 1
lea ebx, [ecx + ebx*2]
mov cl, 7
or bl, 4
sub cl, bl
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba947], ah
jne 0x7eb10a
mov ecx, fcn.007fa730
xor edx, edx
mov ah, 7
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2]
or dl, 4
sub ah, dl
movzx edx, ah
movzx eax, al
bt eax, edx
jae 0x7eb186
mov ebx, ebp
xor eax, eax
cmp ecx, 3
movzx ebp, byte [0xbba947]
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2]
or al, 4
movzx eax, al
bt ebp, eax
jae 0x7eb160
jmp 0x7eb27a
xor eax, eax
cmp ecx, 3
movzx edx, byte [0xbba947]
mov ebx, ebp
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x7eb24f
mov ecx, fcn.007fa730
xor eax, eax
mov ebx, esi
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete al
mov ecx, eax
not ecx
and ecx, 0x11
lea ecx, [eax + ecx*2 + 0x6ce01f0c]
mov eax, dword [0xbba930]
xor eax, ecx
mov dword [0xbba930], eax
not eax
mov edx, dword [0xbba934]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbba934], edx
or esi, eax
not edx
mov eax, dword [0xbba938]
imul edx, esi
lea esi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbba938], eax
or esi, edx
not eax
mov edx, dword [0xbba93c]
imul eax, esi
lea esi, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbba93c], edx
or esi, eax
not edx
mov al, 1
imul edx, esi
shl al, cl
mov esi, ebx
mov ebx, ebp
xor dword [0xbba940], edx
or byte [0xbba947], al
mov eax, fcn.007fa730
xor ecx, ecx
mov dl, 0xfe
imul eax, eax
and eax, 3
cmp eax, 3
sete cl
mov eax, ecx
xor eax, 1
lea eax, [ecx + eax*2]
mov cl, 7
or al, 4
sub cl, al
rol dl, cl
and byte [0xbba947], dl
mov edx, fcn.007c35b0
mov dword [esp + 8], esi
imul edx, edx
movzx ecx, byte [0xbba963]
and edx, 3
cmp edx, 1
seta al
not al
add al, 0x80
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7eb3d4
mov al, byte [0xbba963]
cmp edx, 1
mov ah, 1
seta cl
not cl
add cl, 0x80
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba963], ah
jne 0x7eb2ad
mov ecx, fcn.007c35b0
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
not dl
add dl, 0x80
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7eb315
cmp ecx, 1
movzx edx, byte [0xbba963]
seta al
not al
add al, 0x80
and al, 7
movzx eax, al
bt edx, eax
jae 0x7eb2f5
jmp 0x7eb3d4
cmp ecx, 1
movzx ecx, byte [0xbba963]
seta al
not al
add al, 0x80
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7eb3ae
mov eax, fcn.007c35b0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbba950]
seta cl
xor ecx, 0xf5b60037
or ecx, 0xd80
xor eax, ecx
and cl, 7
mov dword [0xbba950], eax
not eax
mov edx, dword [0xbba954]
imul eax, eax, 0xf5b60db7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbba954], edx
or esi, eax
not edx
mov eax, dword [0xbba958]
imul edx, esi
lea esi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbba958], eax
or esi, edx
not eax
mov dl, 1
imul eax, esi
shl dl, cl
xor dword [0xbba95c], eax
or byte [0xbba963], dl
mov eax, fcn.007c35b0
imul eax, eax
and eax, 3
cmp eax, 1
mov al, 0xfe
seta cl
not cl
add cl, 0x80
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbba963], al
mov ebp, dword [esp + 4]
mov ecx, edi
mov edx, dword [ebp + 0x18]
call fcn.0078dee0
mov ecx, dword [ebp + 0xc]
mov esi, 0xbba950
mov edx, 9
mov dword [esp + 0xc], ecx
mov ecx, eax
mov dword [esp + 0x10], eax
shl ecx, 4
cmp eax, 1
mov eax, 0xbba930
cmove esi, eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + ecx]
mov ecx, ebx
mov dword [esp + 0x18], eax
push eax
push 0
push esi
call fcn.008002d0
add esp, 0xc
mov esi, dword [esp + 8]
test eax, eax
jne 0x7eba31
xor eax, eax
cmp dword [esp + 0x10], 0
mov ecx, ebx
setne al
lea edx, [eax + eax + 0xa]
push dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push dword [eax]
push dword [ebp]
call fcn.008002d0
add esp, 0xc
test eax, eax
jne 0x7eba31
mov ecx, ebx
call fcn.007f7590
test eax, eax
je 0x7eba31
mov edx, fcn.007aac10
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp], ebx
imul edx, edx
movzx esi, byte [0xbba983]
and edx, 3
cmp edx, 3
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
or al, 4
movzx eax, al
bt esi, eax
jb 0x7eb5f8
mov al, byte [0xbba983]
xor ecx, ecx
cmp edx, 3
mov ah, 1
sete cl
mov ebx, ecx
xor ebx, 1
lea ebx, [ecx + ebx*2]
mov cl, 7
or bl, 4
sub cl, bl
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba983], ah
jne 0x7eb4a7
mov ecx, fcn.007aac10
xor edx, edx
mov ah, 7
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2]
or dl, 4
sub ah, dl
movzx edx, ah
movzx eax, al
bt eax, edx
jae 0x7eb521
xor eax, eax
cmp ecx, 3
movzx esi, byte [0xbba983]
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2]
or al, 4
movzx eax, al
bt esi, eax
jae 0x7eb4fb
jmp 0x7eb5f8
xor eax, eax
cmp ecx, 3
movzx edx, byte [0xbba983]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x7eb5cd
mov ecx, fcn.007aac10
xor eax, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete al
mov ecx, eax
not ecx
and ecx, 0x591
lea ecx, [eax + ecx*2 + 0x7accc86c]
mov eax, dword [0xbba970]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbba970], eax
not eax
imul edx, eax
mov eax, dword [0xbba974]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbba974], eax
or esi, edx
not eax
mov edx, dword [0xbba978]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbba978], edx
or esi, eax
not edx
mov al, 1
imul edx, esi
shl al, cl
xor dword [0xbba97c], edx
or byte [0xbba983], al
mov eax, fcn.007aac10
xor ecx, ecx
mov dl, 0xfe
imul eax, eax
and eax, 3
cmp eax, 3
sete cl
mov eax, ecx
xor eax, 1
lea eax, [ecx + eax*2]
mov cl, 7
or al, 4
sub cl, al
rol dl, cl
and byte [0xbba983], dl
mov edx, fcn.00812770
mov ebp, fcn.00812770
xor eax, eax
movzx esi, byte [0xbba9c7]
or edx, 2
xor ebp, 2
mov ecx, edx
add ecx, ebp
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt esi, eax
jb 0x7eb88c
mov al, byte [0xbba9c7]
mov esi, edx
xor ecx, ecx
mov ah, 1
add esi, ebp
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ebx + ecx*2]
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba9c7], ah
jne 0x7eb633
mov ecx, fcn.00812770
mov edx, fcn.00812770
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, [ebx + esi*2]
or bl, 4
xor bl, 7
movzx esi, bl
bt eax, esi
jae 0x7eb6b3
mov esi, ecx
xor eax, eax
add esi, edx
movzx esi, byte [0xbba9c7]
sete al
mov ebx, eax
xor ebx, 1
lea eax, [ebx + eax*2]
or al, 4
movzx eax, al
bt esi, eax
jae 0x7eb68c
jmp 0x7eb88c
xor eax, eax
add ecx, edx
movzx edx, byte [0xbba9c7]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x7eb85d
mov eax, fcn.00812770
mov ecx, fcn.00812770
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
sete dl
mov eax, edx
xor eax, 0x6cee83a9
lea ecx, [eax + edx*2 + 0x1004]
mov eax, dword [0xbba990]
xor eax, ecx
mov dword [0xbba990], eax
not eax
mov edx, dword [0xbba994]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbba994], edx
or esi, eax
not edx
mov eax, dword [0xbba998]
imul edx, esi
lea esi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbba998], eax
or esi, edx
not eax
mov edx, dword [0xbba99c]
imul eax, esi
lea esi, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbba99c], edx
or esi, eax
not edx
mov eax, dword [0xbba9a0]
imul edx, esi
mov esi, edx
shl esi, 4
xor eax, edx
shr edx, 0x1b
mov dword [0xbba9a0], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [str.eMDq]
mov esi, eax
shl esi, 5
xor edx, eax
shr eax, 0x1a
mov dword [str.eMDq], edx
or eax, esi
not edx
mov ebx, dword [0xbba9a8]
imul edx, eax
mov esi, edx
shl esi, 6
xor ebx, edx
shr edx, 0x19
mov dword [0xbba9a8], ebx
or edx, esi
not ebx
imul ebx, edx
mov edx, dword [0xbba9ac]
mov esi, ebx
shl esi, 7
xor edx, ebx
shr ebx, 0x18
mov dword [0xbba9ac], edx
or ebx, esi
not edx
mov ebp, dword [0xbba9b0]
imul edx, ebx
mov esi, edx
shl esi, 8
xor ebp, edx
shr edx, 0x17
mov dword [0xbba9b0], ebp
or edx, esi
not ebp
imul ebp, edx
mov edx, dword [0xbba9b4]
mov esi, ebp
shl esi, 9
xor edx, ebp
shr ebp, 0x16
mov dword [0xbba9b4], edx
or ebp, esi
not edx
mov ebx, dword [str._v_t1]
imul edx, ebp
mov esi, edx
shl esi, 0xa
xor ebx, edx
shr edx, 0x15
mov dword [str._v_t1], ebx
or edx, esi
not ebx
imul ebx, edx
mov edx, dword [0xbba9bc]
mov esi, ebx
shl esi, 0xb
xor edx, ebx
shr ebx, 0x14
mov dword [0xbba9bc], edx
or ebx, esi
not edx
imul edx, ebx
xor dword [0xbba9c0], edx
mov dl, 1
shl dl, cl
or byte [0xbba9c7], dl
mov eax, fcn.00812770
mov ecx, fcn.00812770
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
sete dl
mov eax, edx
xor eax, 1
lea ecx, [eax + edx*2]
mov al, 0xfe
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbba9c7], al
mov edx, fcn.00846220
movzx ecx, byte [0xbba9d3]
mov esi, dword [esp + 8]
mov ebp, dword [esp]
mov ebx, dword [esp + 0x10]
and edx, 1
inc edx
mov eax, edx
xor eax, fcn.00846220
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7eb9af
mov al, byte [0xbba9d3]
mov ecx, edx
mov ah, 1
xor ecx, fcn.00846220
sete cl
or cl, 2
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba9d3], ah
jne 0x7eb8c4
mov ecx, fcn.00846220
movzx eax, al
and ecx, 1
inc ecx
mov edx, ecx
xor edx, fcn.00846220
sete dl
or dl, 2
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7eb92a
mov eax, ecx
movzx edx, byte [0xbba9d3]
xor eax, fcn.00846220
sete al
or al, 2
movzx eax, al
bt edx, eax
jae 0x7eb90a
jmp 0x7eb9af
xor ecx, fcn.00846220
movzx ecx, byte [0xbba9d3]
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7eb98e
mov eax, fcn.00846220
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.00846220
mov eax, dword [0xbba9c8]
sete cl
or ecx, 0x72a0baaa
add ecx, 0x220
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbba9c8], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
xor dword [0xbba9cc], edx
mov dl, 1
shl dl, cl
or byte [0xbba9d3], dl
mov eax, fcn.00846220
and eax, 1
inc eax
xor eax, fcn.00846220
mov al, 0xfe
sete cl
or cl, 2
xor cl, 7
rol al, cl
and byte [0xbba9d3], al
mov ecx, ebp
mov edx, 1
push ebx
call fcn.00800f40
add esp, 4
mov ecx, dword [esp + 4]
mov eax, dword [edi + 0x10]
push dword [ecx]
push 0xbba970
mov ecx, dword [esp + 0x1c]
push dword [eax + ecx]
push 0xbba990
push ebp
call fcn.00802190
add esp, 0x14
mov ecx, ebp
mov ebp, dword [esp + 4]
mov edx, ebx
push dword [ebp]
push 0xbba9c8
call fcn.008112d0
add esp, 8
mov ecx, dword [esp]
mov edx, ebx
call fcn.00802260
mov edx, dword [ebp + 0x2c]
mov ecx, dword [esp]
push ebx
call fcn.00812770
add esp, 4
mov ecx, dword [esp + 0xc]
mov edx, 0x90
push 0
mov eax, dword [esp + 8]
push dword [eax]
push 0
push 0
push ebx
call fcn.007f75d0
add esp, 0x14
mov ecx, edi
mov edx, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.007cbc20