Function at 0x100d1120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10176b4d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x101cfdb0]
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 eax, dword [0xf368e8]
mov dword [ebp - 0x60], eax
test esi, esi
je 0x100d1359
mov ecx, dword [0xf3e688]
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul ebx, edx, 0x3e8
push ebx
call dword [0x101b07e4]
mov edi, eax
test edi, edi
je 0x100d1359
movzx ecx, byte [edi + 4]
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x100d11c7
cmp ecx, 0x2c
ja 0x100d11c7
mov ecx, dword [ecx*4 + 0xf3e690]
mov edx, esi
sub edx, ebx
cmp esi, 0x3b9aca00
lea eax, [edx + 0x3e8]
cmovb eax, edx
push eax
call dword [0x101b07e8]
jmp 0x100d11c9
xor eax, eax
mov esi, dword [edi + 0x4c]
test eax, eax
je 0x100d11db
mov eax, dword [eax + 0x48]
cmp eax, 0xf4240
cmova esi, eax
mov eax, 0xcccccccd
movaps xmm0, xmmword [str._zfsf_JBfL_Ap_n]
mul esi
movups xmmword [ebp - 0x54], xmm0
movaps xmm0, xmmword [0x101b7e00]
movups xmmword [ebp - 0x44], xmm0
mov ecx, esi
mov dword [ebp - 0x34], 0x5b574b01
mov eax, edx
mov byte [ebp - 0x30], 0
shr eax, 3
lea edx, [eax + eax*4]
add edx, edx
sub ecx, edx
xor edx, edx
push ecx
mov ecx, 0x64
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
push edx
mul esi
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6b5fca6b
push edx
mul esi
shr edx, 0x16
xor ecx, ecx
push edx
nop
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x23
jb 0x100d1240
sub esp, 0x1c
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x53]
mov ecx, esp
push eax
call fcn.100461a0
lea eax, [ebp - 0x2c]
push eax
call fcn.100492e0
add esp, 0x30
mov ecx, 0x2a0
mov dword [ebp - 4], 0
call fcn.100d10f0
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
call fcn.100d1080
mov esi, dword [ebp - 0x58]
add esp, 4
mov dword [ebp - 0x5c], esi
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
push dword [ebp - 0x60]
call eax
cmp dword [ebp - 0x18], 0
jne 0x100d12b4
push esi
push str._d__n
call fcn.10080f00
jmp 0x100d12be
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.100b3dc0
add esp, 8
sub esp, 0x10
mov dword [esp + 0xc], 0x3f340000
mov dword [esp + 8], 0x3f340000
mov dword [esp + 4], 0
mov dword [esp], 0
push esi
call fcn.100d10a0
add esp, 0x14
mov dword [esi + 0xdc], 0xb
mov ecx, dword [ebp - 0x58]
push 0x110
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
mov ecx, dword [ebp - 0x58]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
lea ecx, [ebp - 0x2c]
call fcn.100432e0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100d132e
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100479d0
add esp, 8
mov ecx, dword [ebp - 0x2c]
push 8
push ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.100479d0
add esp, 8
mov eax, esi
jmp 0x100d135b
xor eax, eax
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.101163c0
mov esp, ebp
pop ebp
ret