Function at 0x100d1a40
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
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10146d61
push eax
mov dword fs:[0], esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101e66ac]
push ebx
sub esp, 0x60
push esi
push edi
mov edi, dword [eax + ecx*4]
mov eax, dword [0x101eef7c]
cmp eax, dword [edi + 4]
jg 0x100d1c20
mov cl, byte [0x101e998c]
test cl, cl
jne 0x100d1bbf
cmp byte [0x101ede90], cl
je 0x100d1c0d
mov ecx, dword [0x101eef78]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
lea ecx, [ebp - 0x23]
test eax, eax
jns 0x100d1ace
neg eax
mov edx, eax
call fcn.10004ba0
dec eax
mov byte [eax], 0x2d
jmp 0x100d1ad5
mov edx, eax
call fcn.10004ba0
push ecx
lea ecx, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.100034e0
push 0xa
push str.cl_clanid
push ecx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 1
call fcn.10004a00
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x54], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x44], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x54]
mov ecx, dword [0x101e66f0]
cmp dword [ebp - 0x40], 0xf
push 0
cmova edx, dword [ebp - 0x54]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x1c8]
call eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x100d1b8d
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d1b83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d1b83
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
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10002e40
mov cl, byte [0x101e998c]
mov byte [0x101ede90], 0
test cl, cl
je 0x100d1c0d
mov eax, dword [0x101e66e8]
movss xmm0, dword [eax + 0x10]
mulss xmm0, dword [0x1017f174]
cvttss2si esi, xmm0
test cl, cl
je 0x100d1c0d
mov byte [0x101ede90], 1
cmp esi, dword [0x101ede9c]
je 0x100d1c07
mov eax, dword [0x101eef6c]
cmp eax, dword [edi + 4]
jg 0x100d1c71
mov eax, dword [0x101eef54]
test eax, eax
je 0x100d1c07
mov edx, str._owned.me
mov ecx, edx
call eax
mov dword [0x101ede9c], esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x101eef7c
call fcn.1006d07f
add esp, 4
cmp dword [0x101eef7c], 0xffffffff
jne 0x100d1a91
mov dword [ebp - 4], 0
mov ecx, dword [0x101e674c]
push 0x101711d0
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push 0x101eef7c
mov dword [0x101eef78], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1006d02e
add esp, 4
jmp 0x100d1a91
push 0x101eef6c
call fcn.1006d07f
add esp, 4
cmp dword [0x101eef6c], 0xffffffff
jne 0x100d1bf5
movaps xmm0, xmmword [0x1017f9b0]
mov eax, 0x10
xorps xmm0, xmmword [0x1017fcc0]
mov dword [ebp - 0x2c], 0xbdc2a4c6
mov dword [ebp - 0x28], 0xa4c2c2a4
mov word [ebp - 0x24], 0xb1b5
mov byte [ebp - 0x22], 0x84
movups xmmword [ebp - 0x3c], xmm0
jmp 0x100d1cc0
xor byte [ebp + eax - 0x3c], 0x84
inc eax
cmp eax, 0x1b
jb 0x100d1cc0
mov dword [ebp - 0x1f], 0xede3eae1
xor eax, eax
mov dword [ebp - 0x1b], 0xe0aae1ea
mov word [ebp - 0x17], 0xe8e8
mov byte [ebp - 0x15], 0x84
jmp 0x100d1ce7
xor byte [ebp + eax - 0x1f], 0x84
inc eax
cmp eax, 0xb
jb 0x100d1ce7
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x1f]
call fcn.100c53f0
push 0x101eef6c
mov dword [0x101eef54], eax
call fcn.1006d02e
add esp, 4
jmp 0x100d1bf5