Function at 0x7f1150
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [0xbd33e0]
mov ebp, edx
xor eax, esp
mov dword [esp + 0x38], eax
mov edi, dword [ecx + 0xec]
mov esi, dword [ecx]
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0xec], 0
test edi, edi
je 0x7f18db
test eax, eax
jne 0x7f18db
mov edx, dword [edi + 0x14]
mov ebx, dword [edi]
mov dword [esp + 8], ecx
mov ecx, esi
call fcn.0078dee0
test ebp, ebp
mov edx, ebx
mov dword [esp + 4], eax
mov dword [edi + 0x1c], ebp
mov dword [esp + 0xc], ebx
je 0x7f11b6
mov dword [ebp + 4], edi
mov ebp, dword [ebp + 0x24]
test ebp, ebp
jne 0x7f11aa
mov edx, dword [edi]
mov dword [esp], esi
mov eax, fcn.007c2860
mov esi, 3
sub esi, eax
movzx ecx, byte [0xbbaf33]
mov ebx, dword [esp + 4]
mov eax, esi
xor eax, fcn.007c2860
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7f12fc
mov al, byte [0xbbaf33]
mov ecx, esi
mov ah, 1
xor ecx, fcn.007c2860
sete cl
or cl, 2
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbaf33], ah
jne 0x7f11ed
mov esi, fcn.007c2860
mov ecx, 3
sub ecx, esi
mov esi, ecx
xor esi, fcn.007c2860
sete ah
or ah, 2
xor ah, 7
movzx esi, ah
movzx eax, al
bt eax, esi
jae 0x7f1256
mov eax, ecx
movzx esi, byte [0xbbaf33]
xor eax, fcn.007c2860
sete al
or al, 2
movzx eax, al
bt esi, eax
jae 0x7f1236
jmp 0x7f12fc
xor ecx, fcn.007c2860
movzx ecx, byte [0xbbaf33]
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7f12d7
mov eax, fcn.007c2860
mov esi, 3
xor ecx, ecx
sub esi, eax
mov eax, dword [0xbbaf24]
xor esi, fcn.007c2860
sete cl
or ecx, 0x56517492
add ecx, 0x4d8
mov esi, ecx
xor eax, ecx
shr esi, 0x1f
mov dword [0xbbaf24], eax
not eax
or esi, ecx
and cl, 7
imul esi, eax
mov eax, dword [0xbbaf28]
lea ebp, [esi + esi]
xor eax, esi
shr esi, 0x1e
mov dword [0xbbaf28], eax
or esi, ebp
not eax
imul eax, esi
xor dword [0xbbaf2c], eax
mov ah, 1
shl ah, cl
or byte [0xbbaf33], ah
mov eax, fcn.007c2860
mov ecx, 3
sub ecx, eax
mov al, 0xfe
xor ecx, fcn.007c2860
sete cl
or cl, 2
xor cl, 7
rol al, cl
and byte [0xbbaf33], al
lea ebp, [esp + 0x18]
mov ecx, ebp
call fcn.008022d0
mov edx, dword [esp + 8]
lea esi, [esp + 0x20]
mov ecx, esi
push ebp
push 0xbbaf24
push ebx
call fcn.0080fba0
add esp, 0xc
mov edx, dword [edi + 0x1c]
mov ecx, esi
call fcn.00835840
xor ebp, ebp
test eax, eax
je 0x7f1338
mov esi, dword [esp]
jmp 0x7f18db
mov edx, dword [edi + 0xc]
lea ecx, [esp + 0x20]
call fcn.008103a0
mov esi, dword [esp]
test eax, eax
jne 0x7f18db
mov ecx, dword [esp + 8]
cmp byte [ecx + 0xc8], 2
jb 0x7f1369
mov dword [ecx + 0xec], edi
xor edi, edi
jmp 0x7f188b
cmp byte [esi + 0xa5], 0
jne 0x7f188b
call fcn.007f7590
test eax, eax
je 0x7f18db
mov edx, fcn.007a2130
mov dword [esp + 0x14], eax
imul edx, edx
movzx ecx, byte [0xbbaf53]
and edx, 3
cmp edx, 1
seta al
not al
add al, 0x40
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7f14e8
mov al, byte [0xbbaf53]
cmp edx, 1
mov ah, 1
seta cl
not cl
add cl, 0x40
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbaf53], ah
jne 0x7f13b6
mov ecx, fcn.007a2130
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
not dl
add dl, 0x40
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7f141e
cmp ecx, 1
movzx edx, byte [0xbbaf53]
seta al
not al
add al, 0x40
and al, 7
movzx eax, al
bt edx, eax
jae 0x7f13fe
jmp 0x7f14e8
cmp ecx, 1
movzx ecx, byte [0xbbaf53]
seta al
not al
add al, 0x40
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7f14c2
mov eax, fcn.007a2130
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbbaf40]
seta cl
xor ecx, 0xdd3bcb0f
add ecx, 0x840
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbbaf40], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbbaf44]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbbaf44], eax
or esi, edx
not eax
mov edx, dword [0xbbaf48]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbbaf48], edx
or esi, eax
not edx
mov al, 1
imul edx, esi
mov esi, dword [esp]
shl al, cl
xor dword [0xbbaf4c], edx
or byte [0xbbaf53], al
mov eax, fcn.007a2130
imul eax, eax
and eax, 3
cmp eax, 1
mov al, 0xfe
seta cl
not cl
add cl, 0x40
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbbaf53], al
mov edx, fcn.007f9500
movzx ecx, byte [0xbbafa7]
and edx, 1
inc edx
mov eax, edx
xor eax, fcn.007f9500
sete al
xor al, 5
add al, 0xa4
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7f1639
mov al, byte [0xbbafa7]
mov ecx, edx
mov ah, 1
xor ecx, fcn.007f9500
sete cl
xor cl, 5
add cl, 0xa4
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbafa7], ah
jne 0x7f1519
mov ecx, fcn.007f9500
movzx eax, al
and ecx, 1
inc ecx
mov edx, ecx
xor edx, fcn.007f9500
sete dl
xor dl, 5
add dl, 0xa4
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7f158f
mov eax, ecx
movzx edx, byte [0xbbafa7]
xor eax, fcn.007f9500
sete al
xor al, 5
add al, 0xa4
and al, 7
movzx eax, al
bt edx, eax
jae 0x7f156b
jmp 0x7f1639
xor edx, edx
xor ecx, fcn.007f9500
movzx ecx, byte [0xbbafa7]
sete dl
xor edx, 0xc8f366ad
add edx, 0x10a4
mov eax, edx
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7f1612
mov ebx, 0xbbaf60
xor eax, eax
mov esi, dword [ebx]
mov ecx, eax
mov dword [esp + 0x10], edx
inc eax
shl dword [esp + 0x10], cl
xor cl, 0x1f
xor esi, edx
shr edx, cl
or edx, dword [esp + 0x10]
mov dword [ebx], esi
not esi
add ebx, 4
imul edx, esi
cmp eax, 0x11
jne 0x7f15c0
mov eax, fcn.007f9500
and eax, 1
inc eax
xor eax, fcn.007f9500
mov al, 1
sete cl
xor cl, 5
add cl, 0xa4
and cl, 7
shl al, cl
or byte [0xbbafa7], al
mov esi, dword [esp]
mov ebx, dword [esp + 4]
mov eax, fcn.007f9500
and eax, 1
inc eax
xor eax, fcn.007f9500
mov al, 0xfe
sete cl
xor cl, 5
add cl, 0xa4
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbbafa7], al
mov edx, 0x7fc890
movzx ecx, byte [0xbbafd3]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
not al
and al, 5
movzx eax, al
bt ecx, eax
jb 0x7f17fd
mov al, byte [0xbbafd3]
cmp edx, 2
mov ah, 1
sete cl
not cl
and cl, 5
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbafd3], ah
jne 0x7f1666
mov ecx, 0x7fc890
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete dl
not dl
and dl, 5
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7f16c6
cmp ecx, 2
movzx edx, byte [0xbbafd3]
sete al
not al
and al, 5
movzx eax, al
bt edx, eax
jae 0x7f16a8
jmp 0x7f17fd
cmp ecx, 2
movzx ecx, byte [0xbbafd3]
sete al
not al
and al, 5
movzx eax, al
bt ecx, eax
jb 0x7f17da
mov eax, 0x7fc890
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
mov eax, dword [0xbbafb0]
sete cl
xor ecx, 0xfb2912b5
add ecx, 0x1090
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbbafb0], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [str.Jco5]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [str.Jco5], eax
or esi, edx
not eax
mov edx, dword [0xbbafb8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbbafb8], edx
or esi, eax
not edx
mov eax, dword [0xbbafbc]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbbafbc], eax
or esi, edx
not eax
mov edx, dword [0xbbafc0]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbbafc0], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbbafc4]
mov esi, edx
shl esi, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbbafc4], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbbafc8]
mov esi, eax
shl esi, 6
xor edx, eax
shr eax, 0x19
mov dword [0xbbafc8], edx
or eax, esi
not edx
mov esi, dword [esp]
imul edx, eax
xor dword [0xbbafcc], edx
mov dl, 1
shl dl, cl
or byte [0xbbafd3], dl
mov eax, 0x7fc890
imul eax, eax
and eax, 3
cmp eax, 2
mov al, 0xfe
sete cl
not cl
and cl, 5
xor cl, 7
rol al, cl
and byte [0xbbafd3], al
mov ecx, dword [esp + 8]
xor edx, edx
push ebx
call fcn.00800f40
add esp, 4
mov eax, dword [esp + 0x50]
mov ecx, esi
mov edx, dword [eax]
push 0
push dword [eax + 4]
call fcn.007caea0
add esp, 8
mov esi, eax
mov eax, dword [esp]
shl ebx, 4
mov eax, dword [eax + 0x10]
push esi
push dword [edi + 4]
push dword [esp + 0x14]
push 0xbbaf40
push dword [eax + ebx]
push 0xbbaf60
mov ebx, dword [esp + 0x20]
push ebx
call fcn.00802190
add esp, 0x1c
mov ecx, dword [esp]
mov edx, esi
mov esi, dword [esp]
call fcn.00780810
mov edx, dword [esp + 4]
mov ecx, ebx
call fcn.00802260
push dword [esp + 0xc]
mov ebx, dword [esp + 8]
push 0xbbafb0
push esi
call fcn.0078df10
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, ebx
push eax
call fcn.00802290
add esp, 4
cmp byte [esi + 0xa5], 0
je 0x7f18db
mov eax, dword [esi + 0x10]
shl ebx, 4
mov edx, dword [esp + 0xc]
mov ecx, dword [eax + ebx + 0xc]
add ecx, 0x28
push edi
call fcn.007cb740
add esp, 4
mov ebx, eax
test eax, eax
je 0x7f18bd
mov ecx, esi
call fcn.0078a090
jmp 0x7f18d9
mov ecx, dword [edi + 0x14]
cmp ecx, dword [edi + 0x18]
jne 0x7f18d9
mov edx, dword [edi + 4]
add ecx, 8
call fcn.007cb020
mov ecx, dword [eax + 0x44]
mov dword [edi + 0x20], ecx
mov dword [eax + 0x44], edi
mov edi, ebx
mov ecx, esi
mov edx, edi
call fcn.00780700
mov ecx, esi
mov edx, ebp
call fcn.007d3840
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00989fe9
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret