Function at 0x1e07a35c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, eax
test eax, eax
jge 0x1e07a396
neg edi
test eax, eax
jge 0x1e07a396
push edi
mov dword [ebp - 0x10], 1
call fcn.1e018589
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1e07a3d1
xor eax, eax
jmp 0x1e07a561
and dword [ebp - 0x10], 0
inc dword [ebx]
mov eax, dword [esi + 8]
mov ebx, eax
test eax, eax
jge 0x1e07a3ea
neg ebx
test eax, eax
jge 0x1e07a3ea
push ebx
mov dword [ebp - 4], 1
call fcn.1e018589
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1e07a40d
mov eax, dword [ebp + 8]
dec dword [eax]
jne 0x1e07a38f
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
pop ecx
jmp 0x1e07a38f
push edi
add ebx, 0xc
add eax, 0xc
push ebx
push eax
call fcn.1e05bd40
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x1e07a39c
and dword [ebp - 4], 0
inc dword [esi]
cmp edi, ebx
jge 0x1e07a423
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], esi
mov esi, eax
mov eax, edi
mov edi, ebx
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1e07a426
push ebx
add esi, 0xc
add eax, 0xc
push esi
push eax
call fcn.1e05bd40
mov esi, dword [ebp - 0x14]
add esp, 0xc
jmp 0x1e07a3f0
mov ecx, dword [ebp - 0x10]
cmp dword [ebp + 0xc], 0x26
je 0x1e07a45f
cmp dword [ebp + 0xc], 0x5e
je 0x1e07a452
cmp dword [ebp + 0xc], 0x7c
je 0x1e07a442
call fcn.1e05a5f6
jmp 0x1e07a38f
mov eax, dword [ebp - 4]
or eax, ecx
cmp dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
jne 0x1e07a470
jmp 0x1e07a45a
mov eax, dword [ebp - 4]
xor eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edi
jmp 0x1e07a473
mov eax, dword [ebp - 4]
and eax, ecx
cmp dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edi
jne 0x1e07a473
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
add eax, ecx
push eax
call fcn.1e018589
mov edi, eax
pop ecx
test edi, edi
jne 0x1e07a4ab
mov eax, dword [ebp + 8]
dec dword [eax]
jne 0x1e07a497
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
pop ecx
dec dword [esi]
jne 0x1e07a38f
mov eax, dword [esi + 4]
push esi
call dword [eax + 0x18]
jmp 0x1e07a3ce
cmp dword [ebp + 0xc], 0x26
je 0x1e07a5d2
cmp dword [ebp + 0xc], 0x5e
je 0x1e07a566
cmp dword [ebp + 0xc], 0x7c
jne 0x1e07a438
xor ecx, ecx
test ebx, ebx
jle 0x1e07a4f8
mov ecx, dword [ebp + 8]
sub ecx, esi
mov edx, edi
mov dword [ebp - 0x10], ecx
lea eax, [esi + 0xc]
sub edx, esi
mov dword [ebp - 0xc], ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
mov bx, word [ebx + eax]
or bx, word [eax]
mov word [edx + eax], bx
inc eax
inc eax
dec dword [ebp - 0xc]
jne 0x1e07a4e3
cmp ecx, dword [ebp - 8]
jge 0x1e07a51a
mov edx, dword [ebp - 8]
sub edx, ecx
lea eax, [ecx + ecx + 0xc]
mov ecx, dword [ebp + 8]
add edx, edx
push edx
add ecx, eax
push ecx
add eax, edi
push eax
call fcn.1e036720
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x1e07a53f
neg dword [edi + 8]
mov ecx, dword [ebp - 8]
mov eax, 0x7fff
mov word [edi + ecx*2 + 0xc], ax
inc ecx
lea eax, [edi + 0xc]
push ecx
push eax
push eax
call fcn.1e05bd40
add esp, 0xc
mov eax, dword [ebp + 8]
dec dword [eax]
jne 0x1e07a54e
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
pop ecx
dec dword [esi]
jne 0x1e07a55a
mov eax, dword [esi + 4]
push esi
call dword [eax + 0x18]
pop ecx
push edi
call fcn.1e05c244
pop ecx
pop edi
pop esi
pop ebx
leave
ret
xor ecx, ecx
test ebx, ebx
jle 0x1e07a59c
mov edx, dword [ebp + 8]
sub edx, esi
mov dword [ebp - 0xc], edi
sub dword [ebp - 0xc], esi
lea eax, [esi + 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ebx
mov ecx, ebx
jmp 0x1e07a587
mov edx, dword [ebp - 0x10]
mov dx, word [eax + edx]
xor dx, word [eax]
mov ebx, dword [ebp - 0xc]
mov word [eax + ebx], dx
inc eax
inc eax
dec dword [ebp - 0x18]
jne 0x1e07a584
cmp dword [ebp - 4], 0
je 0x1e07a4f8
mov edx, dword [ebp - 8]
cmp ecx, edx
jge 0x1e07a51a
mov ebx, dword [ebp + 8]
sub ebx, edi
lea eax, [edi + ecx*2 + 0xc]
sub edx, ecx
mov ecx, 0x7fff
xor cx, word [ebx + eax]
mov word [eax], cx
inc eax
inc eax
dec edx
jne 0x1e07a5bc
jmp 0x1e07a51a
xor ecx, ecx
test ebx, ebx
jle 0x1e07a4f8
mov edx, dword [ebp + 8]
sub edx, esi
mov dword [ebp - 0xc], edi
sub dword [ebp - 0xc], esi
lea eax, [esi + 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ebx
mov ecx, ebx
jmp 0x1e07a5f7
mov edx, dword [ebp - 0x10]
mov dx, word [eax + edx]
and dx, word [eax]
mov ebx, dword [ebp - 0xc]
mov word [eax + ebx], dx
inc eax
inc eax
dec dword [ebp - 0x18]
jne 0x1e07a5f4
jmp 0x1e07a4f8