Function at 0x7f6260
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov dword [esp + 0x18], ecx
mov eax, dword [0xbcbae0]
xor eax, esp
mov dword [esp + 0x44], eax
mov dword [esp + 0xc], edx
movsx ebx, word [edx + 0x2a]
test ebx, ebx
jg 0x7f6286
xor ebp, ebp
jmp 0x7f62a0
mov esi, dword [edx + 4]
xor edi, edi
xor ebp, ebp
mov ecx, dword [esi]
call fcn.008037e0
inc edi
add esi, 0x14
lea ebp, [ebp + eax + 5]
cmp edi, ebx
jne 0x7f628d
mov eax, fcn.00774cf0
mov ecx, fcn.00774cf0
xor edx, edx
mov dword [esp + 4], ebp
mov dword [esp + 0x10], ebx
xor ecx, 2
or eax, 2
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
xor ebx, ebx
mov esi, dword [edx*4 + 0xb4ebe4]
mov ebp, dword [edx*4 + str._b_b_f_b]
mov dword [esp + 0x24], edx
add eax, dword [esp + 0x1c]
mov eax, 1
sete bl
xor ebx, 0xf0019a7
add ebx, 0x20
xor ebx, dword [edx*4 + 0xb4ec04]
mov ecx, ebx
and cl, 7
movzx edx, cl
shl eax, cl
xor cl, 7
mov dword [esp], edx
mov edx, 1
shl edx, cl
movzx ecx, byte [esi + ebp - 1]
mov edi, dword [esp]
bt ecx, edi
jb 0x7f63a3
mov dword [esp + 0x14], eax
mov al, byte [esi + ebp - 1]
mov ecx, eax
or cl, dl
lock cmpxchg byte [esi + ebp - 1], cl
jne 0x7f6326
mov ecx, dword [esp + 0x14]
movzx eax, al
test edx, eax
je 0x7f6348
movzx eax, byte [esi + ebp - 1]
test ecx, eax
je 0x7f633d
jmp 0x7f63a3
movzx eax, byte [esi + ebp - 1]
test ecx, eax
jne 0x7f639d
lea ecx, [ebp - 4]
shr ecx, 2
je 0x7f6395
xor eax, eax
mov edi, esi
mov dword [esp + 0x20], ecx
mov ecx, edi
mov dword [esp + 0x28], edi
mov edi, dword [edi]
mov dword [esp], ebx
xor edi, ebx
mov dword [ecx], edi
mov ecx, eax
not edi
inc eax
shl dword [esp], cl
and cl, 0x1f
xor cl, 0x1f
shr ebx, cl
mov ecx, dword [esp + 0x20]
or ebx, dword [esp]
imul ebx, edi
mov edi, dword [esp + 0x28]
add edi, 4
cmp eax, ecx
jne 0x7f6361
mov eax, dword [esp + 0x14]
or byte [esi + ebp - 1], al
not dl
and byte [esi + ebp - 1], dl
mov edx, dword [esp + 0x24]
inc edx
cmp edx, 4
jne 0x7f62c2
mov edi, dword [esp + 0xc]
mov ecx, dword [edi]
call fcn.008037e0
add eax, dword [esp + 4]
mov ecx, 0xbb1528
mov ebp, 0xbb1544
mov esi, 0xbb1550
cmp eax, 0x32
mov dword [esp + 0x3c], eax
cmovl ebp, ecx
mov ecx, 0xbb1530
cmovl esi, ecx
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*2]
lea edx, [eax + ecx*2 + 0x23]
xor ecx, ecx
mov eax, edx
mov dword [esp + 4], edx
sar eax, 0x1f
push eax
call fcn.00784570
add esp, 4
mov ebx, eax
test eax, eax
jne 0x7f6414
mov ecx, dword [esp + 0x18]
call fcn.0077e7a0
jmp 0x7f6911
mov edx, fcn.0077c8d0
mov eax, fcn.0077c8d0
movzx ecx, byte [0xbb1573]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 4]
and edx, 1
xor edx, eax
cmp edx, 0xffffffff
sete al
not al
and al, 5
movzx eax, al
bt ecx, eax
jb 0x7f6583
mov al, byte [0xbb1573]
cmp edx, 0xffffffff
mov ah, 1
sete cl
not cl
and cl, 5
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb1573], ah
jne 0x7f644d
mov ecx, fcn.0077c8d0
mov edx, fcn.0077c8d0
movzx eax, al
and ecx, 1
xor ecx, edx
cmp ecx, 0xffffffff
sete dl
not dl
and dl, 5
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7f64b1
cmp ecx, 0xffffffff
movzx edx, byte [0xbb1573]
sete al
not al
and al, 5
movzx eax, al
bt edx, eax
jae 0x7f6493
jmp 0x7f6583
cmp ecx, 0xffffffff
movzx ecx, byte [0xbb1573]
sete al
not al
and al, 5
movzx eax, al
bt ecx, eax
jb 0x7f655c
mov edx, fcn.0077c8d0
mov eax, fcn.0077c8d0
xor ecx, ecx
mov ebp, esi
and edx, 1
xor edx, eax
mov eax, dword [0xbb1560]
cmp edx, 0xffffffff
sete cl
xor ecx, 0x9542d2e5
add ecx, 0xa10
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb1560], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb1564]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb1564], eax
or esi, edx
not eax
mov edx, dword [0xbb1568]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb1568], edx
or esi, eax
not edx
mov al, 1
imul edx, esi
mov esi, ebp
mov ebp, dword [esp + 4]
shl al, cl
xor dword [0xbb156c], edx
or byte [0xbb1573], al
mov ecx, fcn.0077c8d0
mov eax, fcn.0077c8d0
and ecx, 1
xor ecx, eax
mov al, 0xfe
cmp ecx, 0xffffffff
sete cl
not cl
and cl, 5
xor cl, 7
rol al, cl
and byte [0xbb1573], al
push 0xbb1560
push ebx
push ebp
call fcn.00777b20
add esp, 0xc
mov ecx, ebx
call fcn.00777870
lea edx, [esp + 0x40]
mov ecx, ebx
mov dword [esp + 0x40], eax
push dword [edi]
call fcn.00803800
add esp, 4
mov eax, dword [esp + 0x40]
mov ecx, ebp
mov dword [esp + 0x38], esi
lea edx, [eax + 1]
lea ebp, [ebx + eax + 1]
mov dword [esp + 0x40], edx
mov byte [ebx + eax], 0x28
sub ecx, edx
cmp word [edi + 0x2a], 0
jle 0x7f680a
mov eax, fcn.00783b70
mov esi, fcn.00783b70
mov dword [esp + 0x2c], edx
xor edx, edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 8], ebx
xor esi, 2
or eax, 2
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov edi, dword [edx*4 + 0xb4ec20]
mov esi, dword [edx*4 + str._f_f_f_f_f]
mov dword [esp + 0x24], edx
add ecx, dword [esp + 0x14]
sete al
mov ecx, eax
xor ecx, 0x606064cd
lea ebx, [ecx + eax*2 + 0x1020]
mov eax, 1
xor ebx, dword [edx*4 + 0xb4ec60]
mov edx, 1
mov ecx, ebx
and cl, 7
shl eax, cl
movzx ebp, cl
xor cl, 7
shl edx, cl
movzx ecx, byte [edi + esi - 1]
bt ecx, ebp
jb 0x7f66df
mov dword [esp + 0x10], eax
mov al, byte [edi + esi - 1]
mov ecx, eax
or cl, dl
lock cmpxchg byte [edi + esi - 1], cl
jne 0x7f6661
mov ecx, dword [esp + 0x10]
movzx eax, al
test edx, eax
je 0x7f6683
movzx eax, byte [edi + esi - 1]
test ecx, eax
je 0x7f6678
jmp 0x7f66df
movzx eax, byte [edi + esi - 1]
test ecx, eax
jne 0x7f66d9
lea ecx, [esi - 4]
shr ecx, 2
je 0x7f66d1
xor eax, eax
mov ebp, edi
mov dword [esp + 0x20], ecx
mov ecx, ebp
mov dword [esp + 0x28], ebp
mov ebp, dword [ebp]
mov dword [esp], ebx
xor ebp, ebx
mov dword [ecx], ebp
mov ecx, eax
not ebp
inc eax
shl dword [esp], cl
and cl, 0x1f
xor cl, 0x1f
shr ebx, cl
mov ecx, dword [esp + 0x20]
or ebx, dword [esp]
imul ebx, ebp
mov ebp, dword [esp + 0x28]
add ebp, 4
cmp eax, ecx
jne 0x7f669c
mov eax, dword [esp + 0x10]
or byte [edi + esi - 1], al
not dl
and byte [edi + esi - 1], dl
mov edx, dword [esp + 0x24]
inc edx
cmp edx, 5
jne 0x7f65fd
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x3c], 0x32
mov ecx, 0xbb1538
mov esi, dword [eax + 4]
mov eax, 0xc1f2c7
cmovl ecx, eax
push ecx
mov edi, dword [esp + 0x38]
push edi
push dword [esp + 0x38]
call fcn.00777b20
add esp, 0xc
mov ecx, edi
call fcn.00777870
mov ebx, dword [esp + 8]
add eax, dword [esp + 0x2c]
lea edx, [esp + 0x40]
mov ecx, ebx
mov dword [esp + 0x40], eax
push dword [esi]
call fcn.00803800
add esp, 4
movsx eax, byte [esi + 0xd]
mov dword [esp], esi
mov edi, dword [eax*4 + 0xb47e9c]
mov ecx, edi
call fcn.00777870
mov esi, dword [esp + 0x40]
mov ebp, eax
lea eax, [ebx + esi]
push ebp
push edi
push eax
call fcn.009806e0
add esp, 0xc
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
add esi, ebp
mov dword [esp + 0x40], esi
lea ebp, [ebx + esi]
sub ecx, esi
cmp word [eax + 0x2a], 2
jl 0x7f680a
mov edi, dword [esp]
mov edx, 1
mov dword [esp], edx
push dword [esp + 0x18]
push ebp
push ecx
call fcn.00777b20
add esp, 0xc
mov ecx, ebp
call fcn.00777870
add eax, esi
mov ecx, ebx
lea edx, [esp + 0x40]
mov dword [esp + 0x40], eax
push dword [edi + 0x14]
call fcn.00803800
add esp, 4
movsx eax, byte [edi + 0x21]
lea edi, [edi + 0x14]
mov ebp, dword [eax*4 + 0xb47e9c]
mov ecx, ebp
call fcn.00777870
mov ebx, eax
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 8]
lea eax, [eax + esi]
push ebx
push ebp
push eax
call fcn.009806e0
mov edx, dword [esp + 0xc]
add esp, 0xc
mov eax, dword [esp + 0xc]
add esi, ebx
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
inc edx
mov dword [esp + 0x40], esi
movsx eax, word [eax + 0x2a]
sub ecx, esi
lea ebp, [ebx + esi]
cmp edx, eax
jl 0x7f678a
mov edx, fcn.007a0260
mov edi, ecx
xor eax, eax
not edx
and edx, 1
mov ecx, edx
add ecx, fcn.007a0260
movzx ecx, byte [0xbb15ab]
mov esi, dword [esp + 0x38]
setne al
bt ecx, eax
jb 0x7f6901
mov al, byte [0xbb15ab]
mov ecx, edx
mov ah, 1
add ecx, fcn.007a0260
setne cl
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb15ab], ah
jne 0x7f683c
mov ecx, fcn.007a0260
movzx eax, al
not ecx
and ecx, 1
mov edx, ecx
add edx, fcn.007a0260
setne dl
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7f6898
mov edx, ecx
xor eax, eax
add edx, fcn.007a0260
movzx edx, byte [0xbb15ab]
setne al
bt edx, eax
jae 0x7f687d
jmp 0x7f6901
xor eax, eax
add ecx, fcn.007a0260
movzx ecx, byte [0xbb15ab]
setne al
bt ecx, eax
jb 0x7f68e2
mov eax, fcn.007a0260
xor ecx, ecx
not eax
and eax, 1
add eax, fcn.007a0260
mov al, 1
sete cl
xor ecx, 0xe2ab94d1
add ecx, 0x440
xor dword [0xbb15a4], ecx
and cl, 7
shl al, cl
or byte [0xbb15ab], al
mov eax, fcn.007a0260
not eax
and eax, 1
add eax, fcn.007a0260
mov al, 0xfe
setne cl
xor cl, 7
rol al, cl
and byte [0xbb15ab], al
push esi
push 0xbb15a4
push ebp
push edi
call fcn.00777b20
add esp, 0x10
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00980459
mov eax, ebx
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret