Function at 0x100e4740
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x10163b96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, 7
push ebx
mov word [esp + 0x2e], ax
mov word [esp + 0x30], ax
mov word [esp + 0x3a], ax
mov word [esp + 0x3c], ax
mov al, byte [0x101957a0]
push ebp
mov ebx, ecx
push esi
test al, 1
push edi
mov dword [esp + 0x18], ebx
mov word [esp + 0x30], 0x54
mov word [esp + 0x32], 0xb
mov word [esp + 0x34], 2
mov word [esp + 0x36], 0xc
mov word [esp + 0x38], 0xf
mov word [esp + 0x3e], 0x1d
mov word [esp + 0x40], 0x1f
mov word [esp + 0x42], 5
mov word [esp + 0x44], 0x1a
jne 0x100e482e
or al, 1
push 0x1c
mov byte [0x101957a0], al
call fcn.1013c2df
add esp, 4
mov dword [0x101957a4], eax
mov edi, 0x30
xor esi, esi
mov bp, word [esp + esi + 0x30]
push edi
mov eax, ebp
mov ecx, 0x101957a4
and eax, 0xffff
push eax
call fcn.1004a650
mov ecx, dword [0x101957a4]
xor eax, ebp
xor eax, edi
xor edi, edi
mov word [esi + ecx], ax
mov eax, dword [0x101957a4]
mov di, word [esi + eax]
add esi, 2
cmp esi, 0x1a
jb 0x100e47e0
xor ebp, ebp
push 0x100e82f0
mov word [eax + 0x1a], bp
call fcn.1013c36b
add esp, 4
jmp 0x100e4830
xor ebp, ebp
mov edi, dword [0x101957a4]
mov dl, byte [esp + 0x13]
push edi
mov byte [esp + 0x24], dl
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.1013c2c2
add esp, 4
mov esi, eax
lea ecx, [esp + 0x20]
push 1
push esi
call fcn.1000c010
test al, al
je 0x100e487e
mov eax, dword [esp + 0x24]
push esi
push edi
push eax
call fcn.100017d0
add esp, 0xc
lea ecx, [esp + 0x20]
push esi
call fcn.1000bff0
push 0x14
lea ecx, [esp + 0x24]
push 0x78
push ecx
mov ecx, ebx
mov dword [esp + 0x60], ebp
call fcn.1007a440
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x54], 2
cmp ecx, ebp
je 0x100e48bd
mov al, byte [ecx - 1]
test al, al
je 0x100e48b1
cmp al, 0xff
je 0x100e48b1
dec al
mov byte [ecx - 1], al
jmp 0x100e48bd
lea eax, [ecx - 2]
push eax
call fcn.101307a0
add esp, 4
mov dl, byte [esp + 0x13]
mov al, byte [esp + 0x13]
lea esi, [ebx + 0x28]
push 1
push ebp
mov ecx, esi
mov dword [esp + 0x24], esi
mov byte [esi], dl
mov byte [esi + 1], al
mov byte [esi + 8], 0
call fcn.100e8630
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.1013092f
mov eax, dword [0x10193f90]
mov byte [esp + 0x54], 3
cmp eax, ebp
jne 0x100e490c
mov eax, edi
xor edi, edi
mov dword [0x10193f90], eax
mov dword [eax], ebp
mov ecx, dword [0x10193f90]
mov dword [ecx + 8], ebp
mov ecx, dword [0x10193f8c]
inc ecx
mov dword [0x10193f8c], ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 2
call fcn.101309cb
cmp edi, ebp
je 0x100e4934
push edi
call fcn.101307a0
add esp, 4
mov edx, dword [0x10193f90]
push ebp
push edx
mov ecx, esi
call fcn.100e8630
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebp
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
lea eax, [ebx + 0x38]
mov byte [esp + 0x54], 5
push eax
call fcn.1001e860
mov byte [esp + 0x58], 6
mov dword [ebx], 0x1016aabc
mov al, byte [0x1018cb8c]
mov cl, al
push ecx
push 0xffffffffffffffb9
push 0x44
push eax
push 0x36
call fcn.100e49c0
mov cl, byte [0x1018cb8c]
mov dl, 0x36
add al, cl
dec cl
sub dl, cl
mov byte [0x1018cb8c], cl
push edx
push 0x74
push eax
push 0x34
call fcn.100ea6d0
mov ecx, dword [esp + 0x74]
add esp, 0x28
mov dword [esp + 0x54], 0xffffffff
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret