Function at 0x4a62f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
push esi
xor esi, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], esi
cmp dword [eax], esi
jle 0x4a659b
push ebx
push edi
mov edi, dword [ebp + 8]
nop
mov eax, dword [edi]
xor bh, bh
add eax, esi
mov dword [ebp - 0x10], eax
mov cl, byte [eax]
mov eax, dword [edi + 4]
mov byte [ebp - 2], cl
mov al, byte [esi + eax]
mov byte [ebp - 4], al
mov eax, dword [edi + 8]
mov al, byte [esi + eax]
mov byte [ebp - 3], al
mov eax, dword [edi + 0xc]
xor edi, edi
mov al, byte [esi + eax]
mov ah, cl
mov byte [ebp - 1], al
nop dword [eax]
test ah, 1
je 0x4a636d
mov al, 2
test edi, edi
je 0x4a636b
mov esi, edi
nop dword [eax]
mov bl, al
add bl, bl
mov cl, bl
xor cl, 0x1b
test al, al
movzx edx, cl
movzx ecx, bl
cmovns edx, ecx
mov al, dl
sub esi, 1
jne 0x4a6350
xor bh, al
inc edi
shr ah, 1
cmp edi, 8
jl 0x4a6340
mov dh, byte [ebp - 4]
mov byte [ebp - 5], bh
xor bh, bh
xor edi, edi
nop
test dh, 1
je 0x4a63ac
mov bl, 3
test edi, edi
je 0x4a63aa
mov esi, edi
nop dword [eax]
mov dl, bl
add dl, dl
mov al, dl
xor al, 0x1b
test bl, bl
movzx ecx, al
movzx eax, dl
cmovns ecx, eax
mov bl, cl
sub esi, 1
jne 0x4a6390
xor bh, bl
inc edi
shr dh, 1
cmp edi, 8
jl 0x4a6380
mov al, byte [ebp - 3]
xor al, byte [ebp - 1]
mov dh, byte [ebp - 4]
xor al, bh
xor al, byte [ebp - 5]
xor bh, bh
mov byte [ebp - 6], al
xor edi, edi
nop dword [eax]
test dh, 1
je 0x4a63fc
mov bl, 2
test edi, edi
je 0x4a63fa
mov esi, edi
nop dword [eax]
mov dl, bl
add dl, dl
mov al, dl
xor al, 0x1b
test bl, bl
movzx ecx, al
movzx eax, dl
cmovns ecx, eax
mov bl, cl
sub esi, 1
jne 0x4a63e0
xor bh, bl
inc edi
shr dh, 1
cmp edi, 8
jl 0x4a63d0
mov dh, byte [ebp - 3]
mov byte [ebp - 5], bh
xor bh, bh
xor edi, edi
nop
test dh, 1
je 0x4a643c
mov bl, 3
test edi, edi
je 0x4a643a
mov esi, edi
nop dword [eax]
mov dl, bl
add dl, dl
mov al, dl
xor al, 0x1b
test bl, bl
movzx ecx, al
movzx eax, dl
cmovns ecx, eax
mov bl, cl
sub esi, 1
jne 0x4a6420
xor bh, bl
inc edi
shr dh, 1
cmp edi, 8
jl 0x4a6410
mov al, byte [ebp - 2]
xor al, byte [ebp - 1]
mov dh, byte [ebp - 3]
xor al, bh
xor al, byte [ebp - 5]
xor bh, bh
mov byte [ebp - 7], al
xor edi, edi
nop dword [eax]
test dh, 1
je 0x4a648c
mov bl, 2
test edi, edi
je 0x4a648a
mov esi, edi
nop dword [eax]
mov dl, bl
add dl, dl
mov al, dl
xor al, 0x1b
test bl, bl
movzx ecx, al
movzx eax, dl
cmovns ecx, eax
mov bl, cl
sub esi, 1
jne 0x4a6470
xor bh, bl
inc edi
shr dh, 1
cmp edi, 8
jl 0x4a6460
mov dh, byte [ebp - 1]
mov byte [ebp - 5], bh
xor bh, bh
xor edi, edi
nop
test dh, 1
je 0x4a64cc
mov bl, 3
test edi, edi
je 0x4a64ca
mov esi, edi
nop dword [eax]
mov dl, bl
add dl, dl
mov al, dl
xor al, 0x1b
test bl, bl
movzx ecx, al
movzx eax, dl
cmovns ecx, eax
mov bl, cl
sub esi, 1
jne 0x4a64b0
xor bh, bl
inc edi
shr dh, 1
cmp edi, 8
jl 0x4a64a0
mov cl, byte [ebp - 2]
mov al, cl
xor al, byte [ebp - 4]
xor al, bh
xor bh, bh
xor byte [ebp - 5], al
xor edi, edi
test cl, 1
je 0x4a6511
mov bl, 3
test edi, edi
je 0x4a650f
mov esi, edi
mov dl, bl
add dl, dl
mov al, dl
xor al, 0x1b
test bl, bl
movzx ecx, al
movzx eax, dl
cmovns ecx, eax
mov bl, cl
sub esi, 1
jne 0x4a64f2
mov cl, byte [ebp - 2]
xor bh, bl
shr cl, 1
inc edi
mov byte [ebp - 2], cl
cmp edi, 8
jl 0x4a64e5
mov al, byte [ebp - 1]
xor dh, dh
xor edi, edi
test al, 1
je 0x4a654f
mov bl, 2
test edi, edi
je 0x4a654d
mov esi, edi
nop
mov dl, bl
add dl, dl
mov al, dl
xor al, 0x1b
test bl, bl
movzx ecx, al
movzx eax, dl
cmovns ecx, eax
mov bl, cl
sub esi, 1
jne 0x4a6530
mov al, byte [ebp - 1]
xor dh, bl
shr al, 1
inc edi
mov byte [ebp - 1], al
cmp edi, 8
jl 0x4a6523
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
mov al, byte [ebp - 6]
mov esi, dword [ebp - 0xc]
mov byte [ecx], al
mov eax, dword [edi + 4]
mov cl, byte [ebp - 7]
mov byte [esi + eax], cl
mov eax, dword [edi + 8]
mov cl, byte [ebp - 5]
mov byte [esi + eax], cl
mov cl, byte [ebp - 3]
xor cl, byte [ebp - 4]
mov eax, dword [edi + 0xc]
xor cl, dh
xor cl, bh
mov byte [esi + eax], cl
inc esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], esi
cmp esi, dword [eax]
jl 0x4a6310
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4