Function at 0x1009dda0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x1015fdc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov al, byte [0x1018ca37]
push ebx
mov bl, byte [0x1018ca34]
push ebp
mov ebp, ecx
dec bl
mov cl, al
inc al
push esi
mov byte [0x1018ca37], al
push edi
mov eax, 0x5c
push 4
push ecx
mov ecx, dword [0x1018ca10]
mov esi, dword [0x1018ca0c]
cdq
idiv ecx
mov byte [0x1018ca34], bl
mov al, byte [edx + esi]
imul byte [0x1018ca35]
imul byte [0x1018ca36]
push eax
mov al, byte [0x1018ca3a]
push eax
mov eax, 0x2bd
cdq
idiv ecx
mov al, byte [0x1018ca39]
mov cl, byte [edx + esi]
mov dl, byte [0x1018ca3b]
push ecx
push edx
push eax
push 0xffffffffffffffa7
call fcn.100980c0
mov cl, byte [0x1018ca3a]
mov dl, byte [0x1018ca3d]
sub cl, 0x3d
imul cl
push eax
mov eax, 0x29b
push edx
push 0x28
cdq
idiv dword [0x1018ca10]
mov eax, dword [0x1018ca0c]
mov cl, byte [edx + eax]
push ecx
call fcn.100980e0
mov dl, byte [0x1018ca34]
add esp, 0x18
push eax
push edx
call fcn.100980d0
add esp, 0x14
push eax
push 0xffffffffffffffb4
call fcn.100980d0
mov byte [0x1018ca36], al
mov eax, 0x3b
mov word [esp + 0x2e], ax
mov word [esp + 0x3a], ax
mov al, byte [0x1019704c]
add esp, 0x14
mov ecx, 9
xor ebx, ebx
test al, 1
mov word [esp + 0x18], cx
mov word [esp + 0x1c], 0x37
mov word [esp + 0x1e], 0x2e
mov word [esp + 0x20], cx
mov word [esp + 0x22], 0x38
mov word [esp + 0x24], 0x23
jne 0x1009df1d
or al, 1
push 0x12
mov byte [0x1019704c], al
call fcn.1013c2df
add esp, 4
mov dword [0x10197050], eax
xor esi, esi
mov di, word [esp + esi + 0x18]
push 0x56
mov eax, edi
mov ecx, 0x10197050
and eax, 0xffff
push eax
call fcn.100a8ee0
mov ecx, dword [0x10197050]
add eax, 0x56
xor eax, edi
mov word [esi + ecx], ax
add esi, 2
cmp esi, 0x10
jb 0x1009ded6
mov edx, dword [0x10197050]
push 0x100a8240
mov word [edx + 0x10], bx
call fcn.1013c36b
add esp, 4
mov esi, dword [0x10197050]
mov al, byte [esp + 0x13]
push esi
mov byte [esp + 0x2c], al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x28]
push eax
push esi
call fcn.1000bf40
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x58], ebx
call fcn.1009d1c0
mov ecx, dword [0x10191a54]
push 4
push eax
mov byte [esp + 0x58], 1
call fcn.10058e60
mov ecx, eax
call fcn.10067e70
mov edi, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov byte [esp + 0x50], bl
je 0x1009dfa7
mov cl, byte [eax - 1]
cmp cl, bl
je 0x1009df9b
cmp cl, 0xff
je 0x1009df9b
dec cl
mov byte [eax - 1], cl
jmp 0x1009dfa7
add eax, 0xfffffffe
push eax
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
cmp ecx, ebx
mov dword [esp + 0x50], 0xffffffff
je 0x1009dfe1
mov al, byte [ecx - 1]
cmp al, bl
je 0x1009dfd5
cmp al, 0xff
je 0x1009dfd5
dec al
mov byte [ecx - 1], al
jmp 0x1009dfe1
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov ecx, ebp
mov byte [0x1018ca3c], 0x2f
call fcn.1009c4b0
mov bl, byte [0x1018ca3d]
mov esi, eax
mov al, byte [0x1018ca34]
push 0xffffffffffffffc2
push 0xffffffffffffffdb
push eax
push 0x64
push 0x40
call fcn.100980c0
add esp, 8
push eax
call fcn.100980c0
add esp, 8
mov ecx, dword [0x1018ca0c]
push eax
mov eax, 0x41
cdq
idiv dword [0x1018ca10]
push 0xffffffffffffffc3
mov dl, byte [edx + ecx]
push edx
call fcn.100786d0
mov byte [esp + 0x28], al
mov al, byte [0x1018ca3d]
inc al
push ebx
mov byte [0x1018ca3d], al
mov eax, 0x23c
cdq
idiv dword [0x1018ca10]
mov eax, dword [0x1018ca0c]
push 0x73
push 0x49
mov cl, byte [edx + eax]
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.100980d0
mov ecx, dword [esp + 0x70]
add esp, 0x28
cmp esi, edi
mov byte [0x1018ca35], 0x29
pop edi
pop esi
pop ebp
pop ebx
setae al
mov dword fs:[0], ecx
add esp, 0x44
ret