Function at 0x4ad94f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
push 0x20
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
sub esi, 6
push eax
mov dword [ebp - 0x30], esi
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0xc
xor ebx, ebx
xor edi, edi
xor edx, edx
test esi, esi
jle 0x4ad9d2
mov eax, dword [ebp - 0x2c]
cmp ebx, dword [eax + 4]
jg 0x4ad9d2
cmp edx, esi
jge 0x4ad9c6
lea eax, [ebp - 0x24]
lea eax, [eax + edx*4]
mov dword [ebp - 0x28], eax
cmp edi, 4
jge 0x4ad9c3
mov esi, dword [ebp - 0x2c]
lea ecx, [edi + ebx*4]
mov eax, dword [eax]
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
add eax, 4
inc edi
mov dword [ebp - 0x28], eax
cmp edx, esi
jl 0x4ad9a0
mov eax, dword [ebp - 0x2c]
cmp edi, 4
jne 0x4ad9ce
inc ebx
xor edi, edi
cmp edx, esi
jl 0x4ad98e
mov eax, dword [ebp - 0x2c]
cmp ebx, dword [eax + 4]
jg 0x4adb1d
mov edx, 0x5244a0
movzx eax, byte [ebp + esi*4 - 0x27]
mov cl, byte [ebp - 0x24]
xor cl, byte [eax + 0x521ea0]
mov byte [ebp - 0x24], cl
movzx eax, byte [ebp + esi*4 - 0x26]
mov al, byte [eax + 0x521ea0]
xor byte [ebp - 0x23], al
movzx eax, byte [ebp + esi*4 - 0x25]
mov al, byte [eax + 0x521ea0]
xor byte [ebp - 0x22], al
movzx eax, byte [ebp + esi*4 - 0x28]
mov al, byte [eax + 0x521ea0]
xor byte [ebp - 0x21], al
mov al, byte [edx]
xor byte [ebp - 0x24], al
inc edx
mov dword [ebp - 0x34], edx
cmp esi, 8
je 0x4ada57
cmp esi, 1
jle 0x4adac1
lea eax, [esi - 1]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x28], eax
xor ecx, ecx
mov al, byte [edx + ecx - 4]
xor byte [edx + ecx], al
inc ecx
cmp ecx, 4
jl 0x4ada40
add edx, 4
dec dword [ebp - 0x28]
jne 0x4ada3e
jmp 0x4adac1
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], 3
push 4
pop edx
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
dec edx
jne 0x4ada64
dec dword [ebp - 0x28]
jne 0x4ada61
movzx eax, byte [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], 3
mov al, byte [eax + 0x521ea0]
xor byte [ebp - 0x14], al
movzx eax, byte [ebp - 0x17]
mov al, byte [eax + 0x521ea0]
xor byte [ebp - 0x13], al
movzx eax, byte [ebp - 0x16]
mov al, byte [eax + 0x521ea0]
xor byte [ebp - 0x12], al
movzx eax, byte [ebp - 0x15]
mov al, byte [eax + 0x521ea0]
xor byte [ebp - 0x11], al
push 4
pop edx
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
dec edx
jne 0x4adab3
dec dword [ebp - 0x28]
jne 0x4adab0
xor edx, edx
test esi, esi
jle 0x4adb0e
mov eax, dword [ebp - 0x2c]
cmp ebx, dword [eax + 4]
jg 0x4adb0e
cmp edx, esi
jge 0x4adb02
lea eax, [ebp - 0x24]
lea eax, [eax + edx*4]
mov dword [ebp - 0x28], eax
cmp edi, 4
jge 0x4adaff
mov esi, dword [ebp - 0x2c]
lea ecx, [edi + ebx*4]
mov eax, dword [eax]
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
add eax, 4
inc edi
mov dword [ebp - 0x28], eax
cmp edx, esi
jl 0x4adadc
mov eax, dword [ebp - 0x2c]
cmp edi, 4
jne 0x4adb0a
inc ebx
xor edi, edi
cmp edx, esi
jl 0x4adaca
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
cmp ebx, dword [eax + 4]
jle 0x4ad9e3
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret 4