Function at 0x7e9d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0xbd33e0]
xor eax, ebp
test edx, edx
mov dword [esp + 0x18], eax
je 0x7ea2b7
mov edi, edx
mov edx, dword [ecx]
mov dword [esp + 8], ecx
mov esi, dword [edi + 8]
movsx ebx, byte [esi + 1]
test ebx, ebx
jne 0x7e9d45
mov ebx, dword [ecx + 0xc4]
inc ebx
mov word [ecx + 0xc4], bx
jmp 0x7ea0ea
mov eax, dword [ebp + 8]
cmp byte [esi], 0x3f
mov dword [esp + 4], edx
jne 0x7e9de5
cmp eax, 2
jne 0x7e9d6e
add ebx, 0xffffffd0
xor ecx, ecx
mov eax, ebx
mov dword [esp + 0x10], ebx
sar eax, 0x1f
mov dword [esp + 0x14], eax
jmp 0x7e9d92
lea ecx, [esi + 1]
dec eax
lea edx, [esp + 0x10]
push 1
push eax
call fcn.007b0bb0
mov edx, dword [esp + 0xc]
add esp, 8
test eax, eax
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
setne cl
mov edx, dword [edx + 0x90]
test cl, cl
jne 0x7e9e44
cmp ebx, 1
mov ecx, eax
sbb ecx, 0
jl 0x7e9e44
mov ecx, edx
sar ecx, 0x1f
cmp edx, ebx
sbb ecx, eax
jl 0x7e9e44
mov eax, dword [esp + 8]
cmp word [eax + 0xc4], bx
jge 0x7ea0cc
mov word [eax + 0xc4], bx
mov edx, dword [esp + 4]
mov eax, dword [eax + 0xd8]
mov dword [esp + 0xc], eax
jmp 0x7e9e1b
mov ecx, dword [ecx + 0xd8]
mov edx, esi
mov dword [esp + 0xc], ecx
push eax
call fcn.007d09e0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
add esp, 4
mov ebx, eax
test bx, bx
jne 0x7ea0ea
mov ebx, dword [ecx + 0xc4]
inc ebx
mov word [ecx + 0xc4], bx
mov ecx, edx
mov edx, dword [esp + 0xc]
movsx eax, bx
push eax
push dword [ebp + 8]
push esi
call fcn.00833700
mov edx, dword [esp + 0x10]
add esp, 0xc
mov ecx, dword [esp + 8]
mov dword [ecx + 0xd8], eax
jmp 0x7ea0ea
mov esi, fcn.007a0f90
mov edi, fcn.007a0f90
xor eax, eax
mov dword [esp + 4], edx
or esi, 2
xor edi, 2
movzx edx, byte [0xbba7ff]
mov ecx, esi
add ecx, edi
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7ea0b2
mov al, byte [0xbba7ff]
mov ebx, esi
xor ecx, ecx
mov ah, 1
add ebx, 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 [0xbba7ff], ah
jne 0x7e9e84
mov ecx, fcn.007a0f90
mov esi, fcn.007a0f90
xor edx, edx
movzx eax, al
or ecx, 2
xor esi, 2
mov edi, ecx
add edi, esi
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2 + 6]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e9f07
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbba7ff]
add edx, esi
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 6]
and al, 7
movzx eax, al
bt edi, eax
jae 0x7e9edf
jmp 0x7ea0b2
xor eax, eax
add ecx, esi
movzx edx, byte [0xbba7ff]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7ea082
mov ecx, fcn.007a0f90
mov edx, fcn.007a0f90
xor eax, eax
xor edx, 2
or ecx, 2
add ecx, edx
sete al
mov ecx, eax
not ecx
and ecx, 0x201
lea ecx, [eax + ecx*2 + 0x56193d4e]
mov eax, dword [str._k_]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [str._k_], eax
not eax
imul edx, eax
mov eax, dword [0xbba7d4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbba7d4], eax
or esi, edx
not eax
mov edx, dword [0xbba7d8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbba7d8], edx
or esi, eax
not edx
mov eax, dword [0xbba7dc]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbba7dc], eax
or esi, edx
not eax
mov edx, dword [0xbba7e0]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbba7e0], edx
or eax, esi
not edx
mov edi, dword [0xbba7e4]
imul edx, eax
mov esi, edx
shl esi, 5
xor edi, edx
shr edx, 0x1a
mov dword [0xbba7e4], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbba7e8]
mov esi, edi
shl esi, 6
xor edx, edi
shr edi, 0x19
mov dword [0xbba7e8], edx
or edi, esi
not edx
mov ebx, dword [0xbba7ec]
imul edx, edi
mov esi, edx
shl esi, 7
xor ebx, edx
shr edx, 0x18
mov dword [0xbba7ec], ebx
or edx, esi
not ebx
imul ebx, edx
mov edx, dword [0xbba7f0]
mov esi, ebx
shl esi, 8
xor edx, ebx
shr ebx, 0x17
mov dword [0xbba7f0], edx
or ebx, esi
not edx
mov edi, dword [0xbba7f4]
imul edx, ebx
mov esi, edx
shl esi, 9
xor edi, edx
shr edx, 0x16
mov dword [0xbba7f4], edi
or edx, esi
not edi
imul edi, edx
mov dl, 1
xor dword [0xbba7f8], edi
shl dl, cl
or byte [0xbba7ff], dl
mov eax, fcn.007a0f90
mov ecx, fcn.007a0f90
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 [0xbba7ff], al
push dword [esp + 4]
push str._k_
push dword [esp + 0x10]
call fcn.0078de60
add esp, 0xc
jmp 0x7ea2b7
mov ecx, dword [eax + 0xd8]
movsx edx, bx
mov dword [esp + 0xc], ecx
call fcn.0078b410
mov edx, dword [esp + 4]
test eax, eax
je 0x7e9e1b
mov word [edi + 0x20], bx
movsx eax, bx
cmp dword [edx + 0x90], eax
jge 0x7ea2b7
mov edx, fcn.00833a30
mov esi, fcn.00833a30
movzx ecx, byte [0xbba81b]
or edx, 2
xor esi, 2
mov eax, edx
add eax, esi
sete al
or al, 4
add al, 0x84
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7ea2a6
mov al, byte [0xbba81b]
mov ecx, edx
mov ah, 1
add ecx, esi
sete cl
or cl, 4
add cl, 0x84
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba81b], ah
jne 0x7ea132
mov ecx, fcn.00833a30
mov edx, fcn.00833a30
or ecx, 2
xor edx, 2
mov esi, ecx
add esi, edx
sete ah
or ah, 4
add ah, 0x84
and ah, 7
xor ah, 7
movzx esi, ah
movzx eax, al
bt eax, esi
jae 0x7ea1a4
mov eax, ecx
movzx esi, byte [0xbba81b]
add eax, edx
sete al
or al, 4
add al, 0x84
and al, 7
movzx eax, al
bt esi, eax
jae 0x7ea183
jmp 0x7ea2a6
add ecx, edx
movzx ecx, byte [0xbba81b]
sete al
or al, 4
add al, 0x84
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7ea27b
mov eax, fcn.00833a30
mov edx, fcn.00833a30
xor ecx, ecx
xor edx, 2
or eax, 2
add eax, edx
mov eax, dword [0xbba800]
sete cl
or ecx, 0x22dbc684
add ecx, 0x1084
xor eax, ecx
mov dword [0xbba800], eax
not eax
mov edx, dword [0xbba804]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbba804], edx
or esi, eax
not edx
mov eax, dword [0xbba808]
imul edx, esi
lea esi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbba808], eax
or esi, edx
not eax
mov edx, dword [0xbba80c]
imul eax, esi
lea esi, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbba80c], edx
or esi, eax
not edx
mov eax, dword [0xbba810]
imul edx, esi
mov esi, edx
shl esi, 4
xor eax, edx
shr edx, 0x1b
mov dword [0xbba810], eax
or edx, esi
not eax
imul eax, edx
mov dl, 1
xor dword [0xbba814], eax
shl dl, cl
or byte [0xbba81b], dl
mov eax, fcn.00833a30
mov ecx, fcn.00833a30
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 [0xbba81b], al
push 0xbba800
push dword [esp + 0xc]
call fcn.0078de60
add esp, 8
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.00989fe9
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret