Function at 0x4ad439
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x40], eax
test edi, edi
je 0x4ad8af
shr edi, 4
cmp byte [ebx], 0
mov dword [ebp + 0xc], edi
je 0x4ad47d
push eax
push edi
push esi
call fcn.004ad8c2
jmp 0x4ad8af
lea eax, [ebx + 8]
push 0x10
push eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0xc
test edi, edi
je 0x4ad89d
lea eax, [esi + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
sub esi, eax
mov dword [ebp - 0x58], esi
lea ecx, [eax + 8]
mov dword [ebp - 0x40], ecx
mov esi, dword [ebx + 4]
mov eax, esi
add eax, eax
mov edx, dword [ebp - 0x58]
mov edx, dword [edx + ecx - 8]
mov ecx, dword [ebx + eax*8 + 0x18]
xor ecx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx - 4]
mov ecx, dword [ebx + eax*8 + 0x1c]
xor ecx, edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov dword [ebp - 0x50], edx
mov edx, dword [ebx + eax*8 + 0x20]
mov ebx, dword [ebx + eax*8 + 0x24]
xor edx, dword [ecx]
mov ecx, dword [ecx + 4]
xor ebx, ecx
mov dword [ebp - 0x60], ecx
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x523ca0]
xor ecx, dword [eax*4 + 0x5244c0]
mov eax, dword [ebp - 0x24]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x522fa0]
mov eax, dword [ebp - 0x1c]
movzx eax, al
xor ecx, dword [eax*4 + 0x5223a0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov ecx, edx
shr ecx, 0x18
mov eax, dword [eax*4 + 0x5244c0]
xor eax, dword [ecx*4 + 0x522fa0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x523ca0]
mov eax, dword [ebp - 0x24]
movzx eax, al
xor ecx, dword [eax*4 + 0x5223a0]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], ecx
mov ecx, ebx
shr eax, 8
shr ecx, 0x18
movzx eax, al
mov ecx, dword [ecx*4 + 0x522fa0]
xor ecx, dword [eax*4 + 0x523ca0]
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x5244c0]
movzx eax, dl
shr edx, 8
xor ecx, dword [eax*4 + 0x5223a0]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], ecx
shr eax, 0x10
movzx ecx, dl
movzx eax, al
mov ecx, dword [ecx*4 + 0x523ca0]
xor ecx, dword [eax*4 + 0x5244c0]
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x522fa0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x5223a0]
dec esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], ecx
cmp esi, 1
jle 0x4ad722
lea edi, [esi + 2]
shl edi, 4
add edi, dword [ebp - 0x4c]
dec esi
mov dword [ebp - 0x20], esi
mov eax, dword [edi - 8]
xor eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 4]
xor eax, ecx
mov edx, dword [edi]
xor edx, dword [ebp - 0x48]
lea edi, [edi - 0x10]
mov dword [ebp - 0x24], eax
shr eax, 8
movzx ecx, al
mov eax, edx
mov ebx, dword [edi + 0xc]
xor ebx, dword [ebp - 0x28]
shr eax, 0x10
mov ecx, dword [ecx*4 + 0x523ca0]
movzx eax, al
xor ecx, dword [eax*4 + 0x5244c0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x522fa0]
mov eax, dword [ebp - 0x1c]
movzx eax, al
xor ecx, dword [eax*4 + 0x5223a0]
mov eax, dword [ebp - 0x24]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov ecx, edx
shr ecx, 0x18
mov eax, dword [eax*4 + 0x5244c0]
xor eax, dword [ecx*4 + 0x522fa0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x523ca0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x5223a0]
mov eax, ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x24]
shr eax, 8
shr ecx, 0x18
movzx eax, al
shr ebx, 0x10
mov ecx, dword [ecx*4 + 0x522fa0]
xor ecx, dword [eax*4 + 0x523ca0]
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x5244c0]
movzx eax, dl
shr edx, 8
xor ecx, dword [eax*4 + 0x5223a0]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], ecx
movzx ecx, dl
movzx eax, bl
mov ecx, dword [ecx*4 + 0x523ca0]
xor ecx, dword [eax*4 + 0x5244c0]
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x522fa0]
mov eax, dword [ebp - 0x24]
movzx eax, al
xor ecx, dword [eax*4 + 0x5223a0]
dec dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
jne 0x4ad604
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0x28]
xor eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
movzx eax, al
mov ebx, dword [ecx + 0x2c]
mov edx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x34]
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x38], al
xor ecx, dword [ebp - 0x20]
xor edx, dword [ebp - 0x48]
mov eax, ecx
shr eax, 8
movzx eax, al
xor ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x3c]
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x37], al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x36], al
mov eax, ebx
shr eax, 0x18
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x35], al
movzx eax, bl
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x34], al
mov eax, esi
shr eax, 8
movzx eax, al
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x33], al
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x32], al
mov eax, edx
shr eax, 0x18
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x31], al
movzx eax, dl
shr edx, 8
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x30], al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x10
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x2f], al
mov eax, esi
shr eax, 0x10
movzx eax, al
shr esi, 0x18
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x2e], al
mov eax, ecx
shr eax, 0x18
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x2d], al
movzx eax, cl
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x2c], al
movzx eax, dl
mov edx, dword [ebp - 0x34]
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x2b], al
movzx eax, bl
mov ebx, dword [ebp - 0x4c]
mov al, byte [eax + 0x523ba0]
mov byte [ebp - 0x2a], al
mov al, byte [esi + 0x523ba0]
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x38]
xor eax, dword [ebx + 0x18]
xor edx, dword [ebx + 0x1c]
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [ebx + 0x24]
xor esi, dword [ebx + 0x20]
cmp byte [ebx + 1], 0
mov dword [ebp - 0x20], ecx
je 0x4ad860
xor eax, dword [ebp - 0x18]
xor edx, dword [ebp - 0x14]
xor esi, dword [ebp - 0x10]
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x5c]
add dword [ebp - 0x44], 0x10
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x40]
mov dword [ecx - 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx - 4], edx
mov dword [ecx], esi
mov dword [ecx + 4], eax
add ecx, 0x10
dec edi
mov dword [ebp - 0x40], ecx
mov dword [ebp + 0xc], edi
jne 0x4ad4af
push 0x10
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x54]
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0xc
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret 0xc