Function at 0x100e9940
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x60
call fcn.10107480
mov eax, dword [0x101be8d0]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x6c]
push ebp
mov ebp, dword [esp + 0x7c]
push esi
mov esi, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x8c]
push ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], 1
call fcn.100a2740
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jge 0x100e999c
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.101044ca
add esp, 0x60
ret
call fcn.100ee780
mov ecx, eax
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x100e9988
mov edx, dword [esp + 0x88]
push ebx
mov ebx, edi
mov dword [esp + 0x1c], edx
test esi, esi
jne 0x100e99c1
xor eax, eax
jmp 0x100e99dd
mov eax, dword [esp + 0x78]
cmp eax, 0xffffffff
jne 0x100e99dd
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100e99d0
mov ecx, dword [esp + 0x10]
sub eax, edx
push 0
push ebp
push eax
push esi
push ecx
call fcn.100ee260
add esp, 0x14
test eax, eax
jne 0x100e9a11
mov eax, dword [esp + 0x10]
push eax
call fcn.100ee560
add esp, 4
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.101044ca
add esp, 0x60
ret
call fcn.100ee780
mov edi, eax
test edi, edi
jne 0x100e9a3e
mov ecx, dword [esp + 0x10]
push ecx
call fcn.100ee560
add esp, 4
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.101044ca
add esp, 0x60
ret
cmp dword [esp + 0x8c], 0
je 0x100e9bb2
lea esp, [esp]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
cmp eax, ebp
jg 0x100e9a5e
mov ebp, eax
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edx, eax
shr edx, 0x18
mov byte [esp + 0x14], dl
mov ecx, eax
mov edx, eax
shr ecx, 0x10
shr edx, 8
push esi
push edi
mov byte [esp + 0x1d], cl
mov byte [esp + 0x1e], dl
mov byte [esp + 0x1f], al
call fcn.100ee690
add esp, 8
test eax, eax
je 0x100e9bdd
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push edi
call fcn.100ee490
add esp, 0xc
test eax, eax
je 0x100e9bdd
push 4
lea edx, [esp + 0x18]
push edx
push edi
call fcn.100ee490
add esp, 0xc
test eax, eax
je 0x100e9bdd
push 0
lea eax, [esp + 0x30]
push eax
push edi
call fcn.100ee4b0
add esp, 0xc
test eax, eax
je 0x100e9bdd
push edi
call fcn.100ee5d0
push ebp
lea ecx, [esp + 0x34]
push ecx
push ebx
call fcn.10105350
mov ecx, 1
add esp, 0x10
cmp dword [esp + 0x84], ecx
mov dword [esp + 0x20], ecx
jle 0x100e9b9a
push esi
push edi
call fcn.100ee690
add esp, 8
test eax, eax
je 0x100e9bdd
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
push edi
call fcn.100ee490
add esp, 0xc
test eax, eax
je 0x100e9bdd
push 0
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.100ee4b0
add esp, 0xc
test eax, eax
je 0x100e9bdd
push edi
call fcn.100ee5d0
add esp, 4
test ebp, ebp
jle 0x100e9b7f
lea ecx, [esp + 0x2c]
mov eax, ebx
sub ecx, ebx
mov esi, ebp
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub esi, 1
jne 0x100e9b70
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x84]
mov dword [esp + 0x20], eax
jl 0x100e9b10
mov ecx, 1
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], ecx
sub eax, ebp
add ebx, ebp
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100e9a50
push edi
call fcn.100ee560
mov eax, dword [esp + 0x14]
push eax
call fcn.100ee560
add esp, 8
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.101044ca
add esp, 0x60
ret
push edi
call fcn.100ee560
push esi
call fcn.100ee560
mov ecx, dword [esp + 0x74]
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.101044ca
add esp, 0x60
ret