Function at 0x1000e880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c86f
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10051014]
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 esi, ecx
mov dword [ebp - 0x54], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x5c], eax
mov dword [esi + 0x10], 0
jb 0x1000e8e6
mov eax, dword [esi]
jmp 0x1000e8e8
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 1
test edx, edx
je 0x1000eaba
mov ebx, dword [edx + 0x4c]
mov eax, 0x12e0be83
mul edi
mov eax, edi
mov byte [ebp - 0x2c], 0
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
dec eax
cmp eax, 2
mov eax, 0xcccccccd
jbe 0x1000e9d2
mul ebx
movaps xmm0, xmmword [str.__u__LD_JFGv_f_a]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x100493a0]
mov eax, ebx
mov dword [ebp - 0x30], 0x5d514d07
shr edx, 3
movups xmmword [ebp - 0x40], xmm0
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
mov ecx, 0x64
push eax
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
push edx
mul ebx
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6b5fca6b
push edx
mul ebx
shr edx, 0x16
xor ecx, ecx
push edx
nop dword [eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x23
jb 0x1000e9a0
sub esp, 0x18
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.100028c0
lea eax, [ebp - 0x74]
push eax
call fcn.1000b650
add esp, 0x2c
mov ebx, eax
jmp 0x1000ea5d
mul ebx
movaps xmm0, xmmword [str.bwb_NFbHDEt]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x100493f0]
mov eax, ebx
mov dword [ebp - 0x30], 0x5f534f05
shr edx, 3
movups xmmword [ebp - 0x40], xmm0
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
mov ecx, 0x64
push eax
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
push edx
mul ebx
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6b5fca6b
push edx
mul ebx
shr edx, 0x16
xor ecx, ecx
push edx
nop dword [eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x23
jb 0x1000ea30
sub esp, 0x18
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.100028c0
lea eax, [ebp - 0x74]
push eax
call fcn.1000b650
add esp, 0x2c
mov ebx, eax
lea eax, [ebp - 0x28]
cmp eax, ebx
je 0x1000ea91
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1000ea76
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100026c0
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10005710
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x1000eaa7
inc eax
push eax
push dword [ebp - 0x74]
call fcn.100026c0
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x1000eaba
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.100023b0
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x1000ebce
mov ebx, dword [eax + 0x48]
test ebx, ebx
je 0x1000ebce
mov eax, 0x12e0be83
mov dword [ebp - 0x30], 0x408145e
mul edi
mov eax, 0xcccccccd
mov byte [ebp - 0x2c], 0
sub edi, edx
shr edi, 1
add edi, edx
mul ebx
mov eax, ebx
shr edi, 0x1d
shr edx, 3
dec edi
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
mov ecx, 0x64
push eax
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
push edx
mul ebx
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6b5fca6b
xor ecx, ecx
push edx
mul ebx
shr edx, 0x16
push edx
cmp edi, 2
jbe 0x1000eb5f
movaps xmm0, xmmword [0x10049230]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x10048ee0]
movups xmmword [ebp - 0x40], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x23
jb 0x1000eb50
jmp 0x1000eb82
movaps xmm0, xmmword [0x10049250]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x10048ee0]
movups xmmword [ebp - 0x40], xmm0
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x23
jb 0x1000eb75
sub esp, 0x18
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.100028c0
lea eax, [ebp - 0x74]
push eax
call fcn.1000b650
add esp, 0x2c
lea ecx, [ebp - 0x28]
push eax
call fcn.10006540
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x1000ebbb
inc eax
push eax
push dword [ebp - 0x74]
call fcn.100026c0
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x1000ebce
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.100023b0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x1000ebe0
inc ecx
push ecx
push dword [ebp - 0x28]
call fcn.100026c0
mov eax, esi
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.10038745
mov esp, ebp
pop ebp
ret