Function at 0x10010b90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [0x100588c0]
xor eax, esp
mov dword [esp + 0x3c], eax
test byte [esp + 0x54], 1
mov eax, dword [esp + 0x48]
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x20], eax
mov ebx, edx
mov dword [esp + 0x1c], 0
je 0x10010bdb
pop esi
pop ebp
mov eax, 0x2722
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100330f2
add esp, 0x40
ret
push esi
call fcn.1000eb10
add esp, 4
test eax, 0x30000
jne 0x10010c02
pop esi
pop ebp
mov eax, 0x2739
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100330f2
add esp, 0x40
ret
push 0
lea ecx, [esp + 0x28]
push ecx
push 1
push esi
push 0
call fcn.1000c210
add esp, 0x14
test eax, eax
jne 0x10010e1c
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x60]
cmp edi, esi
jae 0x10010c43
pop edi
pop esi
pop ebp
mov eax, 0x271d
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100330f2
add esp, 0x40
ret
cmp dword [esp + 0x5c], edi
jae 0x10010c61
pop edi
pop esi
pop ebp
mov eax, 0x271b
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100330f2
add esp, 0x40
ret
lea edx, [esi + esi]
cmp edi, edx
jbe 0x10010c92
mov ecx, dword [esp + 0x10]
sub edi, esi
lea eax, [esi - 1]
not eax
dec edi
and edi, eax
push edi
push ebx
push ebp
push ecx
mov dword [esp + 0x30], edi
call fcn.1000e840
add ebp, edi
add ebx, edi
add esp, 0x10
sub dword [esp + 0x60], edi
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0
push 0xb
push eax
call fcn.1000eae0
add esp, 0x10
test eax, eax
jne 0x10010e1b
cmp edi, esi
jne 0x10010cc6
mov ecx, dword [esp + 0x10]
push esi
push ebx
push ebp
push ecx
call fcn.1000e840
jmp 0x10010e0a
cmp dword [esp + 0x68], 0
mov eax, dword [esp + 0x14]
je 0x10010d73
test esi, esi
je 0x10010cff
mov edi, ebx
lea ecx, [esp + 0x2c]
sub edi, eax
sub ecx, eax
mov dword [esp + 0x1c], esi
mov dl, byte [edi + eax]
xor dl, byte [eax]
inc eax
dec dword [esp + 0x1c]
mov byte [ecx + eax - 1], dl
jne 0x10010ce7
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x60]
push esi
push 0
push eax
call fcn.10033210
mov edx, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x3c]
push eax
mov ecx, eax
push ecx
push edx
call fcn.1000e840
add esp, 0x1c
cmp esi, edi
jae 0x10010d4d
sub ebx, ebp
lea ecx, [esi + ebp]
lea eax, [esp + 0x2c]
sub edi, esi
lea ecx, [ecx]
movzx edx, byte [ebx + ecx]
mov byte [esp + 0x1b], dl
movzx edx, byte [eax]
mov byte [ecx], dl
movzx edx, byte [esp + 0x1b]
xor byte [eax], dl
inc ecx
inc eax
dec edi
jne 0x10010d30
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
push esi
push 0
push eax
call fcn.10033210
mov edx, dword [esp + 0x1c]
push esi
lea ecx, [esp + 0x3c]
push ecx
push ebp
push edx
call fcn.1000e840
add esp, 0x1c
jmp 0x10010dfd
push esi
push eax
lea ecx, [esp + 0x44]
push esi
push ecx
call fcn.10033bd6
mov edx, dword [esp + 0x24]
push esi
push 0
push edx
call fcn.10033210
mov ecx, dword [esp + 0x2c]
push esi
push ebx
lea eax, [esp + 0x50]
push eax
push ecx
call fcn.1000e840
add esp, 0x2c
cmp esi, edi
jae 0x10010dd8
mov edx, dword [esp + 0x60]
sub ebx, ebp
lea eax, [esi + ebp]
lea edi, [esp + 0x2c]
mov dword [esp + 0x1c], ebx
sub edx, esi
jmp 0x10010dc4
mov ebx, dword [esp + 0x1c]
mov cl, byte [eax + ebx]
mov bl, byte [edi]
xor bl, cl
mov byte [eax], bl
mov byte [edi], cl
inc eax
inc edi
dec edx
jne 0x10010dc0
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
push esi
lea edx, [esp + 0x40]
push edx
push esi
push eax
call fcn.10033bd6
mov edx, dword [esp + 0x20]
push esi
lea ecx, [esp + 0x40]
push ecx
push ebp
push edx
call fcn.1000e840
add esp, 0x20
mov eax, dword [esp + 0x14]
push esi
push ebp
push esi
push eax
call fcn.10033bd6
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add ecx, edi
add esp, 0x10
mov dword [edx], ecx
xor eax, eax
pop edi
mov ecx, dword [esp + 0x48]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100330f2
add esp, 0x40
ret