Function at 0x7db9e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, ecx
mov ecx, dword [ecx + 0xe4]
mov ebx, edx
test ecx, ecx
je 0x7dc0e7
mov eax, dword [ecx + 0x24]
mov dword [esp], esi
mov dword [esp + 4], ecx
test al, 4
je 0x7dbc47
mov edx, fcn.007b0530
mov eax, fcn.007b0530
movzx ecx, byte [0xbb8fef]
and edx, 1
xor edx, eax
cmp edx, 0xffffffff
sete al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x7dbc2e
mov al, byte [0xbb8fef]
cmp edx, 0xffffffff
mov ah, 1
sete cl
or cl, 6
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb8fef], ah
jne 0x7dba3a
mov ecx, fcn.007b0530
mov edx, fcn.007b0530
movzx eax, al
and ecx, 1
xor ecx, edx
cmp ecx, 0xffffffff
sete dl
or dl, 6
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7dba98
cmp ecx, 0xffffffff
movzx edx, byte [0xbb8fef]
sete al
or al, 6
movzx eax, al
bt edx, eax
jae 0x7dba7c
jmp 0x7dbc2e
cmp ecx, 0xffffffff
movzx edx, byte [0xbb8fef]
sete al
or al, 6
movzx eax, al
bt edx, eax
jb 0x7dbc09
mov edx, fcn.007b0530
mov eax, fcn.007b0530
xor ecx, ecx
and edx, 1
xor edx, eax
mov eax, dword [str.zPq]
cmp edx, 0xffffffff
sete cl
or ecx, 0x47132cee
add ecx, 0x420
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [str.zPq], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb8fc4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb8fc4], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb8fc8]
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb8fc8], edx
or eax, esi
not edx
mov ebp, dword [0xbb8fcc]
imul edx, eax
lea esi, [edx*8]
xor ebp, edx
shr edx, 0x1c
mov dword [0xbb8fcc], ebp
or edx, esi
not ebp
imul ebp, edx
mov edx, dword [0xbb8fd0]
mov esi, ebp
shl esi, 4
xor edx, ebp
shr ebp, 0x1b
mov dword [0xbb8fd0], edx
or ebp, esi
not edx
mov edi, dword [0xbb8fd4]
imul edx, ebp
mov esi, edx
shl esi, 5
xor edi, edx
shr edx, 0x1a
mov dword [0xbb8fd4], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb8fd8]
mov esi, edi
shl esi, 6
xor edx, edi
shr edi, 0x19
mov dword [0xbb8fd8], edx
or edi, esi
not edx
mov ebp, dword [0xbb8fdc]
imul edx, edi
mov esi, edx
shl esi, 7
xor ebp, edx
shr edx, 0x18
mov dword [0xbb8fdc], ebp
or edx, esi
not ebp
imul ebp, edx
mov edx, dword [0xbb8fe0]
mov esi, ebp
shl esi, 8
xor edx, ebp
shr ebp, 0x17
mov dword [0xbb8fe0], edx
or ebp, esi
not edx
mov edi, dword [0xbb8fe4]
imul edx, ebp
mov esi, edx
shl esi, 9
xor edi, edx
shr edx, 0x16
mov dword [0xbb8fe4], edi
or edx, esi
not edi
mov esi, dword [esp]
imul edi, edx
mov dl, 1
xor dword [0xbb8fe8], edi
shl dl, cl
or byte [0xbb8fef], dl
mov ecx, fcn.007b0530
mov eax, fcn.007b0530
and ecx, 1
xor ecx, eax
mov al, 0xfe
cmp ecx, 0xffffffff
sete cl
or cl, 6
xor cl, 7
rol al, cl
and byte [0xbb8fef], al
mov eax, dword [esp + 4]
push dword [eax]
push str.zPq
push esi
call fcn.0078de60
add esp, 0xc
jmp 0x7dc0e7
mov edx, dword [esp + 0x44]
or eax, 4
test ebx, ebx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x24], eax
mov dword [esp + 0x10], edx
jne 0x7dbc8b
movsx eax, word [ecx + 0x2a]
dec eax
lea edx, [eax + eax*4]
mov edi, eax
shl edx, 2
add edx, dword [ecx + 4]
mov ecx, esi
mov dword [esp + 8], edx
call fcn.0080f480
mov al, 1
jmp 0x7dbd2c
mov eax, dword [ebx]
test eax, eax
mov dword [esp + 0x20], eax
jle 0x7dbf4c
mov edi, 0xffffffff
xor eax, eax
mov dword [esp + 8], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], eax
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*4 + 4]
call fcn.007fcea0
mov ecx, eax
mov ebp, eax
call fcn.0080f730
cmp byte [ebp], 0x3b
jne 0x7dbd19
mov eax, dword [esp + 4]
movsx ecx, word [eax + 0x2a]
test ecx, ecx
mov dword [esp + 0x24], ecx
jg 0x7dbcdf
xor edi, edi
jmp 0x7dbd19
mov ebp, dword [ebp + 8]
mov esi, dword [eax + 4]
xor edi, edi
lea ebx, [edi + edi*4]
mov ecx, ebp
mov edx, dword [esi + ebx*4]
call fcn.00783720
test eax, eax
jne 0x7dbd0b
lea edx, [esi + ebx*4]
mov esi, dword [esp]
mov dword [esp + 8], edx
mov ecx, esi
call fcn.0080f480
jmp 0x7dbd15
inc edi
cmp edi, dword [esp + 0x24]
jl 0x7dbce7
mov esi, dword [esp]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
inc eax
cmp eax, dword [esp + 0x20]
jne 0x7dbcac
cmp dword [esp + 0x20], 1
sete al
test al, al
je 0x7dbf4c
cmp dword [esp + 8], 0
je 0x7dbf4c
mov eax, fcn.007d1810
mov edx, 3
movzx ebp, byte [0xbb8fff]
sub edx, eax
xor eax, eax
mov ecx, edx
xor ecx, fcn.007d1810
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt ebp, eax
jb 0x7dbec8
mov al, byte [0xbb8fff]
mov ebp, ebx
mov esi, edx
xor ecx, ecx
mov ah, 1
xor esi, fcn.007d1810
sete cl
mov ebx, ecx
not ebx
lea ecx, [ecx + ebx*2 + 4]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb8fff], ah
jne 0x7dbd7c
mov edx, fcn.007d1810
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov esi, ecx
xor esi, fcn.007d1810
sete dl
mov ebx, edx
not ebx
lea edx, [edx + ebx*2 + 4]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7dbe09
mov esi, dword [esp]
mov ebx, ebp
mov edx, ecx
xor eax, eax
movzx ebp, byte [0xbb8fff]
xor edx, fcn.007d1810
sete al
mov edx, eax
not edx
lea eax, [eax + edx*2 + 4]
and al, 7
movzx eax, al
bt ebp, eax
jae 0x7dbdde
jmp 0x7dbec8
xor eax, eax
xor ecx, fcn.007d1810
movzx edx, byte [0xbb8fff]
mov esi, dword [esp]
mov ebx, ebp
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7dbe99
mov eax, fcn.007d1810
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.007d1810
sete al
mov ecx, eax
not ecx
and ecx, 0x1b
lea ecx, [eax + ecx*2 + 0x3a4e3ba4]
mov eax, dword [0xbb8ff0]
xor eax, ecx
mov dword [0xbb8ff0], eax
not eax
mov edx, dword [0xbb8ff4]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb8ff4], edx
or esi, eax
not edx
mov al, 1
imul edx, esi
mov esi, dword [esp]
shl al, cl
xor dword [0xbb8ff8], edx
or byte [0xbb8fff], al
mov eax, fcn.007d1810
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.007d1810
sete al
mov ecx, eax
not ecx
lea ecx, [eax + ecx*2 + 4]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb8fff], al
mov ecx, dword [esp + 8]
mov edx, 0xc26bb9
call fcn.00797de0
mov ecx, eax
mov edx, 0xbb8ff0
call fcn.00783720
cmp dword [esp + 0x14], 1
mov ecx, dword [esp + 4]
je 0x7dbf4c
test eax, eax
jne 0x7dbf4c
test ebx, ebx
je 0x7dbf1c
cmp byte [esi + 0xc8], 2
jb 0x7dbf1c
mov ecx, dword [ebx + 4]
call fcn.007fcea0
mov ecx, dword [esp + 4]
lea edx, [ecx + 0x28]
mov ecx, esi
push eax
call fcn.008022f0
mov ecx, dword [esp + 8]
add esp, 4
mov eax, dword [esp + 0x18]
shl eax, 3
or dword [ecx + 0x24], eax
test ebx, ebx
mov word [ecx + 0x28], di
mov eax, dword [esp + 0x10]
mov byte [ecx + 0x32], al
je 0x7dbf3e
mov al, byte [ebx + 0xc]
mov byte [esi + 0xc6], al
mov ecx, esi
mov edx, ebx
call fcn.0080f750
jmp 0x7dc0e7
cmp dword [esp + 0x18], 0
je 0x7dc0c4
mov edx, fcn.007c4050
xor eax, eax
movzx edi, byte [0xbb903f]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt edi, eax
jb 0x7dc0b4
mov al, byte [0xbb903f]
mov ebp, ebx
xor ecx, ecx
cmp edx, 1
mov ah, 1
seta cl
mov ebx, ecx
not ebx
lea ecx, [ecx + ebx*2 + 4]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb903f], ah
jne 0x7dbf8e
mov ecx, fcn.007c4050
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
mov ebx, edx
not ebx
lea edx, [edx + ebx*2 + 4]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7dc008
mov ebx, ebp
xor eax, eax
cmp ecx, 1
movzx edi, byte [0xbb903f]
seta al
mov edx, eax
not edx
lea eax, [eax + edx*2 + 4]
and al, 7
movzx eax, al
bt edi, eax
jae 0x7dbfe2
jmp 0x7dc0b4
xor eax, eax
cmp ecx, 1
movzx edi, byte [0xbb903f]
seta al
mov ecx, eax
not ecx
and ecx, 0x8b
lea edx, [eax + ecx*2 - 0x1a10b0fc]
mov eax, edx
and al, 7
movzx eax, al
bt edi, eax
jb 0x7dc087
mov esi, 0xbb9000
xor eax, eax
mov edi, dword [esi]
mov ecx, eax
mov ebx, edx
inc eax
shl ebx, cl
xor cl, 0x1f
xor edi, edx
shr edx, cl
mov dword [esi], edi
or edx, ebx
not edi
add esi, 4
imul edx, edi
cmp eax, 0xf
jne 0x7dc03b
mov eax, fcn.007c4050
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
not eax
lea ecx, [ecx + eax*2 + 4]
mov al, 1
and cl, 7
shl al, cl
or byte [0xbb903f], al
mov esi, dword [esp]
mov eax, fcn.007c4050
xor ecx, ecx
mov ebx, ebp
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
not eax
lea ecx, [ecx + eax*2 + 4]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb903f], al
push 0xbb9000
push esi
call fcn.0078de60
add esp, 8
jmp 0x7dc0e7
mov ecx, esi
xor edx, edx
push 2
push 0
push dword [esp + 0x1c]
push 0
push 0
push dword [esp + 0x24]
push ebx
push 0
push 0
call fcn.007dc100
add esp, 0x24
xor ebx, ebx
mov ecx, dword [esi]
mov edx, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.007cb9f0