Function at 0x100d8a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101240b0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x1016e750]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov eax, dword [edi]
test byte [eax + 0x40], 0x4c
jne 0x100d8aa9
push ecx
mov eax, esp
push dword [edi + 4]
push str.EncryptedFileMappingsThread:_skipping_ReadOnly_map_0x_.8x
push eax
call fcn.10044f30
add esp, 0xc
call fcn.100d7970
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [edi + 0x18]
lea ecx, [esp + 0x28]
call fcn.10048130
mov dword [esp + 0x50], 0
push dword [eax]
lea eax, [esp + 0x28]
push dword [edi + 4]
push str.EncryptedFileMappingsThread:_scanning_Write_map_0x_.8x___s_
push eax
call fcn.10044f30
add esp, 0x18
mov byte [esp + 0x48], 1
mov ecx, str.FileTables
mov edx, dword [esp + 0x1c]
call fcn.10043b30
mov byte [esp + 0x48], 0
or eax, 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100d8b0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x48], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d8b32
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [edi + 0x18]
mov dword [esp + 0x18], 0
test ebx, 0xffffff80
jbe 0x100d8d21
xor ecx, ecx
mov edx, 0x80
mov dword [esp + 0x1c], ecx
sub ebx, ecx
cmp ebx, 0x80
cmova ebx, edx
mov edx, dword [edi + 4]
add edx, ecx
or esi, 0xffffffff
cmp dword [0x10172294], 0
jne 0x100d8b75
call fcn.1002d040
xor ecx, ecx
test ebx, ebx
jle 0x100d8b9a
jmp 0x100d8b80
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
shr esi, 8
and eax, 0xff
xor esi, dword [eax*4 + 0x101722a0]
cmp ecx, ebx
jl 0x100d8b80
mov eax, dword [esp + 0x18]
not esi
mov dword [esp + 0x28], esi
lea ecx, [eax*4]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x2c], ecx
cmp esi, dword [ecx + eax]
je 0x100d8cf8
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x90]
call fcn.1003b630
mov edi, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 2
lea ecx, [esp + 0x30]
push 0x10
mov dword [esp + 0x38], 0
call fcn.1002cfe0
push 0x10
push 0x10175178
push dword [esp + 0x38]
call fcn.10103e50
add eax, 0x10
add esp, 0xc
mov dword [esp + 0x34], eax
mov ecx, edi
mov edx, dword [edi]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
add eax, 0x98
push eax
call dword [edx + 0x14]
mov edx, dword [esp + 0x14]
lea esi, [esp + 0x24]
mov ecx, dword [esp + 0x1c]
xor eax, eax
push esi
push ebx
add ecx, dword [edx + 0x10]
mov ebx, dword [esp + 0x24]
adc eax, dword [edx + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], 0
mov edx, dword [edi]
mov eax, dword [ecx + 8]
add eax, ebx
push eax
mov eax, dword [ecx + 4]
mov ecx, edi
add eax, ebx
push eax
call dword [edx]
lea eax, [ebx + 0x80]
push eax
push ebx
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
push str._EncryptedFileMappingsThread:_change_detected_and_committed:_block__d__somewhere_between_pos__d__d_
push eax
call fcn.10044f30
add esp, 0x14
mov byte [esp + 0x48], 3
mov ecx, str.FileTables
mov edx, dword [esp + 0x20]
call fcn.10043b30
mov byte [esp + 0x48], 2
or ecx, 0xffffffff
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
mov esi, dword [esp + 0x28]
test ecx, ecx
jg 0x100d8cb9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x48], 0xffffffff
mov dword [ecx + eax], esi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100d8cf8
push eax
call fcn.1010338d
add esp, 4
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov esi, dword [esp + 0x18]
mov edx, 0x80
mov ebx, dword [edi + 0x18]
inc esi
mov ecx, dword [esp + 0x1c]
mov eax, ebx
sub ecx, 0xffffff80
shr eax, 7
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
cmp esi, eax
jb 0x100d8b54
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret