Function at 0x7e0620
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [ecx]
mov ebx, edx
cmp byte [edi + 0x51], 0
jne 0x7e1298
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov esi, ecx
mov dword [esp + 0x10], eax
call fcn.007d1540
test eax, eax
jne 0x7e1298
test ebp, ebp
jne 0x7e0668
mov edx, dword [esp + 0x10]
lea eax, [ebx + 8]
mov ecx, esi
push eax
call fcn.0080c090
add esp, 4
jmp 0x7e0680
inc byte [edi + 0x55]
lea eax, [ebx + 8]
mov ecx, esi
mov edx, dword [esp + 0x10]
push eax
call fcn.0080c090
add esp, 4
dec byte [edi + 0x55]
test eax, eax
jne 0x7e069b
test ebp, ebp
je 0x7e1298
mov edx, dword [ebx + 0xc]
mov ecx, esi
call fcn.00810e30
jmp 0x7e1298
mov edx, dword [eax + 0x48]
mov ecx, edi
mov ebp, eax
call fcn.0078dee0
cmp dword [ebp + 0x38], 0
mov dword [esp + 0xc], eax
mov dword [esp], ebp
je 0x7e06c6
mov edx, dword [esp]
mov ecx, esi
call fcn.0080c2b0
test eax, eax
jne 0x7e1298
mov edx, fcn.00839ab0
movzx ecx, byte [0xbb95c7]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7e081b
mov al, byte [0xbb95c7]
cmp edx, 2
mov ah, 1
sete cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb95c7], ah
jne 0x7e06f1
mov ecx, fcn.00839ab0
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete dl
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e074b
cmp ecx, 2
movzx edx, byte [0xbb95c7]
sete al
or al, 4
movzx eax, al
bt edx, eax
jae 0x7e072f
jmp 0x7e081b
cmp ecx, 2
movzx edx, byte [0xbb95c7]
sete al
or al, 4
movzx eax, al
bt edx, eax
jb 0x7e07fa
mov eax, fcn.00839ab0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
mov eax, dword [0xbb95b0]
sete cl
or ecx, 0x8b6366c
xor eax, ecx
mov dword [0xbb95b0], eax
not eax
mov edx, dword [0xbb95b4]
imul eax, ecx
and cl, 5
lea ebp, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb95b4], edx
or eax, ebp
not edx
imul edx, eax
mov eax, dword [0xbb95b8]
lea ebp, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbb95b8], eax
or edx, ebp
not eax
imul eax, edx
mov edx, dword [0xbb95bc]
lea ebp, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbb95bc], edx
or eax, ebp
not edx
imul edx, eax
xor dword [0xbb95c0], edx
mov dl, 1
shl dl, cl
or byte [0xbb95c7], dl
mov eax, fcn.00839ab0
imul eax, eax
and eax, 3
cmp eax, 2
mov al, 0xfe
sete cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb95c7], al
mov dword [esp + 8], esi
mov esi, 0x794300
mov ebp, 0x794300
mov dword [esp + 4], ebx
xor eax, eax
or esi, 2
xor ebp, 2
movzx edx, byte [0xbb95e3]
mov ecx, esi
add ecx, ebp
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x7e09aa
mov al, byte [0xbb95e3]
mov edx, esi
xor ecx, ecx
add edx, ebp
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 [0xbb95e3], dl
jne 0x7e085a
mov ecx, 0x794300
mov edx, 0x794300
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 + 2]
xor bl, 7
movzx esi, bl
bt eax, esi
jae 0x7e08d2
mov esi, ecx
xor eax, eax
add esi, edx
movzx esi, byte [0xbb95e3]
sete al
mov ebx, eax
xor ebx, 1
lea eax, [eax + ebx*2 + 2]
bt esi, eax
jae 0x7e08af
jmp 0x7e09aa
xor eax, eax
add ecx, edx
movzx edx, byte [0xbb95e3]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x7e097d
mov ecx, 0x794300
mov edx, 0x794300
xor eax, eax
xor edx, 2
or ecx, 2
add ecx, edx
sete al
mov ecx, eax
not ecx
and ecx, 0x82d
lea ecx, [eax + ecx*2 - 0x4e36cf2e]
mov eax, dword [0xbb95d0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb95d0], eax
not eax
imul edx, eax
mov eax, dword [0xbb95d4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb95d4], eax
or esi, edx
not eax
mov edx, dword [0xbb95d8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb95d8], edx
or esi, eax
not edx
mov al, 1
imul edx, esi
shl al, cl
xor dword [0xbb95dc], edx
or byte [0xbb95e3], al
mov eax, 0x794300
mov ecx, 0x794300
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 + 2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb95e3], al
mov ecx, dword [esp + 0xc]
mov eax, 0xbb95b0
mov esi, 0xbb95d0
mov edx, 9
cmp ecx, 1
cmove esi, eax
mov eax, dword [edi + 0x10]
shl ecx, 4
mov ebp, dword [eax + ecx]
mov ecx, dword [esp + 8]
push ebp
push 0
push esi
mov esi, ecx
call fcn.008002d0
add esp, 0xc
mov ebx, dword [esp + 4]
test eax, eax
jne 0x7e1298
cmp dword [esp + 0x10], 0
je 0x7e0a01
xor eax, eax
cmp dword [esp + 0xc], 1
setne al
lea edx, [eax + eax + 0xf]
jmp 0x7e0a2c
mov edx, dword [esp]
cmp dword [edx + 0x38], 0
je 0x7e0a1e
mov ecx, edi
call fcn.007d0920
mov eax, dword [eax + 4]
mov edx, 0x1e
mov eax, dword [eax + 4]
jmp 0x7e0a2e
xor eax, eax
cmp dword [esp + 0xc], 1
sete al
lea edx, [eax + eax + 0xb]
xor eax, eax
mov ecx, esi
push ebp
push eax
mov eax, dword [esp + 8]
push dword [eax]
call fcn.008002d0
add esp, 0xc
test eax, eax
jne 0x7e1298
mov ecx, esi
mov edx, 9
push ebp
push 0
mov eax, dword [esp + 8]
push dword [eax]
call fcn.008002d0
add esp, 0xc
test eax, eax
jne 0x7e1298
mov ebp, dword [esp]
mov ecx, edi
mov edx, ebp
call fcn.00810e80
test eax, eax
je 0x7e0c5b
mov edx, fcn.007c8780
movzx ecx, byte [0xbb9613]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7e0c43
mov al, byte [0xbb9613]
cmp edx, 1
mov ah, 1
seta cl
not cl
and cl, 3
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb9613], ah
jne 0x7e0aa9
mov ecx, fcn.007c8780
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
not dl
and dl, 3
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e0b09
cmp ecx, 1
movzx edx, byte [0xbb9613]
seta al
not al
and al, 3
movzx eax, al
bt edx, eax
jae 0x7e0aeb
jmp 0x7e0c43
cmp ecx, 1
movzx ecx, byte [0xbb9613]
seta al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7e0c20
mov eax, fcn.007c8780
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbb95f0]
seta cl
xor ecx, 0xbf98358b
add ecx, 0x1028
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb95f0], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb95f4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb95f4], eax
or esi, edx
not eax
mov edx, dword [0xbb95f8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb95f8], edx
or esi, eax
not edx
mov eax, dword [0xbb95fc]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb95fc], eax
or esi, edx
not eax
mov edx, dword [0xbb9600]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb9600], edx
or eax, esi
not edx
mov ebp, dword [0xbb9604]
imul edx, eax
mov esi, edx
shl esi, 5
xor ebp, edx
shr edx, 0x1a
mov dword [0xbb9604], ebp
or edx, esi
not ebp
imul ebp, edx
mov edx, dword [0xbb9608]
mov esi, ebp
shl esi, 6
xor edx, ebp
shr ebp, 0x19
mov dword [0xbb9608], edx
or ebp, esi
not edx
mov esi, dword [esp + 8]
imul edx, ebp
xor dword [0xbb960c], edx
mov dl, 1
shl dl, cl
or byte [0xbb9613], dl
mov eax, fcn.007c8780
imul eax, eax
and eax, 3
cmp eax, 1
mov al, 0xfe
seta cl
not cl
and cl, 3
xor cl, 7
rol al, cl
and byte [0xbb9613], al
mov eax, dword [esp]
push dword [eax]
push 0xbb95f0
push esi
call fcn.0078de60
add esp, 0xc
jmp 0x7e1298
cmp dword [esp + 0x10], 0
mov eax, dword [ebp + 0xc]
je 0x7e0eab
test eax, eax
jne 0x7e10d5
mov edx, fcn.0066e960
xor eax, eax
movzx ebp, byte [0xbb9647]
not edx
and edx, 1
mov ecx, edx
add ecx, fcn.0066e960
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt ebp, eax
jb 0x7e0e9c
mov al, byte [0xbb9647]
mov esi, edx
xor ecx, ecx
mov ah, 1
add esi, fcn.0066e960
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 [0xbb9647], ah
jne 0x7e0ca6
mov ecx, fcn.0066e960
xor edx, edx
movzx eax, al
not ecx
and ecx, 1
mov esi, ecx
add esi, fcn.0066e960
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2 + 2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e0d2c
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
mov edx, ecx
xor eax, eax
movzx ebp, byte [0xbb9647]
add edx, fcn.0066e960
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 2]
bt ebp, eax
jae 0x7e0d05
jmp 0x7e0e9c
xor eax, eax
add ecx, fcn.0066e960
movzx edx, byte [0xbb9647]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x7e0e6a
mov ecx, fcn.0066e960
xor eax, eax
not ecx
and ecx, 1
add ecx, fcn.0066e960
sete al
mov ecx, eax
not ecx
and ecx, 0x4c9
lea ecx, [eax + ecx*2 - 0x278d44fe]
mov eax, dword [0xbb9620]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb9620], eax
not eax
imul edx, eax
mov eax, dword [0xbb9624]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb9624], eax
or esi, edx
not eax
mov edx, dword [0xbb9628]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb9628], edx
or esi, eax
not edx
mov eax, dword [0xbb962c]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb962c], eax
or esi, edx
not eax
mov edx, dword [0xbb9630]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb9630], edx
or eax, esi
not edx
mov ebp, dword [0xbb9634]
imul edx, eax
mov esi, edx
shl esi, 5
xor ebp, edx
shr edx, 0x1a
mov dword [0xbb9634], ebp
or edx, esi
not ebp
imul ebp, edx
mov edx, dword [0xbb9638]
mov esi, ebp
shl esi, 6
xor edx, ebp
shr ebp, 0x19
mov dword [0xbb9638], edx
or ebp, esi
not edx
mov ebx, dword [0xbb963c]
imul edx, ebp
mov esi, edx
shl esi, 7
xor ebx, edx
shr edx, 0x18
mov dword [0xbb963c], ebx
or edx, esi
not ebx
imul ebx, edx
mov dl, 1
xor dword [0xbb9640], ebx
shl dl, cl
or byte [0xbb9647], dl
mov eax, fcn.0066e960
xor ecx, ecx
not eax
and eax, 1
add eax, fcn.0066e960
sete cl
mov eax, ecx
xor eax, 1
lea ecx, [ecx + eax*2 + 2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb9647], al
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
mov eax, dword [esp]
push dword [eax]
push 0xbb9620
jmp 0x7e0c4d
test eax, eax
je 0x7e10d5
mov edx, fcn.00780850
mov ebp, fcn.00780850
movzx ecx, byte [0xbb9677]
or edx, 2
xor ebp, 2
mov eax, edx
add eax, ebp
sete al
xor al, 5
add al, 4
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7e10c2
mov al, byte [0xbb9677]
mov ecx, edx
mov ah, 1
add ecx, ebp
sete cl
xor cl, 5
add cl, 4
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb9677], ah
jne 0x7e0ee8
mov ecx, fcn.00780850
mov edx, fcn.00780850
or ecx, 2
xor edx, 2
mov esi, ecx
add esi, edx
sete ah
xor ah, 5
add ah, 4
and ah, 7
xor ah, 7
movzx esi, ah
movzx eax, al
bt eax, esi
jae 0x7e0f5e
mov ebx, dword [esp + 4]
mov eax, ecx
movzx esi, byte [0xbb9677]
add eax, edx
sete al
xor al, 5
add al, 4
and al, 7
movzx eax, al
bt esi, eax
jae 0x7e0f3d
jmp 0x7e10c2
add ecx, edx
movzx ecx, byte [0xbb9677]
sete al
xor al, 5
add al, 4
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7e1093
mov eax, fcn.00780850
mov edx, fcn.00780850
xor ecx, ecx
xor edx, 2
or eax, 2
add eax, edx
mov eax, dword [0xbb9650]
sete cl
xor ecx, 0xb0555095
add ecx, 0xa04
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb9650], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb9654]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb9654], eax
or esi, edx
not eax
mov edx, dword [0xbb9658]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb9658], edx
or esi, eax
not edx
mov eax, dword [0xbb965c]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb965c], eax
or esi, edx
not eax
mov edx, dword [0xbb9660]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb9660], edx
or eax, esi
not edx
mov ebp, dword [0xbb9664]
imul edx, eax
mov esi, edx
shl esi, 5
xor ebp, edx
shr edx, 0x1a
mov dword [0xbb9664], ebp
or edx, esi
not ebp
imul ebp, edx
mov edx, dword [0xbb9668]
mov esi, ebp
shl esi, 6
xor edx, ebp
shr ebp, 0x19
mov dword [0xbb9668], edx
or ebp, esi
not edx
mov ebx, dword [0xbb966c]
imul edx, ebp
mov esi, edx
shl esi, 7
xor ebx, edx
shr edx, 0x18
mov dword [0xbb966c], ebx
or edx, esi
not ebx
imul ebx, edx
mov dl, 1
xor dword [0xbb9670], ebx
shl dl, cl
or byte [0xbb9677], dl
mov eax, fcn.00780850
mov ecx, fcn.00780850
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
xor cl, 5
add cl, 4
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb9677], al
mov ebx, dword [esp + 4]
mov eax, dword [esp]
push dword [eax]
push 0xbb9650
push dword [esp + 0x10]
jmp 0x7e0c4e
mov ecx, esi
call fcn.007f7590
test eax, eax
je 0x7e1298
mov ebp, dword [esp + 0xc]
mov ecx, esi
mov edx, 1
push ebp
call fcn.00800f40
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x7e1289
mov edx, fcn.00799950
xor eax, eax
imul edx, edx
and edx, 3
cmp edx, 3
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
movzx ecx, byte [0xbb9683]
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7e125d
mov al, byte [0xbb9683]
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 [0xbb9683], ah
jne 0x7e1138
mov ecx, fcn.00799950
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 0x7e11b9
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
mov ebp, dword [esp + 0xc]
xor eax, eax
cmp ecx, 3
sete al
mov edx, eax
not edx
lea eax, [edx + eax*2]
movzx edx, byte [0xbb9683]
and al, 7
movzx eax, al
bt edx, eax
jae 0x7e1194
jmp 0x7e125d
xor eax, eax
cmp ecx, 3
movzx edx, byte [0xbb9683]
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7e1227
mov eax, fcn.00799950
xor ecx, ecx
mov esi, dword [0xbb9678]
imul eax, eax
and eax, 3
cmp eax, 3
sete cl
mov eax, ecx
xor eax, 0x45e86267
lea ecx, [eax + ecx*2 + 0x1120]
mov edx, ecx
xor esi, ecx
shr edx, 0x1f
mov dword [0xbb9678], esi
not esi
or edx, ecx
and cl, 7
imul edx, esi
xor dword [0xbb967c], edx
mov dl, 1
shl dl, cl
or byte [0xbb9683], dl
mov eax, fcn.00799950
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 [0xbb9683], al
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov edx, ebp
mov ebp, dword [esp]
mov ecx, esi
push dword [ebp]
push 0xbb9678
call fcn.008112d0
add esp, 8
mov ecx, esi
mov edx, ebx
push ebp
mov ebp, dword [esp + 0x10]
call fcn.00811720
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [esp]
mov ecx, esi
push eax
push ebp
call fcn.00811820
add esp, 8
mov ecx, edi
mov edx, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.007cbc20