Function at 0x100b80e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b0c21
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10249010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1039ea44]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x103a24cc]
cmp eax, dword [ebx + 4]
jle 0x100b819c
push 0x103a24cc
call fcn.10151b0d
add esp, 4
cmp dword [0x103a24cc], 0xffffffff
jne 0x100b819c
mov eax, dword [0x1039ead8]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x100b8187
mov edx, dword [edi + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b8150
sub ecx, esi
lea esi, [ecx + 1]
mov ecx, 0x4fa38bcd
test esi, esi
je 0x100b8180
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub esi, 1
jne 0x100b8165
cmp ecx, 0xe19b90e7
je 0x100b8189
mov edi, dword [edi + 4]
test edi, edi
jne 0x100b8144
xor edi, edi
push 0x103a24cc
mov dword [0x103a24fc], edi
call fcn.10151ac3
add esp, 4
mov eax, dword [0x103a24dc]
mov esi, dword [0x103a24fc]
mov dword [ebp - 0x10], esi
cmp eax, dword [ebx + 4]
jle 0x100b822f
push 0x103a24dc
call fcn.10151b0d
add esp, 4
cmp dword [0x103a24dc], 0xffffffff
jne 0x100b822f
mov eax, dword [0x1039ead8]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x100b8217
mov edx, dword [edi + 0xc]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b81e0
sub ecx, esi
lea esi, [ecx + 1]
mov ecx, 0x4fa38bcd
test esi, esi
je 0x100b8210
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub esi, 1
jne 0x100b81f5
cmp ecx, 0x38c5451b
je 0x100b8219
mov edi, dword [edi + 4]
test edi, edi
jne 0x100b81d4
xor edi, edi
push 0x103a24dc
mov dword [0x103a24f4], edi
call fcn.10151ac3
mov esi, dword [ebp - 0x10]
add esp, 4
mov edi, dword [0x103a24f4]
xor ecx, ecx
mov dword [esi + 0x50], 0
mov eax, dword [0x1039f244]
mov edx, dword [eax + 0x17ee]
mov eax, esi
shr edx, 4
not dl
and edx, 1
test esi, esi
push edx
cmove eax, ecx
mov ecx, esi
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1039f500]
mov edx, dword [eax + 8]
test edx, edx
je case.0x100b8469.0
mov ecx, dword [0x1039f244]
mov ecx, dword [ecx + 0x17ee]
shr ecx, 2
test cl, 1
je 0x100b8295
mov dword [edx + 0x10470], 0
mov eax, dword [0x1039f500]
mov dword [eax + 0x88], 0
mov eax, dword [0x1039f500]
mov esi, dword [eax + 8]
cmp byte [esi + 0x25f], 0
jne case.0x100b8469.0
cmp dword [esi + 0x100], 0
je case.0x100b8469.0
mov eax, dword [0x1039f244]
cmp byte [eax + 0x1837], 0
je 0x100b833b
mov eax, dword [0x1039eb28]
cmp eax, dword [ebx + 4]
jle 0x100b8328
push 0x1039eb28
call fcn.10151b0d
add esp, 4
cmp dword [0x1039eb28], 0xffffffff
jne 0x100b8328
push ecx
push 0x41bce941
mov dword [ebp - 4], 0
mov ecx, dword [0x1039f394]
push 0x22558ba9
call fcn.100bc2f0
push 0x1039eb28
mov dword [0x1039eb24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10151ac3
add esp, 4
mov eax, dword [0x1039eb24]
mov al, byte [esi + eax]
test al, al
jne 0x100b833b
mov ecx, 3
jmp 0x100b833d
xor ecx, ecx
xor edx, edx
mov eax, edi
test edi, edi
push ecx
cmove eax, edx
mov ecx, edi
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [0x1039f500]
mov esi, dword [eax + 8]
test esi, esi
je case.0x100b8469.0
mov eax, dword [0x1039eeac]
cmp eax, dword [ebx + 4]
jle 0x100b83b9
push 0x1039eeac
call fcn.10151b0d
add esp, 4
cmp dword [0x1039eeac], 0xffffffff
jne 0x100b83b9
push ecx
push 0xc4cbab11
mov dword [ebp - 4], 1
mov ecx, dword [0x1039f394]
push 0x3a46cc70
call fcn.100bc2f0
push 0x1039eeac
mov dword [0x1039eebc], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10151ac3
add esp, 4
mov ecx, dword [0x1039eafc]
mov eax, dword [0x1039eebc]
mov edx, dword [ecx]
push dword [esi + eax]
call dword [edx + 0x10]
mov esi, eax
test esi, esi
je case.0x100b8469.0
mov ecx, esi
call fcn.10052e00
test al, al
jne case.0x100b8469.0
mov eax, dword [esi]
xor ecx, ecx
mov ecx, esi
mov eax, dword [eax + 0x734]
call eax
test eax, eax
je case.0x100b8469.0
mov eax, dword [0x1039eab8]
cmp eax, dword [ebx + 4]
jle 0x100b8454
push 0x1039eab8
call fcn.10151b0d
add esp, 4
cmp dword [0x1039eab8], 0xffffffff
jne 0x100b8454
push ecx
push 0x8d29f550
mov dword [ebp - 4], 2
mov ecx, dword [0x1039f394]
push 0x19c23329
call fcn.100bc2f0
push 0x1039eab8
mov dword [0x1039eabc], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10151ac3
add esp, 4
mov eax, dword [0x1039eabc]
movsx eax, word [eax + esi]
cmp eax, 0x54
ja case.0x100b8469.1
movzx eax, byte [eax + 0x100b855c]
jmp dword [eax*4 + 0x100b8554]
mov eax, dword [0x1039ef2c]
cmp eax, dword [ebx + 4]
jle 0x100b84c9
push 0x1039ef2c
call fcn.10151b0d
add esp, 4
cmp dword [0x1039ef2c], 0xffffffff
jne 0x100b84c9
push ecx
push 0x63277436
mov dword [ebp - 4], 3
mov ecx, dword [0x1039f394]
push 0xea803921
call fcn.100bc2f0
push 0x1039ef2c
mov dword [0x1039eef8], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10151ac3
add esp, 4
mov eax, dword [0x1039eef8]
mov esi, dword [eax + esi]
mov eax, dword [0x1039f500]
mov edi, dword [eax + 8]
mov eax, dword [0x1039eb28]
cmp eax, dword [ebx + 4]
jle 0x100b852b
push 0x1039eb28
call fcn.10151b0d
add esp, 4
cmp dword [0x1039eb28], 0xffffffff
jne 0x100b852b
push ecx
push 0x41bce941
mov dword [ebp - 4], 4
mov ecx, dword [0x1039f394]
push 0x22558ba9
call fcn.100bc2f0
push 0x1039eb28
mov dword [0x1039eb24], eax
call fcn.10151ac3
add esp, 4
mov eax, dword [0x1039eb24]
movzx ecx, byte [edi + eax]
mov eax, dword [0x1039f500]
imul ecx, esi
mov dword [eax + 0x88], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret