Function at 0x7b1060
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ecx + 0x98]
mov edi, dword [ecx + 0x58]
mov ebp, dword [ecx]
mov ebx, ecx
mov byte [esp + 3], 1
and eax, 0xc
lea esi, [edi + 0x28]
cmp eax, 4
je 0x7b108d
mov al, byte [ebp + 0x23]
and al, 1
mov byte [esp + 3], al
mov ecx, esi
mov edx, 8
call fcn.007ad470
mov dword [ebx + 0x78], 0
cmp dword [ebx + 0x28], 7
jne 0x7b10b7
mov ecx, ebp
call fcn.0078a090
mov edi, 1
jmp 0x7b1551
mov ecx, dword [ebx + 0x6c]
cmp byte [esp + 3], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 8], ecx
jne 0x7b10d7
xor edi, edi
xor eax, eax
jmp 0x7b10eb
mov esi, dword [ebx + 0x58]
xor eax, eax
test byte [esi + 0x170], 0x10
lea edi, [esi + 0x168]
jne 0x7b10f1
xor ebp, ebp
mov esi, ecx
jmp 0x7b111f
mov edx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
xor ebp, ebp
shr edx, 2
jne 0x7b1108
mov esi, ecx
jmp 0x7b111f
mov esi, ecx
mov dword [esp + 0xc], edi
mov edi, dword [eax + ebp*4]
inc ebp
add esi, dword [edi + 4]
cmp ebp, edx
jne 0x7b110e
mov edi, dword [esp + 0xc]
mov ebp, edx
mov ecx, dword [ebx + 0x24]
lea edx, [ecx + 1]
cmp ecx, esi
mov dword [ebx + 0x24], edx
jge 0x7b155b
mov dword [esp + 4], ebx
mov edx, ecx
mov ebx, ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], edi
mov edx, ebx
sub edx, ecx
jge 0x7b1159
mov ecx, dword [esp + 4]
mov dword [esp + 8], ebx
lea ebx, [ebx + ebx*4]
shl ebx, 2
add ebx, dword [ecx + 0x68]
jmp 0x7b1180
mov ecx, dword [eax]
xor edi, edi
mov ebx, dword [ecx + 4]
jmp 0x7b116c
mov ecx, dword [eax + edi*4 + 4]
sub edx, ebx
inc edi
mov ebx, dword [ecx + 4]
cmp edx, ebx
jge 0x7b1162
lea ebx, [edx + edx*4]
mov edi, dword [esp + 0xc]
mov dword [esp + 8], edx
shl ebx, 2
add ebx, dword [ecx]
cmp byte [esp + 3], 0
jne 0x7b118b
mov edi, ebx
jmp 0x7b1203
cmp byte [ebx + 1], 0xfc
je 0x7b1195
mov edi, ebx
jmp 0x7b1203
test ebp, ebp
jg 0x7b119d
xor ecx, ecx
jmp 0x7b11ac
mov edx, dword [ebx + 0x10]
xor ecx, ecx
cmp dword [eax + ecx*4], edx
je 0x7b11ac
inc ecx
cmp ecx, ebp
jl 0x7b11a2
cmp ecx, ebp
je 0x7b11b4
mov edi, ebx
jmp 0x7b1203
xor eax, eax
test ebp, ebp
lea edx, [ebp*4 + 4]
mov ecx, edi
setne al
mov dword [esp + 0x18], edx
push eax
call fcn.007af820
add esp, 4
mov ecx, dword [esp + 4]
test eax, eax
mov dword [ecx + 0x28], eax
je 0x7b11e6
mov edi, 1
jmp 0x7b1551
mov eax, dword [edi + 0x10]
mov ecx, dword [ebx + 0x10]
mov dword [eax + ebp*4], ecx
or byte [edi + 8], 0x10
inc ebp
mov ecx, dword [esp + 0x18]
mov dword [edi + 0xc], ecx
mov edi, ebx
mov ecx, dword [ebx + 0x10]
add esi, dword [ecx + 4]
mov ecx, dword [esp + 4]
test byte [ecx + 0x98], 8
je 0x7b124d
mov cl, byte [edi]
cmp cl, 0x3e
je 0x7b1225
mov ebx, dword [esp + 4]
cmp cl, 0xae
je 0x7b124d
mov edx, dword [ebx + 0x24]
jmp 0x7b1231
mov ebx, dword [esp + 4]
mov edx, dword [ebx + 0x24]
cmp edx, 1
jg 0x7b124d
mov edi, dword [esp + 0xc]
lea ecx, [edx + 1]
cmp edx, esi
mov dword [ebx + 0x24], ecx
jge 0x7b155b
mov ecx, dword [ebx + 0x6c]
mov ebx, edx
jmp 0x7b1140
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x110]
test eax, eax
je 0x7b1284
mov esi, dword [esp + 4]
mov ecx, 9
mov dword [esi + 0x28], 9
call fcn.00789c30
push eax
push esi
call fcn.007af290
add esp, 8
mov edi, 1
jmp 0x7b1551
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x14]
mov ebx, edi
mov eax, dword [eax + 0x98]
and eax, 0xc
cmp eax, 4
jne 0x7b12d5
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov word [esi + 0x30], 4
mov dword [esi + 0x28], eax
sar eax, 0x1f
mov dword [esi + 0x2c], eax
mov word [esi + 0x58], 0xa02
movzx ecx, byte [ebx]
call fcn.007ba6b0
mov ecx, eax
mov dword [esi + 0x60], eax
call fcn.00783170
mov dword [esi + 0x5c], eax
mov byte [esi + 0x5a], 1
add esi, 0x78
mov word [esi + 8], 4
lea ebp, [esi + 0x78]
mov edx, 0x64
mov eax, dword [ebx + 4]
mov ecx, ebp
mov dword [esi], eax
sar eax, 0x1f
mov dword [esi + 4], eax
mov word [esi + 0x30], 4
mov eax, dword [ebx + 8]
mov dword [esi + 0x28], eax
sar eax, 0x1f
mov dword [esi + 0x2c], eax
mov word [esi + 0x58], 4
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x50], eax
sar eax, 0x1f
mov dword [esi + 0x54], eax
call fcn.007b0050
mov edi, 1
test eax, eax
jne 0x7b1551
mov word [esi + 0x80], 0x202
mov ecx, ebx
mov edx, dword [esi + 0x88]
push dword [esi + 0x90]
call fcn.007ba7e0
add esp, 4
cmp eax, dword [esi + 0x88]
je 0x7b136b
mov dword [esi + 0x84], 0
mov ecx, ebp
mov edx, eax
push 0
push 1
push 0xffffffffffffffff
call fcn.00789750
add esp, 0xc
jmp 0x7b137f
mov ecx, eax
call fcn.00783170
mov dword [esi + 0x84], eax
mov byte [esi + 0x82], 1
mov edx, dword [esp + 4]
mov eax, dword [edx + 0x98]
mov ecx, eax
and ecx, 0xc
cmp ecx, 4
jne 0x7b1530
lea ecx, [esi + 0xa0]
mov edx, 4
call fcn.007b0050
test eax, eax
jne 0x7b1551
mov eax, 0x780d70
mov edx, 3
movzx ecx, byte [0xbb4f1b]
sub edx, eax
mov eax, edx
xor eax, 0x780d70
sete al
not al
add al, 0x40
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7b14e9
mov al, byte [0xbb4f1b]
mov ecx, edx
mov ah, 1
xor ecx, 0x780d70
sete cl
not cl
add cl, 0x40
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb4f1b], ah
jne 0x7b13e3
mov edx, 0x780d70
mov ecx, 3
movzx eax, al
sub ecx, edx
mov edx, ecx
xor edx, 0x780d70
sete dl
not dl
add dl, 0x40
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7b145a
mov eax, ecx
movzx edx, byte [0xbb4f1b]
xor eax, 0x780d70
sete al
not al
add al, 0x40
and al, 7
movzx eax, al
bt edx, eax
jae 0x7b1436
jmp 0x7b14e9
xor ecx, 0x780d70
movzx ecx, byte [0xbb4f1b]
sete al
not al
add al, 0x40
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7b14bf
mov eax, 0x780d70
mov edx, 3
xor ecx, ecx
sub edx, eax
mov eax, dword [0xbb4f10]
xor edx, 0x780d70
mov dl, 1
sete cl
xor ecx, 0x1a67619f
or ecx, 0xc40
xor eax, ecx
mov dword [0xbb4f10], eax
not eax
imul eax, ecx
and cl, 7
shl dl, cl
xor dword [0xbb4f14], eax
or byte [0xbb4f1b], dl
mov eax, 0x780d70
mov ecx, 3
sub ecx, eax
mov al, 0xfe
xor ecx, 0x780d70
sete cl
not cl
add cl, 0x40
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb4f1b], al
mov word [esi + 0xa8], 0x202
mov dword [esi + 0xac], 2
movzx eax, word [ebx + 2]
push eax
push 0xbb4f10
push dword [esi + 0xb0]
push 3
call fcn.00783420
add esp, 0x10
mov edx, dword [esp + 4]
mov byte [esi + 0xaa], 1
mov word [esi + 0xd0], 1
mov eax, dword [edx + 0x98]
not eax
mov edi, 0x64
and eax, 0xc
mov word [edx + 0x90], ax
mov eax, dword [edx + 0x58]
add eax, 0x28
mov dword [edx + 0x78], eax
mov dword [edx + 0x28], 0
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebx + 0x28], 0
mov edi, 0x65
jmp 0x7b1551