Function at 0x100ef419
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10190138
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x101f9224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 4]
call sub.SV320mi.dll_Ordinal_1572
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push edi
call sub.SV320mi.dll_Ordinal_269
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 0
call sub.SV320mi.dll_Ordinal_1703
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.SV320mi.dll_Ordinal_405
mov ecx, dword [ebx + 4]
call sub.SV320mi.dll_Ordinal_1704
mov eax, dword [ebx + 0x3ae]
lea ecx, [ebp - 0x14]
add eax, 0x42
push eax
call sub.SV320mi.dll_Ordinal_108
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 2
call sub.SV320mi.dll_Ordinal_1735
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.SV320mi.dll_Ordinal_358
movzx esi, word [ebp + 8]
lea eax, [esi + esi*2]
lea eax, [eax*8 + 0xfc]
add eax, ebx
mov dword [ebp - 0x14], eax
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x100ef219
mov ecx, dword [eax]
push ecx
lea ecx, [ebp + 8]
call sub.TL320mi.dll_Ordinal_73
mov ecx, dword [ebx + 4]
lea eax, [ebp + 8]
push 0xffff
push 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 3
push eax
call sub.SV320mi.dll_Ordinal_1211
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.TL320mi.dll_Ordinal_118
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x10]
add eax, 4
push eax
call sub.SV320mi.dll_Ordinal_229
mov ecx, dword [ebx + 0x3ae]
push esi
mov dword [ebp - 4], 4
call fcn.10053090
push eax
lea ecx, [ebp - 0x64]
call fcn.100ed120
push 0xfa0
lea ecx, [ebp - 0x10]
call sub.SV320mi.dll_Ordinal_1893
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x100ef2a9
movzx eax, word [ebp - 0x5c]
mov word [ebp - 0x2c], ax
movzx eax, word [ebp - 0x5a]
mov word [ebp - 0x2a], ax
movzx eax, word [ebp - 0x58]
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
call sub.SV320mi.dll_Ordinal_1708
push 1
lea ecx, [ebp - 0x10]
call sub.SV320mi.dll_Ordinal_1864
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x10]
push eax
call sub.SV320mi.dll_Ordinal_1816
mov eax, dword [ebp - 0x48]
cmp eax, 4
ja case.default.0x100ef2d7
jmp dword [eax*4 + 0x100ef524]
mov eax, dword [ebp - 0x18]
mov edi, dword [edi]
lea ecx, [eax + eax]
mov eax, 0x55555556
imul ecx
mov eax, dword [ebp + 0xc]
mov ecx, ebx
mov esi, edx
shr esi, 0x1f
add esi, edx
add esi, dword [eax + 4]
call fcn.100e8c90
mov ecx, dword [ebp - 0x18]
add eax, edi
mov edi, dword [ebp + 0xc]
add ecx, ecx
mov dword [ebp - 0x24], eax
mov eax, 0x55555556
imul ecx
mov ecx, dword [ebx + 4]
mov eax, edx
mov dword [ebp - 0x20], esi
mov esi, dword [edi]
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2c], esi
add eax, dword [edi + 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.SV320mi.dll_Ordinal_876
jmp case.default.0x100ef2d7
mov esi, dword [edi]
mov ecx, ebx
call fcn.100e8c90
add eax, esi
cmp esi, eax
jae case.default.0x100ef2d7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], esi
lea ecx, [eax + eax]
mov eax, 0x55555556
imul ecx
lea eax, [esi + 0xfa0]
mov ecx, edx
mov dword [ebp - 0x2c], eax
shr ecx, 0x1f
lea eax, [ebp - 0x2c]
add ecx, edx
add ecx, dword [edi + 4]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 4]
push eax
call sub.SV320mi.dll_Ordinal_876
add esi, 0x1f40
mov ecx, ebx
mov dword [ebp + 8], esi
mov esi, dword [edi]
call fcn.100e8c90
add eax, esi
mov esi, dword [ebp + 8]
cmp esi, eax
jb 0x100ef352
jmp case.default.0x100ef2d7
mov esi, dword [edi]
mov ecx, ebx
call fcn.100e8c90
add eax, esi
cmp esi, eax
jae case.default.0x100ef2d7
mov edi, edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], esi
lea ecx, [eax + eax]
mov eax, 0x55555556
imul ecx
lea eax, [esi + 0x1f40]
mov ecx, edx
mov dword [ebp - 0x2c], eax
shr ecx, 0x1f
lea eax, [ebp - 0x2c]
add ecx, edx
add ecx, dword [edi + 4]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 4]
push eax
call sub.SV320mi.dll_Ordinal_876
add esi, 0x2ee0
mov ecx, ebx
mov dword [ebp + 8], esi
mov esi, dword [edi]
call fcn.100e8c90
add eax, esi
mov esi, dword [ebp + 8]
cmp esi, eax
jb 0x100ef3c0
jmp case.default.0x100ef2d7
mov esi, dword [edi]
mov ecx, ebx
mov byte [ebp + 0xb], 1
call fcn.100e8c90
add eax, esi
cmp esi, eax
jae case.default.0x100ef2d7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], esi
lea ecx, [eax + eax]
mov eax, 0x55555556
imul ecx
movzx eax, byte [ebp + 0xb]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, dword [edi + 4]
neg eax
mov dword [ebp - 0x28], ecx
sbb eax, eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 4]
and eax, 0xfa0
add eax, 0xfa0
add eax, esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.SV320mi.dll_Ordinal_876
mov cl, byte [ebp + 0xb]
movzx eax, cl
neg eax
sbb eax, eax
xor cl, 1
and eax, 0xfa0
mov byte [ebp + 0xb], cl
add eax, 0x1f40
mov ecx, ebx
add esi, eax
mov dword [ebp + 0xc], esi
mov esi, dword [edi]
call fcn.100e8c90
add eax, esi
mov esi, dword [ebp + 0xc]
cmp esi, eax
jb 0x100ef430
mov ecx, dword [edi + 4]
mov esi, dword [edi]
mov edi, dword [ebp - 0x18]
add edi, ecx
mov ecx, ebx
call fcn.100e8c90
mov dword [ebp - 0x34], edi
lea eax, [esi + eax*2]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0x10
jb 0x100ef4cd
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0xc]
call sub.TL320mi.dll_Ordinal_73
mov ecx, dword [ebx + 4]
lea eax, [ebp + 0xc]
push 0xffff
push 0
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 5
push eax
call sub.SV320mi.dll_Ordinal_886
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call sub.TL320mi.dll_Ordinal_118
mov ecx, dword [ebx + 4]
call sub.SV320mi.dll_Ordinal_1554
lea ecx, [ebp - 0x10]
call sub.SV320mi.dll_Ordinal_397
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc