Function at 0x100ce4b0
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 0x101469f0
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 0x100ce772
cmp byte [0x101eef24], 0
je 0x100ce772
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 0x100ce5c3
sub eax, 1
jne 0x100ce679
movaps xmm0, xmmword [0x1017fe80]
xorps xmm0, xmmword [0x1017fde0]
mov byte [ebp - 0x14], al
mov eax, 0x10
mov dword [ebp - 0x18], 0x7661772e
mov dword [ebp - 0x1f], 0xbab188bb
mov word [ebp - 0x1b], 0x88b3
mov byte [ebp - 0x19], 0xd4
movups xmmword [ebp - 0x2f], xmm0
nop word [eax + eax]
xor byte [ebp + eax - 0x2f], 0xd4
inc eax
cmp eax, 0x17
jb 0x100ce570
lea ecx, [ebp - 0x2f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ce581
sub ecx, edx
mov eax, bind
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x100ce7ba
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 0x100ce644
movaps xmm0, xmmword [0x1017fe80]
mov eax, 0x10
xorps xmm0, xmmword [0x1017fde0]
mov dword [ebp - 0x18], 0x7661772e
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x36], 0xa1bc88bb
mov word [ebp - 0x32], 0x88ba
mov byte [ebp - 0x30], 0xd4
movups xmmword [ebp - 0x46], xmm0
xor byte [ebp + eax - 0x46], 0xd4
inc eax
cmp eax, 0x17
jb 0x100ce5f6
lea ecx, [ebp - 0x46]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ce607
sub ecx, edx
mov eax, bind
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x100ce7bf
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 0x100ce730
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 0x100ce6d3
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.100fe430
mov ecx, dword [ebp - 0x64]
add esp, 0x18
cmp ecx, 0xf
jbe 0x100ce730
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ce726
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ce798
push ecx
push edx
call fcn.1006ccbf
add esp, 8
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x100ce760
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ce756
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ce798
push ecx
push edx
call fcn.1006ccbf
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 0x100ce7a8
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ce79e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ce79e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006ccbf
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