Function at 0x10001a40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov ecx, dword [0x10263264]
xor edx, edx
mov eax, 0xf7
div ecx
mov edx, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0xc], eax
mov eax, 0xfc4
mov dword [0x10263264], ecx
push ebx
mov bx, word [0x10263260]
movzx ecx, bx
sub eax, ecx
mov cx, word [0x10263250]
mov dword [esp + 0x18], eax
mov eax, dword [0x10263230]
mov dword [esp + 0x14], eax
push ebp
mov ebp, 0xffff
movzx eax, cx
add bx, bp
mov word [0x10263260], bx
push esi
mov esi, dword [esp + 0x50]
push edi
movzx edi, word [edx + eax*2 + 2]
mov eax, dword [0x10263284]
sub edi, 0x1a8f
mov dword [esp + 0x14], edi
movzx eax, word [eax + 0x176]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
movzx eax, byte [eax]
movzx eax, byte [eax + esi]
cdq
idiv dword [0x10263244]
movzx edx, bx
mov dword [esp + 0x40], eax
mov eax, dword [0x1026327c]
and edx, eax
mov dword [esp + 0x38], edx
mov edx, eax
inc eax
xor edx, 0x281
mov dword [0x1026327c], eax
mov eax, 0x5a215bd9
mov dword [esp + 0x2c], edx
mov edx, dword [0x1026326c]
dec edx
mov dword [esp + 0x10], edx
mul edx
mov eax, edx
mov edx, dword [esp + 0x60]
shr eax, 0xb
mov dword [esp + 0x28], eax
mov ax, word [0x1026323c]
add ax, bp
mov word [0x1026323c], ax
movzx ebp, ax
imul eax, ebp, 0x2b
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [0x1026326c], eax
mov dword [esp + 0x10], eax
movzx eax, byte [edx]
mov edx, dword [esp + 0x4c]
movzx esi, byte [esi + eax*2]
movzx eax, byte [ebp]
mov dword [esp + 0x18], eax
mov edi, eax
mov eax, dword [0x1026325c]
mov dword [esp + 0x3c], esi
cmp dword [eax + edi*4], edx
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x60]
jle 0x10001c15
movzx eax, byte [esi]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
mov ax, word [ecx + eax*4]
or ax, word [0x10263278]
mov ecx, dword [esp + 0x28]
sub ax, word [ecx + ebx*2]
mov word [ecx + ebx*2], ax
movzx ecx, byte [edx]
mov eax, dword [esp + 0x5c]
imul edx, dword [esp + 0x58], 0x8d2
lea esi, [eax + ecx*2]
mov eax, dword [0x10263238]
or dx, word [eax + ecx*4]
movzx eax, word [esi]
movzx ecx, dx
imul ecx, eax
mov word [esi], cx
mov cx, word [0x10263250]
movzx edx, word [0x10263280]
movzx eax, cx
cmp edx, eax
je 0x10001bfd
mov esi, dword [esp + 0x54]
nop dword [eax]
inc cx
inc edx
mov word [0x10263250], cx
mov ecx, dword [0x10263278]
movzx eax, byte [ebp]
shl ecx, 4
add ecx, edi
movzx eax, byte [eax + esi]
xor dword [ecx], eax
mov cx, word [0x10263250]
movzx eax, cx
cmp edx, eax
jne 0x10001bd0
mov esi, dword [0x1026326c]
inc cx
mov bx, word [0x10263260]
mov word [0x10263250], cx
jmp 0x10001c19
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
movzx edx, bx
mov dword [esp + 0x2c], edx
mov edx, dword [eax + edx*4]
mov eax, dword [0x10263248]
inc dword [0x10263248]
cmp edx, eax
mov eax, dword [0x10263240]
mov dword [esp + 0x18], eax
je 0x10001dd7
movzx eax, byte [ebp]
mov edi, dword [esp + 0x24]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + ebp]
cmp dword [edi + edx*4], eax
mov edi, dword [esp + 0x14]
jae 0x10001dd7
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x1c]
movzx eax, byte [eax]
cmp byte [eax + edx], 0xc0
jb 0x10001dd7
mov esi, dword [0x10263234]
mov eax, 0xffff
add bx, ax
mov ecx, dword [esp + 0x5c]
mov word [0x10263260], bx
movzx eax, bx
mov ebx, dword [eax*4 + 0x1d71]
mov eax, dword [esp + 0x20]
add ebx, 0x2e9
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x5c]
mov edi, dword [eax + esi*4]
mov ax, word [0x10263260]
inc ax
mov word [0x10263260], ax
movzx eax, ax
movzx edx, word [ecx + eax*2]
mov eax, dword [0x10263230]
xor edx, dword [0x3641]
xor eax, 0x30a
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [0x10263264]
dec eax
mov dword [0x10263264], eax
or esi, eax
movzx eax, byte [ebp]
movzx ecx, byte [eax + ecx]
mov eax, dword [0x1026327c]
movzx eax, word [ebx + eax*8 + 0xc]
mov ebx, dword [esp + 0x2c]
xor ecx, eax
mov eax, dword [esp + 0x4c]
push ecx
push esi
push eax
push edx
push edi
push ebx
call fcn.1000cba0
movzx ecx, word [0x10263280]
xor edx, edx
movzx edi, word [esp + 0x60]
add esp, 0x18
mov byte [ebp + ecx*2 + 4], al
mov si, word [0x10263260]
movzx eax, si
movzx ecx, word [edi + eax*2]
mov eax, 0x832
div ecx
mov ecx, dword [esp + 0x50]
xor edx, edx
xor si, ax
mov edi, dword [esp + 0x20]
mov eax, dword [0x10263240]
mov word [0x10263260], si
mov word [ecx + eax*2], si
mov ecx, dword [0x10263230]
mov eax, dword [0x10263268]
inc ecx
mov esi, dword [esp + 0x1c]
inc eax
mov dword [0x10263268], eax
add esi, ecx
mov dword [0x10263230], ecx
movzx ecx, byte [esi]
div ecx
mov eax, dword [esp + 0x60]
mov byte [esi], dl
xor edx, edx
mov esi, dword [esp + 0x14]
inc byte [eax]
mov cl, byte [eax]
mov eax, dword [0x1026325c]
movzx ecx, cl
mov eax, dword [eax + 0x4730]
imul eax, dword [esi + 0x12cc]
div dword [edi + ecx*4]
mov ecx, dword [0x10263268]
xor edx, edx
mov edi, dword [esp + 0x64]
div dword [edi + ecx*4]
movzx ecx, word [0x10263250]
pop edi
mov dword [esi + ecx*4], eax
mov eax, 0xffff
add word [0x10263250], ax
movzx eax, word [0x1026323c]
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
movzx eax, cx
xor edx, edx
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
mov eax, dword [ecx + eax*4]
mov ecx, 0x963
xor eax, esi
div dword [0x10263248]
xor edx, edx
mov dword [0x10263248], eax
movzx eax, byte [ebp]
mov eax, dword [edi + eax*4]
and eax, dword [esp + 0x58]
imul eax, dword [esp + 0x2c]
div dword [0x10263278]
xor edx, edx
mov dword [0x10263278], eax
movzx eax, byte [ebp]
mov eax, dword [eax*4 + 3]
div dword [0x10263270]
mov eax, dword [esp + 0x34]
movzx eax, ax
and edx, eax
or dword [0x10263244], edx
movzx eax, byte [ebp]
mov edx, dword [esp + 0x24]
xor cx, word [edx + eax*4]
xor edx, edx
mov eax, dword [esp + 0x18]
or word [ebx + eax*8], cx
mov eax, dword [0x1026327c]
div dword [esp + 0x38]
mov ecx, dword [0x10263268]
mov esi, dword [ecx*4 + 3]
movzx ecx, byte [ebp]
mov edx, dword [ecx*4 + 0x1d71]
movzx ecx, word [0x10263280]
xor edx, 0x1fd9
push ecx
push edx
push esi
push dword [0x10263244]
push dword [0x10263264]
push eax
call fcn.1000cba0
mov edi, dword [esp + 0x7c]
mov dword [0x10263278], eax
movzx ecx, byte [ebp]
mov eax, dword [0x10263238]
mov edx, dword [eax + ecx*4]
movzx eax, word [0x10263260]
xor edx, dword [edi + ecx*4]
push eax
push dword [0x10263244]
push 0xb14
push edx
call fcn.1000ba90
mov edx, dword [esp + 0x88]
add esp, 0x28
inc byte [edx]
movzx eax, word [0x10263250]
movzx ecx, byte [edx]
lea esi, [ebx + eax*4]
mov eax, dword [0x10263284]
movzx ecx, word [eax + ecx*4]
movzx eax, byte [ebp + 1]
movzx eax, byte [eax + edx]
xor edx, edx
div ecx
mov eax, edx
cdq
idiv dword [esp + 0x4c]
add word [esi], dx
mov eax, dword [0x10263278]
lea edx, [edi + eax*4]
movzx eax, word [0x10263250]
movzx edi, word [esp + 0x48]
movzx ecx, word [edi + eax*2]
movzx eax, byte [ebp + 0x1c2d]
xor ecx, eax
movzx eax, byte [ebp + 1]
movzx eax, word [edi + eax*4 + 8]
or ecx, eax
or dword [edx + 0x18], ecx
mov edx, dword [esp + 0x3c]
dec byte [edx]
movzx eax, byte [edx]
movzx eax, word [ebx + eax*2]
cmp eax, dword [0x660b]
jl 0x10001f52
movzx eax, byte [ebp + 1]
mov ecx, dword [esp + 0x28]
movzx eax, word [ecx + eax*8]
cmp dword [0x10263254], eax
jne 0x10001f6b
inc dword [0x10263258]
movzx ecx, byte [edx]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
sub dx, word [eax + ecx*2]
mov word [eax + ecx*2], dx
movzx eax, word [0x1026323c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret