Function at 0x10007903
Capabilities:
Encode data using xor

Disassembly:
push 0x8c
mov eax, 0x1003e061
call fcn.1003d39e
call fcn.1000758a
mov bl, al
call fcn.10007417
mov edi, eax
call fcn.10007417
mov esi, eax
cmp bl, 1
je 0x1000793f
cmp bl, 2
je 0x1000793f
mov edx, dword [0x10056848]
mov ecx, dword [0x10056840]
jmp 0x10007969
mov edx, dword [0x10056848]
test edx, edx
je 0x1000795c
mov ecx, dword [edx + 0x58]
test ecx, ecx
je 0x1000795c
push esi
call fcn.1002d381
mov edx, dword [0x10056848]
mov ecx, dword [0x10056840]
test ecx, ecx
je 0x10007969
mov dword [ecx + 0x4c], esi
cmp bl, 3
je 0x10007973
cmp bl, 4
jne 0x10007993
test edx, edx
je 0x1000798c
cmp dword [edx + 0x58], 0
je 0x1000798c
mov ecx, dword [edx + 0x58]
push esi
call fcn.1002d3d8
mov ecx, dword [0x10056840]
test ecx, ecx
je 0x10007993
mov dword [ecx + 0x50], esi
movzx eax, bl
sub eax, 1
je 0x10007b2d
sub eax, 1
je 0x10007ac4
sub eax, 1
je 0x10007a47
sub eax, 1
jne 0x10007bb0
movaps xmm0, xmmword [0x1004c490]
xor ecx, ecx
push edi
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0x791b4f5d
mov dword [ebp - 0x38], 0x555a575a
mov dword [ebp - 0x34], 0x155e58
mov al, byte [ebp - 0x4c]
xor byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 0x1a
jb 0x100079dd
sub esp, 0x18
mov byte [ebp - 0x31], 0
lea eax, [ebp - 0x4b]
mov ecx, esp
push eax
call fcn.10003da0
lea eax, [ebp - 0x98]
push eax
call fcn.100039e5
add esp, 0x20
mov dword [ebp - 4], 6
cmp dword [eax + 0x14], 0xf
jbe 0x10007a1a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
call fcn.10003da0
mov edx, 0xffff3b3b
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.10007c2d
lea ecx, [ebp - 0x80]
call fcn.10003b9e
lea ecx, [ebp - 0x98]
jmp 0x10007bab
movaps xmm0, xmmword [0x1004c680]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
push edi
movaps xmm0, xmmword [str.eiWkbp_Fehejga]
movups xmmword [ebp - 0x40], xmm0
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x1e
jb 0x10007a60
sub esp, 0x18
mov byte [ebp - 0x31], 0
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.10003da0
lea eax, [ebp - 0x68]
push eax
call fcn.100039e5
add esp, 0x20
mov dword [ebp - 4], 4
cmp dword [eax + 0x14], 0xf
jbe 0x10007a9a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003da0
mov edx, 0xff6565ff
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.10007c2d
lea ecx, [ebp - 0x2c]
call fcn.10003b9e
lea ecx, [ebp - 0x68]
jmp 0x10007bab
movaps xmm0, xmmword [str.1BE]
xor ecx, ecx
push edi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x59425072
mov word [ebp - 0x14], 0x1f
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x14
jb 0x10007adf
sub esp, 0x18
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.10003da0
lea eax, [ebp - 0x48]
push eax
call fcn.100039e5
add esp, 0x20
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0xf
jbe 0x10007b19
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x68]
call fcn.10003da0
mov byte [ebp - 4], 3
mov edx, 0xffff3b3b
jmp 0x10007b98
movaps xmm0, xmmword [0x1004bfc0]
xor ecx, ecx
push edi
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x60342827
mov dword [ebp - 0x18], 0x28332103
mov word [ebp - 0x14], 0x6e
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x18
jb 0x10007b4f
sub esp, 0x18
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.10003da0
lea eax, [ebp - 0x48]
push eax
call fcn.100039e5
add esp, 0x20
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 0xf
jbe 0x10007b86
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x68]
call fcn.10003da0
mov byte [ebp - 4], 1
mov edx, 0xff6565ff
lea ecx, [ebp - 0x68]
call fcn.10007c2d
lea ecx, [ebp - 0x68]
call fcn.10003b9e
lea ecx, [ebp - 0x48]
call fcn.10003b9e
call fcn.1003d37b
ret