Function at 0x100bab50
Capabilities:
Encode data using xor
Encrypt data using speck

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 0x100e4655
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x100f5008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [0x100f5024]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x100bb1f9
mov eax, dword [0x101235bc]
add eax, 0xffffffcc
xor eax, 0x920a48e6
cmp dword [eax + edx], 0
jne 0x100bb1f9
cmp byte [0x100fc8ec], 0
je 0x100bac95
mov esi, dword [edx + 0xba90]
mov ecx, dword [0x10129370]
cmp esi, ecx
jle 0x100bac84
lea edi, [esi + esi*4]
shl edi, 2
mov ecx, dword [0x10123388]
mov edx, dword [edx + 0xba84]
push ecx
mov dword [esp], 0x40800000
add edx, 0xffffffec
push 0x7f
push 0
push 0
mov dword [ebp - 0x84], 0
add edx, edi
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x90], 0x40000000
mov dword [ebp - 0x8c], 0x40000000
mov dword [ebp - 0x88], 0x40000000
mov dword [ebp - 0x2c], 0xc0000000
mov dword [ebp - 0x28], 0xc0000000
mov dword [ebp - 0x24], 0xc0000000
mov eax, dword [ecx]
lea ecx, [ebp - 0x84]
push 0xff
push ecx
lea ecx, [ebp - 0x90]
mov eax, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [0x10123388]
push edx
call eax
mov ecx, dword [0x10129370]
dec esi
mov edx, dword [ebp - 0x1c]
add edi, 0xffffffec
cmp esi, ecx
jg 0x100babe0
mov eax, dword [edx + 0xba90]
cmp eax, ecx
cmovne ecx, eax
mov dword [0x10129370], ecx
cmp dword [0x10124028], 0
je 0x100bb1f9
mov ecx, dword [0x1012403c]
test ecx, ecx
je 0x100bb1f9
mov eax, dword [0x101233ac]
cmp dword [0x10129374], ecx
je 0x100bacda
movss xmm0, dword [eax + 0x20]
addss xmm0, dword [eax + 0x10]
mov dword [0x10129374], ecx
movss dword [0x10106d34], xmm0
jmp 0x100bb1f9
movss xmm0, dword [eax + 0x10]
comiss xmm0, dword [0x10106d34]
jb 0x100bb1f9
mov ecx, 0x1012402c
mov dword [0x10106d34], 0x7f7fffff
call fcn.10045f40
mov ecx, 0x10124018
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x58], eax
call fcn.10045f40
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x28]
call eax
imul edi, eax, 0x510
cmp byte [ebp - 0x30], 0
jne 0x100bb1de
cmp byte [ebp - 0x6f], 0
jne 0x100bae91
movaps xmm0, xmmword [0x100ea3d0]
mov eax, 0x10
pxor xmm0, xmmword [0x100ea000]
mov dword [ebp - 0x60], 0xdf8cc3d8
mov dword [ebp - 0x5c], 0xcdc9dedc
mov word [ebp - 0x58], 0xa6c8
mov byte [ebp - 0x56], 0xac
movups xmmword [ebp - 0x70], xmm0
nop dword [eax]
xor byte [ebp + eax - 0x70], 0xac
inc eax
cmp eax, 0x1b
jb 0x100bad80
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x38]
call fcn.10027b60
mov dword [ebp - 4], 0
lea edx, [ebp - 0x38]
mov eax, dword [0x100e8ea8]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0x41000000
push eax
call fcn.1002a130
add esp, 8
mov edx, eax
mov byte [ebp - 4], 1
mov ecx, dword [0x10123554]
cmp ecx, dword [0x10123558]
je 0x100bae03
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x10123554], 8
jmp 0x100bae0a
push edx
push ecx
call fcn.1002a5e0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x100bae38
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x100bae38
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x100bae38
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.10029ec0
push 0x100f5020
call fcn.10030e50
inc dword [edi + 0x10106f14]
add esp, 0x1c
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x100bb1f9
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bb1d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100bb1d2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, 0x10124018
call fcn.10045f40
mov ecx, 0x10124018
mov esi, eax
call fcn.10045f40
movss xmm1, dword [eax + 0x14]
movss xmm0, dword [eax + 0x18]
subss xmm0, dword [ebp - 0x68]
subss xmm1, dword [ebp - 0x6c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1001da00
movss xmm1, dword [esi + 0x14]
movaps xmm2, xmm0
movss xmm0, dword [esi + 0x18]
subss xmm0, dword [ebp - 0x5c]
subss xmm1, dword [ebp - 0x60]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1001da00
comiss xmm2, xmm0
jbe 0x100baff4
movaps xmm0, xmmword [0x100ea3d0]
mov eax, 0x10
pxor xmm0, xmmword [0x100ea000]
mov dword [ebp - 0x60], 0xc38cc3d8
mov dword [ebp - 0x5c], 0xd9c0cfcf
mov dword [ebp - 0x58], 0xc2c3c5df
mov word [ebp - 0x54], 0xaca6
movups xmmword [ebp - 0x70], xmm0
xor byte [ebp + eax - 0x70], 0xac
inc eax
cmp eax, 0x1e
jb 0x100baf30
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x38]
call fcn.10027b60
mov dword [ebp - 4], 2
lea edx, [ebp - 0x38]
mov eax, dword [0x100e8ea8]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x41000000
push eax
call fcn.1002a130
add esp, 8
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, dword [0x10123554]
cmp ecx, dword [0x10123558]
je 0x100bafb3
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x10123554], 8
jmp 0x100bafba
push edx
push ecx
call fcn.1002a5e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x100bae38
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x100bae38
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x100bae38
jmp 0x100bae33
mov ecx, 0x10124018
call fcn.10045f40
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x3f0]
cmp eax, 7
jne 0x100bb017
inc dword [edi + 0x10107374]
jmp 0x100bb0b7
cmp eax, 8
jne 0x100bb027
inc dword [edi + 0x10107374]
jmp 0x100bb0b7
cmp eax, 0xd
jne 0x100bb037
inc dword [edi + 0x1010737c]
jmp 0x100bb0b7
cmp eax, 0xe
jne 0x100bb044
inc dword [edi + 0x10107380]
jmp 0x100bb0b7
cmp eax, 0xf
jne 0x100bb051
inc dword [edi + 0x10107384]
jmp 0x100bb0b7
cmp eax, 0x10
jne 0x100bb05e
inc dword [edi + 0x10107388]
jmp 0x100bb0b7
cmp eax, 4
jne 0x100bb06b
inc dword [edi + 0x1010738c]
jmp 0x100bb0b7
cmp eax, 0x15
jne 0x100bb078
inc dword [edi + 0x10107390]
jmp 0x100bb0b7
cmp eax, 6
jne 0x100bb085
inc dword [edi + 0x10107390]
jmp 0x100bb0b7
cmp eax, 3
jne 0x100bb092
inc dword [edi + 0x10107394]
jmp 0x100bb0b7
cmp eax, 0x11
jne 0x100bb09f
inc dword [edi + 0x10107390]
jmp 0x100bb0b7
cmp eax, 0x12
jne 0x100bb0ac
inc dword [edi + 0x10107390]
jmp 0x100bb0b7
cmp eax, 9
jne 0x100bb0b7
inc dword [edi + 0x10107398]
movaps xmm0, xmmword [0x100ea3d0]
mov eax, 0x10
pxor xmm0, xmmword [0x100ea000]
inc dword [edi + 0x10106f14]
mov dword [ebp - 0x60], 0xde8cc3d8
mov dword [ebp - 0x5c], 0xc0c3dfc9
mov dword [ebp - 0x58], 0xa6dec9da
mov byte [ebp - 0x54], 0xac
movups xmmword [ebp - 0x70], xmm0
nop
xor byte [ebp + eax - 0x70], 0xac
inc eax
cmp eax, 0x1d
jb 0x100bb0f0
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x50]
call fcn.10027b60
mov dword [ebp - 4], 4
lea edx, [ebp - 0x50]
mov eax, dword [0x100e8ea8]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x41000000
push eax
call fcn.1002a130
add esp, 8
mov edx, eax
mov byte [ebp - 4], 5
mov ecx, dword [0x10123554]
cmp ecx, dword [0x10123558]
je 0x100bb173
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [0x10123554], 8
jmp 0x100bb17a
push edx
push ecx
call fcn.1002a5e0
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x74]
test edi, edi
je 0x100bb1a6
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x100bb1a6
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x100bb1a6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
sub esp, 0x18
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.10029ec0
push 0x100f5020
call fcn.10030e50
mov ecx, dword [ebp - 0x3c]
add esp, 0x1c
cmp ecx, 0x10
jb 0x100bb1f9
mov edx, dword [ebp - 0x50]
inc ecx
jmp 0x100bae69
push ecx
push edx
call fcn.100d9f61
add esp, 8
jmp 0x100bb1f9
add dword [0x1012403c], 0xffffffff
jne 0x100bb1f3
mov dword [0x10124038], 0
jmp 0x100bb1f9
inc dword [0x10124038]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d9ae6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret