Function at 0x10107e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183807
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x101dadb0]
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 edi, dword [0x1027c0b4]
mov eax, dword [edi + 0x474]
test eax, eax
je 0x1010814a
cmp dword [eax + 0x13c], 0
jne 0x1010812f
movaps xmm0, xmmword [0x101c29d0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x14], 0x4a5a
movaps xmm0, xmmword [0x101c2a80]
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x12], 0
nop
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x21
jb 0x10107ef0
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10047670
lea eax, [ebp - 0x50]
push eax
call fcn.100da650
push 0x160
mov dword [ebp - 4], 0
call fcn.10120560
mov esi, eax
add esp, 4
mov dword [ebp - 0x54], esi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10087f10
mov byte [ebp - 4], 0
mov ecx, dword [0x1027c0b4]
mov dword [esi], vtable.CUIJuraidMountain.0
mov dword [esi + 0x124], 0
mov dword [esi + 0x128], 0
mov dword [esi + 0x12c], 0
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x138], 0
mov dword [esi + 0x13c], 0
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0
mov byte [esi + 0x148], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x154], 0
mov dword [esi + 0x158], 0
mov dword [esi + 0x15c], 0
mov eax, dword [ecx + 0x474]
mov dword [eax + 0x13c], esi
mov eax, dword [ecx + 0x474]
push eax
mov ecx, dword [eax + 0x13c]
mov edx, dword [ecx]
call dword [edx + 0x58]
cmp dword [ebp - 0x38], 0x10
lea ebx, [ebp - 0x4c]
mov edx, dword [0x1027c0b4]
cmovae ebx, dword [ebp - 0x4c]
mov ecx, ebx
mov esi, dword [edx + 0x388]
lea eax, [ecx + 1]
mov dword [ebp - 0x54], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10108012
sub ecx, dword [ebp - 0x54]
mov eax, 0x7fffffff
sub eax, esi
cmp eax, ecx
jb 0x10108168
cmp dword [edx + 0x38c], 0x10
lea eax, [edx + 0x378]
jb 0x1010803c
mov eax, dword [eax]
push ecx
push ebx
push esi
push eax
push ecx
push dword [ebp - 0x54]
lea ecx, [ebp - 0x30]
call fcn.10049100
mov byte [ebp - 4], 2
lea edx, [ebp - 0x30]
mov eax, dword [0x1027c0b4]
push 1
push edx
mov eax, dword [eax + 0x474]
mov ecx, dword [eax + 0x13c]
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.100447b0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x1010808d
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x30]
push 8
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
call fcn.10048ea0
mov eax, dword [0x1027c0b4]
add esp, 4
mov ecx, dword [eax + 0x474]
push dword [ecx + 0x13c]
call fcn.101041f0
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.101408f0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.100447b0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x10108102
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x50]
push 8
push eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
call fcn.10048ea0
mov eax, dword [edi + 0x474]
add esp, 8
mov ecx, dword [eax + 0x13c]
test ecx, ecx
je 0x1010814a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.1007c990
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.10120250
mov esp, ebp
pop ebp
ret 0x10
call fcn.10044800
int3