Function at 0x10001840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x10149050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x40
mov edi, edx
lea edx, [ebp - 0x84]
push 0
push edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ecx
call fcn.10027c90
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.10027c90
mov edx, dword [ebp + 0x14]
lea ecx, [esi + esi*2]
add esp, 0x18
xor eax, eax
add ecx, ecx
lea ecx, [edx + ecx*8 + 1]
jmp 0x100018a0
mov edx, dword [eax*4 + 0x1013f8e0]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 1]
add eax, 6
mov byte [ebp + eax - 0x4a], dl
mov edx, dword [eax*4 + 0x1013f8cc]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 6]
mov byte [ebp + eax - 0x49], dl
mov edx, dword [eax*4 + 0x1013f8d0]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 5]
mov byte [ebp + eax - 0x48], dl
mov edx, dword [eax*4 + 0x1013f8d4]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 4]
mov byte [ebp + eax - 0x47], dl
mov edx, dword [eax*4 + 0x1013f8d8]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 3]
mov byte [ebp + eax - 0x46], dl
mov edx, dword [eax*4 + 0x1013f8dc]
movzx edx, byte [edx + edi - 1]
xor dl, byte [ecx + eax - 2]
mov byte [ebp + eax - 0x45], dl
cmp eax, 0x30
jl 0x100018a0
xor ecx, ecx
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x3f]
jmp 0x10001930
movsx esi, byte [eax - 5]
movsx ebx, byte [eax]
add esi, ecx
lea esi, [ebx + esi*2]
movsx ebx, byte [eax - 4]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax - 3]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax - 2]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax - 1]
lea esi, [ebx + esi*2]
mov esi, dword [esi*4 + 0x1013fa20]
mov esi, dword [esi*4 + 0x10140a20]
movsx ebx, byte [eax + 6]
mov dword [edx - 4], esi
movsx esi, byte [eax + 1]
add esi, ecx
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 2]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 3]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 4]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 5]
lea esi, [ebx + esi*2]
mov esi, dword [esi*4 + 0x1013fb20]
mov esi, dword [esi*4 + 0x10140a20]
movsx ebx, byte [eax + 0xc]
mov dword [edx], esi
movsx esi, byte [eax + 7]
add esi, ecx
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 8]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 9]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0xa]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0xb]
lea esi, [ebx + esi*2]
mov esi, dword [esi*4 + 0x1013fc20]
mov esi, dword [esi*4 + 0x10140a20]
movsx ebx, byte [eax + 0x12]
mov dword [edx + 4], esi
movsx esi, byte [eax + 0xd]
add esi, ecx
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0xe]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0xf]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0x10]
lea esi, [ebx + esi*2]
movsx ebx, byte [eax + 0x11]
lea esi, [ebx + esi*2]
mov esi, dword [esi*4 + 0x1013fd20]
mov esi, dword [esi*4 + 0x10140a20]
mov dword [edx + 8], esi
add ecx, 8
add edx, 0x10
add eax, 0x18
cmp ecx, 0x10
jl 0x10001930
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
lea esi, [edx + 2]
mov ecx, 0x1013f9a4
sub edx, eax
mov dword [ebp - 0x88], 8
jmp 0x10001a50
mov ebx, dword [ecx - 4]
movzx ebx, byte [ebp + ebx - 0x85]
xor bl, byte [edx + eax]
add eax, 4
mov byte [eax - 4], bl
mov ebx, dword [ecx]
movzx ebx, byte [ebp + ebx - 0x85]
xor bl, byte [esi - 1]
add esi, 4
mov byte [eax - 3], bl
mov ebx, dword [ecx + 4]
movzx ebx, byte [ebp + ebx - 0x85]
xor bl, byte [esi - 4]
add ecx, 0x10
mov byte [eax - 2], bl
mov ebx, dword [ecx - 8]
movzx ebx, byte [ebp + ebx - 0x85]
xor bl, byte [esi - 3]
dec dword [ebp - 0x88]
mov byte [eax - 1], bl
jne 0x10001a50
mov esi, edi
mov edi, dword [ebp - 0x8c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10023908
mov esp, ebp
pop ebp
ret