Function at 0x100ce610
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10146bc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x84
push esi
mov dword [ebp - 4], 0
cmp byte [0x101e9c48], 0
je 0x100ce8d2
cmp byte [0x101eef24], 0
je 0x100ce8d2
mov eax, dword [0x101e9c4c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 1
sub eax, 0
je 0x100ce723
sub eax, 1
jne 0x100ce7d9
movaps xmm0, xmmword [0x1017f9b0]
xorps xmm0, xmmword [0x10180000]
mov byte [ebp - 0x14], al
mov eax, 0x10
mov dword [ebp - 0x18], 0x7661772e
mov dword [ebp - 0x1f], 0xeae1d8eb
mov word [ebp - 0x1b], 0xd8e3
mov byte [ebp - 0x19], 0x84
movups xmmword [ebp - 0x2f], xmm0
nop word [eax + eax]
xor byte [ebp + eax - 0x2f], 0x84
inc eax
cmp eax, 0x17
jb 0x100ce6d0
lea ecx, [ebp - 0x2f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ce6e1
sub ecx, edx
mov eax, bind
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x100ce91a
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
push edx
cmova eax, dword [ebx + 8]
push eax
push ecx
lea eax, [ebp - 0x2f]
push eax
push ecx
push dword [ebp - 0x17]
lea ecx, [ebp - 0x78]
call fcn.10006770
mov byte [ebp - 4], 3
jmp 0x100ce7a4
movaps xmm0, xmmword [0x1017f9b0]
mov eax, 0x10
xorps xmm0, xmmword [0x10180000]
mov dword [ebp - 0x18], 0x7661772e
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x36], 0xf1ecd8eb
mov word [ebp - 0x32], 0xd8ea
mov byte [ebp - 0x30], 0x84
movups xmmword [ebp - 0x46], xmm0
xor byte [ebp + eax - 0x46], 0x84
inc eax
cmp eax, 0x17
jb 0x100ce756
lea ecx, [ebp - 0x46]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ce767
sub ecx, edx
mov eax, bind
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x100ce91f
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
push edx
cmova eax, dword [ebx + 8]
push eax
push ecx
lea eax, [ebp - 0x46]
push eax
push ecx
push dword [ebp - 0x17]
lea ecx, [ebp - 0x78]
call fcn.10006770
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x90]
call fcn.100064a0
add esp, 4
lea ecx, [ebp - 0x60]
push eax
call fcn.1000c340
lea ecx, [ebp - 0x90]
call fcn.10002e40
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.10002e40
cmp dword [ebp - 0x4c], 0xf
lea eax, [ebp - 0x60]
push 0x20001
cmova eax, dword [ebp - 0x60]
push 0
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
cmp byte [0x101e9c50], 0
je 0x100ce890
push 0xc
push str._was_played.
lea ecx, [ebp - 0x60]
call fcn.10003110
cmp dword [ebp - 0x4c], 0xf
lea edx, [ebp - 0x60]
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
cmova edx, dword [ebp - 0x60]
mov ecx, edx
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ce833
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.10003450
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x78]
mov ecx, esp
push eax
call fcn.10002ed0
call fcn.100fe550
mov ecx, dword [ebp - 0x64]
add esp, 0x18
cmp ecx, 0xf
jbe 0x100ce890
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ce886
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ce8f8
push ecx
push edx
call fcn.1006cb2f
add esp, 8
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x100ce8c0
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ce8b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ce8f8
push ecx
push edx
call fcn.1006cb2f
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x100ce908
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ce8fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ce8fe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006cb2f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10002380
call fcn.10002380
int3