Function at 0x100db7b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1f4
call fcn.10163610
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x1f0], eax
mov eax, dword [esp + 0x200]
push ebp
mov ebp, dword [esp + 0x218]
push esi
mov esi, dword [esp + 0x200]
push edi
mov edi, dword [esp + 0x218]
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 1
call fcn.100a14b0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
js 0x100db862
lea eax, [esp + 0xec]
push eax
call fcn.100ec140
add esp, 4
test esi, esi
jne 0x100db81c
xor ecx, ecx
jmp 0x100db839
mov ecx, dword [esp + 0x208]
cmp ecx, 0xffffffff
jne 0x100db839
mov ecx, esi
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100db830
sub ecx, edx
push 0
push edi
push ecx
lea eax, [esp + 0xf8]
push esi
push eax
call fcn.100ec250
add esp, 0x14
test eax, eax
jne 0x100db87c
lea eax, [esp + 0xec]
push eax
call fcn.100ec0a0
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.1016059f
add esp, 0x1f4
ret
mov ecx, dword [esp + 0x21c]
push ebx
test ecx, ecx
je 0x100dba2e
mov esi, dword [esp + 0x218]
mov edx, 1
jmp 0x100db8a0
cmp ecx, dword [esp + 0x14]
mov ebx, ecx
cmovg ebx, dword [esp + 0x14]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x10], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x11], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x12], al
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x1b], dl
call fcn.100ec0d0
add esp, 8
test eax, eax
je 0x100dba7a
push dword [esp + 0x214]
lea eax, [esp + 0x24]
push dword [esp + 0x20]
push eax
call fcn.100ec460
add esp, 0xc
test eax, eax
je 0x100dba5c
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100ec460
add esp, 0xc
test eax, eax
je 0x100dba5c
push 0
lea eax, [esp + 0x1c4]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100ec1a0
add esp, 0xc
test eax, eax
je 0x100dba5c
lea eax, [esp + 0x20]
push eax
call fcn.100ec0a0
push ebx
lea eax, [esp + 0x1c8]
push eax
push ebp
call fcn.101623c0
mov edi, 1
add esp, 0x10
cmp esi, edi
jle 0x100dba0b
jmp 0x100db970
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.100ec0d0
add esp, 8
test eax, eax
je 0x100dba7a
push dword [esp + 0x14]
lea eax, [esp + 0x1c4]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100ec460
add esp, 0xc
test eax, eax
je 0x100dba5c
push 0
lea eax, [esp + 0x1c4]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100ec1a0
add esp, 0xc
test eax, eax
je 0x100dba5c
lea eax, [esp + 0x20]
push eax
call fcn.100ec0a0
add esp, 4
test ebx, ebx
jle 0x100dba02
lea esi, [esp + 0x1c0]
mov eax, ebp
sub esi, ebp
mov edx, ebx
jmp 0x100db9f0
mov cl, byte [esi + eax]
xor byte [eax], cl
lea eax, [eax + 1]
dec edx
jne 0x100db9f0
mov esi, dword [esp + 0x218]
inc edi
cmp edi, esi
jl 0x100db970
mov ecx, dword [esp + 0x220]
mov edx, dword [esp + 0x18]
sub ecx, ebx
inc edx
add ebp, ebx
mov dword [esp + 0x220], ecx
mov dword [esp + 0x18], edx
test ecx, ecx
jne 0x100db8a0
lea eax, [esp + 0xf0]
push eax
call fcn.100ec0a0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x200]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1016059f
add esp, 0x1f4
ret
lea eax, [esp + 0xf0]
push eax
call fcn.100ec0a0
lea eax, [esp + 0x24]
push eax
call fcn.100ec0a0
add esp, 8
xor eax, eax
jmp 0x100dba43
lea eax, [esp + 0xf0]
push eax
call fcn.100ec0a0
add esp, 4
xor eax, eax
jmp 0x100dba43