Function at 0x100e76e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push edi
mov edi, eax
mov ebx, dword [edi]
test dword [ebx + 0xc], 0x4000000
movzx eax, byte [edi + 0x1ba]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x24], eax
je 0x100e7c06
cmp dword [edi + 0xc], 0
jne 0x100e7727
mov eax, ebx
call fcn.100ace60
mov dword [edi + 0xc], eax
test eax, eax
je 0x100e7727
push 0x87
call fcn.100a65d0
add esp, 4
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x44]
mov eax, 0xfff0bdc0
mov dword [ebp - 0xc], eax
test edx, edx
je 0x100e7760
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebx + 4], eax
jle 0x100e7760
mov ecx, dword [ebx + 8]
add ecx, 0xc
lea ebx, [ebx]
cmp dword [ecx], edx
je 0x100e775d
inc eax
add ecx, 0x10
cmp eax, dword [ebx + 4]
jl 0x100e7750
mov dword [ebp - 0xc], eax
mov ecx, dword [ebx + 8]
add eax, eax
mov edx, dword [ecx + eax*8]
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
test eax, eax
je 0x100e77f0
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp byte [edi + 0x1ba], al
je 0x100e77a3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push eax
push edx
push ebx
call fcn.1009f0f0
add esp, 0xc
mov esi, eax
jmp 0x100e785a
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
mov eax, dword [edi]
cmp byte [eax + 0x7c], 0
mov dword [ebp - 0x10], esi
jne 0x100e780c
lea ecx, [edi + 8]
push ecx
mov esi, eax
call fcn.100e6630
add esp, 4
test eax, eax
je 0x100e7809
inc dword [edi + 0x40]
mov dword [edi + 4], eax
cmp dword [ebp - 0x24], 0
je 0x100e7c05
cmp byte [ebx + 0x1e], 0
jne 0x100e7c05
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 4]
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x100e7775
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, ecx
test ecx, ecx
jne 0x100e797b
xor esi, esi
mov dword [ebp - 0x1c], esi
jmp 0x100e7992
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [edi]
push edx
push esi
push eax
call fcn.1009f0f0
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x100e7857
push esi
cmp dword [ebp - 0x14], eax
je 0x100e7841
mov ecx, dword [ebp - 0x14]
push ecx
push str.no_such_table
push str._s:__s._s
call fcn.100abdb0
add esp, 0x10
jmp 0x100e7853
push str.no_such_table
push str._s:__s
call fcn.100abdb0
add esp, 0xc
mov byte [edi + 0x12], 1
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x100e77cc
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x18]
push edx
push eax
push esi
push edi
lea eax, [ebp - 0x20]
call fcn.100afd60
add esp, 0x10
test eax, eax
jne 0x100e77cc
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100e7892
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0x10], eax
cmp dword [ecx + 0x14], ebx
jle 0x100e7902
nop
mov edx, dword [eax + ebx*4]
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx + 4]
jne 0x100e78b2
mov dword [eax + ebx*4], 0xffffffff
mov edx, dword [ebp - 8]
cmp dword [edx + 0x100], 0
je 0x100e78f9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100e78cd
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
jmp 0x100e78d0
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
lea ecx, [eax + eax*2]
mov eax, dword [edx + ecx*8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [esi]
push ecx
push eax
push edx
mov eax, edi
call fcn.100ae5c0
xor ecx, ecx
add esp, 0xc
cmp eax, 2
mov eax, dword [ebp - 0x10]
sete cl
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 4]
inc ebx
cmp ebx, dword [edx + 0x14]
jl 0x100e78a0
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
mov ebx, dword [ebp - 0xc]
push eax
push 0
push ecx
push ebx
mov eax, edi
call fcn.100a8230
mov eax, dword [ebp + 0xc]
inc dword [edi + 0x44]
add esp, 0x10
test eax, eax
je 0x100e7941
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
push edx
mov edx, dword [ebp - 0x18]
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x10]
push eax
push ecx
push edx
push esi
push ebx
push edi
call fcn.100ceb60
add esp, 0x24
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100e7966
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
push 1
push eax
mov eax, dword [ebp - 4]
push edx
push eax
push ecx
push esi
push ebx
push edi
call fcn.100ceb60
add esp, 0x24
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.10097540
add esp, 8
jmp 0x100e77e0
cmp byte [ecx], 0
je 0x100e7986
inc eax
cmp byte [eax], 0
jne 0x100e7980
sub eax, ecx
and eax, 0x3fffffff
mov esi, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x44]
add eax, 0x34
cmp dword [eax + 0xc], 0
mov dword [ebp - 0x18], eax
je 0x100e79dd
xor eax, eax
mov dword [ebp - 0x20], esi
test esi, esi
jle 0x100e79d4
lea ebx, [ebx]
movzx edx, byte [ecx]
movzx edx, byte [edx + 0x1010aea0]
lea esi, [eax*8]
xor edx, esi
xor eax, edx
mov edx, dword [ebp - 0x20]
dec edx
inc ecx
mov dword [ebp - 0x20], edx
test edx, edx
jg 0x100e79b0
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
xor edx, edx
div dword [ecx]
jmp 0x100e79df
xor edx, edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push eax
mov eax, dword [ebp - 0x18]
call fcn.10098500
add esp, 8
test eax, eax
je 0x100e7c05
mov esi, dword [eax + 8]
xor eax, eax
mov dword [ebp - 4], esi
cmp esi, eax
je 0x100e7c05
lea esp, [esp]
cmp byte [esi + 0x18], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
jne 0x100e7a31
cmp dword [edi + 0x1a8], eax
jne 0x100e7a31
cmp byte [edi + 0x158], 0
je 0x100e7bf5
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
push esi
push edx
push edi
lea eax, [ebp - 0x18]
call fcn.100afd60
add esp, 0x10
test eax, eax
je 0x100e7a63
cmp dword [ebp - 0x24], 0
je 0x100e7c05
cmp byte [ebx + 0x1e], 0
jne 0x100e7c05
jmp 0x100e7bf5
cmp byte [ebx + 0x1e], 0
jne 0x100e7be5
cmp byte [ebx + 0xea], 0
je 0x100e7ab2
mov eax, 0x40
cmp ax, word [ebx + 0xe8]
ja 0x100e7ab2
mov esi, dword [ebx + 0xf4]
test esi, esi
je 0x100e7ab2
mov ecx, dword [esi]
inc dword [ebx + 0xec]
mov eax, dword [ebx + 0xec]
mov dword [ebx + 0xf4], ecx
cmp eax, dword [ebx + 0xf0]
jle 0x100e7b0c
mov dword [ebx + 0xf0], eax
jmp 0x100e7b0c
cmp dword [0x1012d968], 0
je 0x100e7aed
mov eax, dword [0x10134a60]
test eax, eax
je 0x100e7ace
push eax
call dword [0x1012d9b0]
add esp, 4
lea ebx, [ebp - 0x1c]
mov eax, 0x40
call fcn.100a3230
mov eax, dword [0x10134a60]
test eax, eax
je 0x100e7afb
push eax
call dword [0x1012d9b8]
jmp 0x100e7af8
push 0x40
call dword [0x1012d980]
mov dword [ebp - 0x1c], eax
add esp, 4
mov esi, dword [ebp - 0x1c]
test esi, esi
jne 0x100e7b09
mov edx, dword [ebp - 8]
mov byte [edx + 0x1e], 1
mov ebx, dword [ebp - 8]
test esi, esi
je 0x100e7be5
push 0x40
push 0
push esi
call fcn.1007f8e0
mov eax, 1
mov word [esi + 2], ax
movsx ecx, word [esi]
push ecx
push eax
push ebx
mov eax, esi
call fcn.100a88b0
add esp, 0x18
cmp byte [ebx + 0x1e], 0
mov esi, eax
je 0x100e7b4c
push esi
mov eax, ebx
call fcn.1009f700
jmp 0x100e7be2
movsx eax, word [esi]
mov ebx, dword [ebp - 4]
lea edx, [eax*8]
sub edx, eax
mov dword [esi + edx*8 - 0x2c], 0
mov dword [esi + edx*8 - 0x30], 0
lea eax, [esi + edx*8 - 0x30]
mov eax, dword [ebx]
mov dword [esi + 0x14], eax
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov dword [esi + 0xc], edx
mov ecx, 1
add word [eax + 0x20], cx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x10]
add dword [edi + 0x44], ecx
test eax, eax
je 0x100e7bae
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
push 0xffffffffffffffff
push eax
mov eax, dword [ebp + 8]
push ecx
push ebx
push edx
push eax
push esi
push edi
call fcn.100e5370
add esp, 0x20
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100e7bcf
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
push 1
push eax
mov eax, dword [ebp + 8]
push ecx
push ebx
push edx
push eax
push esi
push edi
call fcn.100e5370
add esp, 0x20
mov eax, dword [ebp - 8]
push esi
mov dword [esi + 0xc], 0
call fcn.1009f700
mov ebx, dword [ebp - 8]
add esp, 4
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
call fcn.10097540
mov esi, dword [ebp - 4]
add esp, 8
mov esi, dword [esi + 0xc]
xor eax, eax
mov dword [ebp - 4], esi
cmp esi, eax
jne 0x100e7a10
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret