Function at 0x1015df10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10198dcc
mov eax, dword fs:[0]
push eax
mov eax, 0x52cc
call fcn.101763f0
mov eax, dword [0x101f9224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x5290], eax
mov ebx, dword [eax + 0x80]
mov dword [ebp - 0x5298], ebx
mov dword [ebp - 0x52a4], 0
mov dword [ebp - 0x52a0], 0
mov dword [ebp - 0x529c], 0
lea ecx, [ebp - 0x52a4]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.1015c390
mov esi, dword [ebp - 0x52a0]
mov edi, dword [ebp - 0x52a4]
sub esi, edi
sar esi, 2
mov dword [ebp - 0x5294], esi
test esi, esi
je 0x1015e2fe
mov ecx, dword [edi]
call fcn.10152a70
mov ecx, eax
call fcn.101603d0
push eax
lea ecx, [ebp - 0xcc]
call fcn.100651a0
mov eax, dword [0x1020038c]
lea ecx, [ebp - 0xcc]
push 3
push ebx
push ecx
push dword [eax + 0x1a]
lea ecx, [ebp - 0x528c]
mov byte [ebp - 4], 1
call fcn.10063360
lea ecx, [ebp - 0x528c]
mov byte [ebp - 4], 2
call sub.SV320mi.dll_Ordinal_935
test ax, ax
je 0x1015e2e8
lea ecx, [ebp - 0x528c]
call fcn.100668a0
push eax
lea ecx, [ebp - 0xcc]
call fcn.101630e0
mov ecx, eax
call dword [sym.imp.FormulaEngine.dll_public:_unsigned_char___thiscall_FormelKey::operator__class_FormelKey_const__const]
test al, al
je 0x1015e0c0
lea ecx, [ebp - 0x528c]
call fcn.100668a0
mov ecx, eax
call dword [sym.imp.FormulaEngine.dll_public:_unsigned_char___thiscall_FormelKey::IsValid_void_const]
test al, al
je 0x1015e080
mov esi, dword [ebp - 0x5290]
lea ecx, [ebp - 0x528c]
mov esi, dword [esi + 0x80]
call fcn.100668a0
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.100bace0
push eax
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 3
call fcn.10163610
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10006cb0
mov esi, dword [ebp - 0x5294]
jmp 0x1015e0c0
push 0
push 0x101a1cb0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000cb10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xcc]
call fcn.10163610
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10006cb0
lea ecx, [ebp - 0x528c]
call fcn.10066ad0
mov dword [ebp - 0x5290], eax
lea ecx, [ebp - 0x528c]
fild dword [ebp - 0x5290]
fstp qword [ebp - 0xc8]
call fcn.10066bf0
mov dword [ebp - 0x5290], eax
lea ecx, [ebp - 0x528c]
fild dword [ebp - 0x5290]
fstp qword [ebp - 0xc0]
call fcn.10066880
lea ecx, [ebp - 0x528c]
mov byte [ebp - 0xa8], al
call fcn.100668a0
push eax
lea ecx, [ebp - 0xcc]
call fcn.101635e0
lea ecx, [ebp - 0x528c]
call fcn.10068890
lea ecx, [ebp - 0x528c]
mov byte [ebp - 0xa6], al
call fcn.10068830
lea ecx, [ebp - 0x528c]
mov byte [ebp - 0xa5], al
call fcn.10066860
mov ecx, dword [eax]
mov dword [ebp - 0x98], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x94], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x90], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x88], ecx
lea ecx, [ebp - 0x528c]
mov ax, word [eax + 0x14]
mov word [ebp - 0x84], ax
call fcn.10066bd0
push eax
lea ecx, [ebp - 0xa4]
call fcn.10148480
lea ecx, [ebp - 0x52d6]
call fcn.1011bf30
push eax
lea ecx, [ebp - 0x1e]
call fcn.1011bf30
push eax
lea ecx, [ebp - 0x52c8]
call fcn.10041540
push ebx
lea ecx, [ebp - 0x52ac]
call fcn.100a6170
cmp byte [ebx + 0x86], 0
mov byte [ebp - 4], 5
jne 0x1015e1dd
mov byte [ebx + 0x86], 1
inc dword [ebx + 0x88]
xor ebx, ebx
test esi, esi
je 0x1015e2c4
lea ecx, [ecx]
mov ecx, dword [edi + ebx*4]
lea eax, [ebp - 0x2c]
push eax
call fcn.10152bb0
mov dx, word [ebp - 0x52c4]
mov esi, eax
movzx ecx, word [esi + 4]
xor cx, dx
and cx, 1
xor dx, cx
mov word [ebp - 0x52c4], dx
movzx ecx, dx
movzx edx, word [esi + 4]
xor dx, cx
and dx, 0xe
xor dx, cx
mov cx, word [ebp - 0x52b6]
mov word [ebp - 0x52c4], dx
mov eax, dword [esi + 6]
mov dword [ebp - 0x52c2], eax
mov eax, dword [esi + 0xa]
mov dword [ebp - 0x52be], eax
mov ax, word [esi + 0x12]
xor ax, cx
and ax, 1
xor cx, ax
mov word [ebp - 0x52b6], cx
movzx eax, cx
movzx ecx, word [esi + 0x12]
xor cx, ax
and cx, 0xe
xor cx, ax
mov word [ebp - 0x52b6], cx
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x5298]
mov dword [ebp - 0x52b4], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x52b0], eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x52c8]
push eax
call fcn.100c09a0
mov ecx, dword [ebp - 0x52a8]
lea eax, [ebp - 0x52c8]
push 1
push eax
call fcn.100a69b0
inc ebx
cmp ebx, dword [ebp - 0x5294]
jb 0x1015e1f0
mov ecx, dword [ebp - 0x5298]
call fcn.10043040
mov ecx, dword [ebp - 0x52a8]
mov byte [ebp - 4], 6
mov dword [ebp - method.DocModTracker.virtual_0], vtable.DocModTracker.0
call fcn.100a6530
lea ecx, [ebp - 0x528c]
call fcn.100653b0
lea ecx, [ebp - 0xcc]
call fcn.101629a0
test edi, edi
je 0x1015e337
mov ecx, dword [ebp - 0x529c]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1015e32d
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1015e32d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.10175e59
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10175e83
mov esp, ebp
pop ebp
ret