Function at 0x100743a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x100f51d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x3c], eax
cmp edi, esi
je 0x1007444c
mov esi, ecx
cmp ebx, 0x10
jb 0x10074431
mov eax, ebx
shr eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
lea ebx, [ebx]
push edx
push eax
push edi
call dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
add esp, 0xc
sub esi, ecx
mov edx, 4
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
sub edx, 1
jne 0x10074403
mov eax, dword [ebp - 0x18]
mov esi, edi
mov edx, dword [ebp - 0x38]
add eax, 0x10
sub ebx, 0x10
mov dword [ebp - 0x18], eax
add edi, 0x10
sub dword [ebp - 0x1c], 1
jne 0x100743f0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edi
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
jmp 0x100744db
mov dword [ebp - 0x34], ebx
cmp ebx, 0x10
jb 0x100744de
mov eax, ecx
lea ecx, [ebp - 0x14]
sub eax, ecx
mov dword [ebp - 0x30], eax
mov eax, esi
sub eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, edi
sub eax, ecx
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 4
mov dword [ebp - 0x2c], eax
shl eax, 4
add esi, eax
mov dword [ebp - 0x18], esi
push edx
lea eax, [ebp - 0x14]
push eax
push edi
call dword [ebp - 0x3c]
mov edi, dword [ebp - 0x1c]
add esp, 0xc
mov ebx, dword [ebp - 0x24]
xor esi, esi
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x14]
add ecx, esi
add esi, 4
mov eax, dword [eax + ecx]
xor eax, dword [ecx]
mov edx, dword [ebx + ecx]
mov dword [edi + ecx], eax
mov eax, dword [ebp - 0x30]
mov dword [eax + ecx], edx
cmp esi, 0x10
jb 0x10074497
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x28]
sub ebx, 0x10
add dword [ebp - 0x24], 0x10
add edi, 0x10
add dword [ebp - 0x1c], 0x10
sub dword [ebp - 0x2c], 1
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], edi
jne 0x10074480
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
test ebx, ebx
je 0x10074640
mov eax, ecx
lea ecx, [ebp - 0x14]
sub eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, 1
sub eax, ecx
mov dword [ebp - 0x34], eax
mov eax, 2
sub eax, ecx
mov dword [ebp - 0x30], eax
mov eax, 3
sub eax, ecx
mov dword [ebp - 0x40], eax
mov eax, edi
sub eax, ecx
mov dword [ebp - 0x1c], eax
lea eax, [esi + 2]
mov dword [ebp - 0x24], eax
mov eax, ecx
sub esi, eax
mov dword [ebp - 0x18], esi
push dword [ebp - 0x38]
lea eax, [ebp - 0x14]
push eax
push edi
call dword [ebp - 0x3c]
add esp, 0xc
xor eax, eax
cmp eax, ebx
jae 0x100745ed
mov ecx, dword [ebp - 0x1c]
lea esi, [ebp - 0x14]
mov edi, dword [ebp - 0x18]
add esi, eax
mov dl, byte [esi + ecx]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [ecx + esi]
xor cl, byte [esi]
mov byte [esi + edi], cl
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x34]
add ecx, esi
cmp ecx, ebx
jae 0x100745ec
mov dl, byte [edi + eax + 1]
mov edi, dword [ebp - 0x20]
mov cl, byte [esi + 1]
xor cl, byte [edi + eax + 1]
mov edi, dword [ebp - 0x24]
mov byte [edi + eax - 1], cl
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
mov byte [ecx + eax + 1], dl
mov ecx, dword [ebp - 0x30]
add ecx, esi
cmp ecx, ebx
jae 0x100745e7
mov dl, byte [eax + edi + 2]
mov edi, dword [ebp - 0x20]
mov cl, byte [esi + 2]
xor cl, byte [edi + eax + 2]
mov edi, dword [ebp - 0x24]
mov byte [edi + eax], cl
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
mov byte [ecx + eax + 2], dl
mov ecx, dword [ebp - 0x40]
add ecx, esi
cmp ecx, ebx
jae 0x100745e2
mov cl, byte [esi + 3]
mov esi, dword [ebp - 0x20]
mov dl, byte [edi + eax + 3]
xor cl, byte [esi + eax + 3]
mov esi, dword [ebp - 0x24]
mov byte [esi + eax + 1], cl
mov ecx, dword [ebp - 0x20]
mov byte [ecx + eax + 3], dl
add eax, 4
cmp eax, 0x10
jb 0x10074532
jmp 0x100745ed
add eax, 3
jmp 0x100745ed
add eax, 2
jmp 0x100745ed
inc eax
cmp ebx, 0x10
jbe 0x1007461e
add dword [ebp - 0x1c], 0x10
add edi, 0x10
add dword [ebp - 0x18], 0x10
add dword [ebp - 0x24], 0x10
mov dword [ebp - 0x28], edi
sub ebx, 0x10
jne 0x10074522
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071699
mov esp, ebp
pop ebp
ret
cmp eax, 0x10
jae 0x10074640
mov edx, dword [ebp - 0x20]
sub edi, edx
lea ecx, [edx + eax]
mov edx, 0x10
sub edx, eax
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x10074632
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071699
mov esp, ebp
pop ebp
ret