Function at 0x7b3e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0xbcbae0]
mov ebp, edx
mov esi, ecx
shl ebp, 4
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x10]
mov ebx, dword [eax + ebp + 0xc]
mov eax, dword [ebx + 0x10]
jmp 0x7b3e9e
mov ecx, dword [eax + 8]
and dword [ecx + 0x24], 0xffffffef
mov eax, dword [eax]
test eax, eax
jne 0x7b3e95
mov eax, dword [ebx + 0x20]
jmp 0x7b3eb3
mov ecx, dword [eax + 8]
and dword [ecx + 0x38], 0xffffff7f
mov eax, dword [eax]
test eax, eax
jne 0x7b3ea7
mov edi, fcn.0079ccd0
xor eax, eax
movzx edx, byte [0xbae7a3]
and edi, 1
inc edi
mov ecx, edi
xor ecx, fcn.0079ccd0
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x7b403c
mov al, byte [0xbae7a3]
mov dword [esp], ebx
mov ebx, edi
xor ecx, ecx
mov ah, 1
xor ebx, fcn.0079ccd0
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 [0xbae7a3], ah
jne 0x7b3eed
mov ecx, fcn.0079ccd0
xor edx, edx
movzx eax, al
and ecx, 1
inc ecx
mov edi, ecx
xor edi, fcn.0079ccd0
sete dl
mov ebx, edx
xor ebx, 5
lea edx, [ebx + edx*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7b3f6a
mov ebx, dword [esp]
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbae7a3]
xor edx, fcn.0079ccd0
sete al
mov edx, eax
xor edx, 5
lea eax, [edx + eax*2]
bt edi, eax
jae 0x7b3f44
jmp 0x7b403c
xor eax, eax
xor ecx, fcn.0079ccd0
movzx edx, byte [0xbae7a3]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x7b4011
mov eax, fcn.0079ccd0
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.0079ccd0
sete cl
mov eax, ecx
xor eax, 0x82257ec5
lea ecx, [eax + ecx*2 + 0x270]
mov eax, dword [0xbae790]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbae790], eax
not eax
imul edx, eax
mov eax, dword [0xbae794]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbae794], eax
or edi, edx
not eax
mov edx, dword [0xbae798]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbae798], edx
or edi, eax
not edx
mov al, 1
imul edx, edi
shl al, cl
xor dword [0xbae79c], edx
or byte [0xbae7a3], al
mov eax, fcn.0079ccd0
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.0079ccd0
sete cl
mov eax, ecx
xor eax, 5
lea ecx, [eax + ecx*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbae7a3], al
mov ebx, dword [esp]
mov dword [esp + 4], esi
mov ecx, esi
mov edx, 0xbae790
mov eax, dword [esi + 0x10]
mov edi, dword [eax + ebp]
mov dword [esp + 8], edi
push edi
call fcn.0078bd40
add esp, 4
test eax, eax
jne 0x7b4065
xor edi, edi
jmp 0x7b42be
mov edx, fcn.00834e40
mov ebp, ebx
mov ebx, fcn.00834e40
movzx ecx, byte [0xbae7df]
or edx, 2
xor ebx, 2
mov eax, edx
add eax, ebx
sete al
xor al, 3
movzx eax, al
bt ecx, eax
jb 0x7b427f
mov al, byte [0xbae7df]
mov ecx, edx
mov ah, 1
add ecx, ebx
sete cl
or cl, 0xfc
add cl, 8
shl ah, cl
or ah, al
lock cmpxchg byte [0xbae7df], ah
jne 0x7b4098
mov ecx, fcn.00834e40
mov edx, fcn.00834e40
or ecx, 2
xor edx, 2
mov ebx, ecx
add ebx, edx
sete ah
or ah, 0xfc
add ah, 8
movzx ebx, ah
movzx eax, al
bt eax, ebx
jae 0x7b40fa
mov eax, ecx
movzx ebx, byte [0xbae7df]
add eax, edx
sete al
xor al, 3
movzx eax, al
bt ebx, eax
jae 0x7b40dd
jmp 0x7b427f
add ecx, edx
movzx ecx, byte [0xbae7df]
sete al
xor al, 3
movzx eax, al
bt ecx, eax
jb 0x7b425a
mov eax, fcn.00834e40
mov edx, fcn.00834e40
xor ecx, ecx
xor edx, 2
or eax, 2
add eax, edx
mov edx, dword [str.__CN]
sete cl
xor ecx, 0xb0f107b
lea eax, [ecx + 0xe00]
and cl, 3
xor edx, eax
mov dword [str.__CN], edx
not edx
imul edx, eax
mov eax, dword [0xbae7b4]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbae7b4], eax
or ebx, edx
not eax
mov edx, dword [0xbae7b8]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbae7b8], edx
or ebx, eax
not edx
mov eax, dword [0xbae7bc]
imul edx, ebx
lea ebx, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbae7bc], eax
or ebx, edx
not eax
mov edx, dword [0xbae7c0]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbae7c0], edx
or eax, ebx
not edx
imul edx, eax
mov eax, dword [0xbae7c4]
mov ebx, edx
shl ebx, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbae7c4], eax
or edx, ebx
not eax
imul eax, edx
mov edx, dword [0xbae7c8]
mov ebx, eax
shl ebx, 6
xor edx, eax
shr eax, 0x19
mov dword [0xbae7c8], edx
or eax, ebx
not edx
imul edx, eax
mov eax, dword [0xbae7cc]
mov ebx, edx
shl ebx, 7
xor eax, edx
shr edx, 0x18
mov dword [0xbae7cc], eax
or edx, ebx
not eax
imul eax, edx
mov edx, dword [0xbae7d0]
mov ebx, eax
shl ebx, 8
xor edx, eax
shr eax, 0x17
mov dword [0xbae7d0], edx
or eax, ebx
not edx
imul edx, eax
mov eax, dword [0xbae7d4]
mov ebx, edx
shl ebx, 9
xor eax, edx
shr edx, 0x16
mov dword [0xbae7d4], eax
or edx, ebx
not eax
imul eax, edx
mov dl, 1
xor dword [0xbae7d8], eax
shl dl, cl
or byte [0xbae7df], dl
mov eax, fcn.00834e40
mov ecx, fcn.00834e40
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
or cl, 0xfc
add cl, 8
rol al, cl
and byte [0xbae7df], al
push edi
push str.__CN
push esi
call fcn.00782620
add esp, 0xc
test eax, eax
jne 0x7b4299
mov edi, 7
jmp 0x7b42bc
mov ebx, eax
lea eax, [esp + 4]
push 0
push eax
push 0x7bf7e0
push ebx
push esi
call fcn.00783f90
add esp, 0x14
mov ecx, esi
mov edx, ebx
mov edi, eax
call fcn.00774f10
mov ebx, ebp
mov ebx, dword [ebx + 0x20]
test ebx, ebx
je 0x7b42d7
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0x38], 0
js 0x7b42d3
call fcn.007bf8e0
mov ebx, dword [ebx]
jmp 0x7b42c1
cmp edi, 7
jne 0x7b42e3
mov ecx, esi
call fcn.0077e7a0
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00980459
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret