Function at 0x100e76b0
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 0x100e7bd6
cmp dword [edi + 0xc], 0
jne 0x100e76f7
mov eax, ebx
call fcn.100ace30
mov dword [edi + 0xc], eax
test eax, eax
je 0x100e76f7
push 0x87
call fcn.100a65a0
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 0x100e7730
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebx + 4], eax
jle 0x100e7730
mov ecx, dword [ebx + 8]
add ecx, 0xc
lea ebx, [ebx]
cmp dword [ecx], edx
je 0x100e772d
inc eax
add ecx, 0x10
cmp eax, dword [ebx + 4]
jl 0x100e7720
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 0x100e77c0
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp byte [edi + 0x1ba], al
je 0x100e7773
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push eax
push edx
push ebx
call fcn.1009f0c0
add esp, 0xc
mov esi, eax
jmp 0x100e782a
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 0x100e77dc
lea ecx, [edi + 8]
push ecx
mov esi, eax
call fcn.100e6600
add esp, 4
test eax, eax
je 0x100e77d9
inc dword [edi + 0x40]
mov dword [edi + 4], eax
cmp dword [ebp - 0x24], 0
je 0x100e7bd5
cmp byte [ebx + 0x1e], 0
jne 0x100e7bd5
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 4]
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x100e7745
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, ecx
test ecx, ecx
jne 0x100e794b
xor esi, esi
mov dword [ebp - 0x1c], esi
jmp 0x100e7962
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [edi]
push edx
push esi
push eax
call fcn.1009f0c0
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x100e7827
push esi
cmp dword [ebp - 0x14], eax
je 0x100e7811
mov ecx, dword [ebp - 0x14]
push ecx
push str.no_such_table
push str._s:__s._s
call fcn.100abd80
add esp, 0x10
jmp 0x100e7823
push str.no_such_table
push str._s:__s
call fcn.100abd80
add esp, 0xc
mov byte [edi + 0x12], 1
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x100e779c
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x18]
push edx
push eax
push esi
push edi
lea eax, [ebp - 0x20]
call fcn.100afd30
add esp, 0x10
test eax, eax
jne 0x100e779c
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100e7862
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 0x100e78d2
nop
mov edx, dword [eax + ebx*4]
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx + 4]
jne 0x100e7882
mov dword [eax + ebx*4], 0xffffffff
mov edx, dword [ebp - 8]
cmp dword [edx + 0x100], 0
je 0x100e78c9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100e789d
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
jmp 0x100e78a0
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.100ae590
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 0x100e7870
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.100a8200
mov eax, dword [ebp + 0xc]
inc dword [edi + 0x44]
add esp, 0x10
test eax, eax
je 0x100e7911
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.100ceb40
add esp, 0x24
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100e7936
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.100ceb40
add esp, 0x24
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
push edx
push eax
call fcn.10097510
add esp, 8
jmp 0x100e77b0
cmp byte [ecx], 0
je 0x100e7956
inc eax
cmp byte [eax], 0
jne 0x100e7950
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 0x100e79ad
xor eax, eax
mov dword [ebp - 0x20], esi
test esi, esi
jle 0x100e79a4
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 0x100e7980
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
xor edx, edx
div dword [ecx]
jmp 0x100e79af
xor edx, edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push eax
mov eax, dword [ebp - 0x18]
call fcn.100984d0
add esp, 8
test eax, eax
je 0x100e7bd5
mov esi, dword [eax + 8]
xor eax, eax
mov dword [ebp - 4], esi
cmp esi, eax
je 0x100e7bd5
lea esp, [esp]
cmp byte [esi + 0x18], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
jne 0x100e7a01
cmp dword [edi + 0x1a8], eax
jne 0x100e7a01
cmp byte [edi + 0x158], 0
je 0x100e7bc5
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
push esi
push edx
push edi
lea eax, [ebp - 0x18]
call fcn.100afd30
add esp, 0x10
test eax, eax
je 0x100e7a33
cmp dword [ebp - 0x24], 0
je 0x100e7bd5
cmp byte [ebx + 0x1e], 0
jne 0x100e7bd5
jmp 0x100e7bc5
cmp byte [ebx + 0x1e], 0
jne 0x100e7bb5
cmp byte [ebx + 0xea], 0
je 0x100e7a82
mov eax, 0x40
cmp ax, word [ebx + 0xe8]
ja 0x100e7a82
mov esi, dword [ebx + 0xf4]
test esi, esi
je 0x100e7a82
mov ecx, dword [esi]
inc dword [ebx + 0xec]
mov eax, dword [ebx + 0xec]
mov dword [ebx + 0xf4], ecx
cmp eax, dword [ebx + 0xf0]
jle 0x100e7adc
mov dword [ebx + 0xf0], eax
jmp 0x100e7adc
cmp dword [0x1012d978], 0
je 0x100e7abd
mov eax, dword [0x10134a80]
test eax, eax
je 0x100e7a9e
push eax
call dword [0x1012d9c0]
add esp, 4
lea ebx, [ebp - 0x1c]
mov eax, 0x40
call fcn.100a3200
mov eax, dword [0x10134a80]
test eax, eax
je 0x100e7acb
push eax
call dword [0x1012d9c8]
jmp 0x100e7ac8
push 0x40
call dword [0x1012d990]
mov dword [ebp - 0x1c], eax
add esp, 4
mov esi, dword [ebp - 0x1c]
test esi, esi
jne 0x100e7ad9
mov edx, dword [ebp - 8]
mov byte [edx + 0x1e], 1
mov ebx, dword [ebp - 8]
test esi, esi
je 0x100e7bb5
push 0x40
push 0
push esi
call fcn.1007f8c0
mov eax, 1
mov word [esi + 2], ax
movsx ecx, word [esi]
push ecx
push eax
push ebx
mov eax, esi
call fcn.100a8880
add esp, 0x18
cmp byte [ebx + 0x1e], 0
mov esi, eax
je 0x100e7b1c
push esi
mov eax, ebx
call fcn.1009f6d0
jmp 0x100e7bb2
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 0x100e7b7e
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.100e5340
add esp, 0x20
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100e7b9f
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.100e5340
add esp, 0x20
mov eax, dword [ebp - 8]
push esi
mov dword [esi + 0xc], 0
call fcn.1009f6d0
mov ebx, dword [ebp - 8]
add esp, 4
mov ecx, dword [ebp - 0x18]
push ecx
push ebx
call fcn.10097510
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 0x100e79e0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret