Function at 0x485f28
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x485f31
mov eax, dword [ebp - 4]
add esp, 0xfffffa0c
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
test esi, esi
js 0x485f5b
shr esi, 2
mov edi, dword [ebx + esi*4]
dec esi
push edi
jns 0x485f54
mov dword [ebp + 0x14], esp
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
test esi, esi
js 0x485f72
shr esi, 2
mov edi, dword [ebx + esi*4]
dec esi
push edi
jns 0x485f6b
mov dword [ebp + 0x1c], esp
mov ebx, dword [ebp + 0x24]
mov esi, dword [ebp + 0x20]
test esi, esi
js 0x485f89
shr esi, 2
mov edi, dword [ebx + esi*4]
dec esi
push edi
jns 0x485f82
mov dword [ebp + 0x24], esp
mov ebx, ecx
test ebx, ebx
js 0x485f9c
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x485f95
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 5], edx
mov byte [ebp - 1], al
mov byte [ebp - 0xd], 0
cmp byte [ebp - 1], 0
je 0x486005
mov al, byte [ebp - 0xd]
sub al, 1
jb 0x485fc3
je 0x485fd9
dec al
je 0x485fef
jmp 0x486054
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 5]
mov ecx, 8
call fcn.00402cec
mov byte [ebp - 0xe], 1
jmp 0x486054
lea edx, [ebp - 0x4c]
mov eax, dword [ebp + 0x24]
mov ecx, 8
call fcn.00402cec
mov byte [ebp - 0xe], 2
jmp 0x486054
lea edx, [ebp - 0x4c]
mov eax, dword [ebp + 0x1c]
mov ecx, 8
call fcn.00402cec
mov byte [ebp - 0xe], 1
jmp 0x486054
mov al, byte [ebp - 0xd]
sub al, 1
jb 0x486014
je 0x48602a
dec al
je 0x486040
jmp 0x486054
lea edx, [ebp - 0x4c]
mov eax, dword [ebp + 0x1c]
mov ecx, 8
call fcn.00402cec
mov byte [ebp - 0xe], 2
jmp 0x486054
lea edx, [ebp - 0x4c]
mov eax, dword [ebp + 0x24]
mov ecx, 8
call fcn.00402cec
mov byte [ebp - 0xe], 1
jmp 0x486054
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 5]
mov ecx, 8
call fcn.00402cec
mov byte [ebp - 0xe], 2
mov esi, 8
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0xa6]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xf8]
xor ebx, ebx
mov bl, byte [edx]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
shr ebx, 7
mov byte [ecx], bl
mov ebx, dword [ebp - 0x1c]
shr ebx, 6
and bl, 1
mov byte [ecx + 1], bl
mov ebx, dword [ebp - 0x1c]
shr ebx, 5
and bl, 1
mov byte [ecx + 2], bl
mov ebx, dword [ebp - 0x1c]
shr ebx, 4
and bl, 1
mov byte [ecx + 3], bl
mov ebx, dword [ebp - 0x1c]
shr ebx, 3
and bl, 1
mov byte [ecx + 4], bl
mov ebx, dword [ebp - 0x1c]
shr ebx, 2
and bl, 1
mov byte [ecx + 5], bl
mov ebx, dword [ebp - 0x1c]
shr ebx, 1
and bl, 1
mov byte [ecx + 6], bl
mov bl, byte [ebp - 0x1c]
and bl, 1
mov byte [ecx + 7], bl
mov ebx, dword [ebp - 0x54]
movzx ebx, byte [ebx]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
shr ebx, 7
mov byte [eax], bl
mov ebx, dword [ebp - 0x1c]
shr ebx, 6
and bl, 1
mov byte [eax + 1], bl
mov ebx, dword [ebp - 0x1c]
shr ebx, 5
and bl, 1
mov byte [eax + 2], bl
mov ebx, dword [ebp - 0x1c]
shr ebx, 4
and bl, 1
mov byte [eax + 3], bl
mov ebx, dword [ebp - 0x1c]
shr ebx, 3
and bl, 1
mov byte [eax + 4], bl
mov ebx, dword [ebp - 0x1c]
shr ebx, 2
and bl, 1
mov byte [eax + 5], bl
mov ebx, dword [ebp - 0x1c]
shr ebx, 1
and bl, 1
mov byte [eax + 6], bl
mov bl, byte [ebp - 0x1c]
and bl, 1
mov byte [eax + 7], bl
add eax, 8
inc dword [ebp - 0x54]
add ecx, 8
inc edx
dec esi
jne 0x48606e
mov esi, 0x38
mov eax, 0x49f9d4
lea edx, [ebp - 0x4f8]
mov dword [ebp - 0x54], edx
xor edx, edx
mov dl, byte [eax]
mov dl, byte [ebp + edx - 0xf9]
mov ecx, dword [ebp - 0x54]
mov byte [ecx], dl
inc dword [ebp - 0x54]
inc eax
dec esi
jne 0x486152
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0x38
mov esi, 0x10
mov dword [ebp - 0x54], 0x49fc9c
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x54]
xor edx, edx
mov dl, byte [eax]
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x4f8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [ebp + eax - 0x4f7]
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x4dc]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ebp + ecx - 0x4db]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ebx
mov ebx, 0x1c
sub ebx, edx
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x2c], 0
jle 0x48621e
add dword [ebp - 0x20], edx
mov ebx, dword [ebp - 0x2c]
dec ebx
test ebx, ebx
jl 0x48621e
inc ebx
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x20]
mov bl, byte [ebp + ebx - 0x4f8]
mov edi, dword [ebp - 0x24]
mov byte [ebp + edi - 0x4f8], bl
mov ebx, dword [ebp - 0x20]
mov bl, byte [ebp + ebx - 0x4dc]
mov edi, dword [ebp - 0x24]
mov byte [ebp + edi - 0x4dc], bl
inc dword [ebp - 0x20]
inc dword [ebp - 0x24]
dec dword [ebp - 0x50]
jne 0x4861eb
dec edx
jne 0x486240
mov al, byte [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov byte [ebp + edx - 0x4dd], al
mov al, byte [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add edx, 0x1b
mov byte [ebp + edx - 0x4dc], al
jmp 0x48626e
mov dl, byte [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov byte [ebp + ebx - 0x4de], dl
mov edx, dword [ebp - 0x1c]
mov byte [ebp + edx - 0x4dd], al
mov dl, byte [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, 0x1b
mov byte [ebp + eax - 0x4dd], dl
mov byte [ebp + eax - 0x4dc], cl
add dword [ebp - 0x38], 0x38
add dword [ebp - 0x3c], 0x38
inc dword [ebp - 0x54]
dec esi
jne 0x486181
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x10
mov esi, 0x30
mov eax, 0x49fa0c
xor edx, edx
mov dl, byte [eax]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x24]
mov dl, byte [ebp + edx - 0x4c1]
mov ecx, dword [ebp - 0x2c]
mov byte [ebp + ecx - 0x18f8], dl
inc dword [ebp - 0x2c]
inc eax
dec esi
jne 0x48629b
add dword [ebp - 0x20], 0x38
dec dword [ebp - 0x28]
jne 0x486291
mov esi, 0x40
mov dword [ebp - 0x54], 0x49f954
lea eax, [ebp - 0x8f8]
mov edx, dword [ebp - 0x54]
movzx edx, byte [edx]
mov dl, byte [ebp + edx - 0xa7]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x54]
dec esi
jne 0x4862db
xor esi, esi
lea eax, [ebp - 0x8f8]
lea edx, [ebp - 0x10f8]
mov dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x54]
mov cl, byte [eax]
mov byte [edx], cl
lea edx, [esi + 0x40]
mov cl, byte [eax + 0x20]
mov byte [ebp + edx - 0x8f8], cl
inc esi
inc dword [ebp - 0x54]
inc eax
cmp esi, 0x20
jne 0x486302
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x28], eax
cmp byte [ebp - 0xe], 1
jne 0x486338
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
jmp 0x486343
mov eax, 0xf
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
xor esi, esi
lea eax, [esi + 0x40]
add eax, dword [ebp - 0x28]
mov al, byte [ebp + eax - 0x8f8]
lea edx, [esi + 0x20]
add edx, dword [ebp - 0x28]
mov byte [ebp + edx - 0x10f8], al
inc esi
cmp esi, 0x20
jne 0x486345
mov eax, dword [ebp - 0x24]
shl eax, 4
lea eax, [eax + eax*2]
mov dword [ebp - 0x24], eax
mov esi, 0x30
mov dword [ebp - 0x54], 0x49fa5c
lea eax, [ebp - 0x1cf8]
lea ecx, [ebp - 0x20f8]
mov edx, dword [ebp - 0x54]
movzx edx, byte [edx]
add edx, dword [ebp - 0x28]
add edx, 0x40
movzx edx, byte [ebp + edx - 0x8f9]
mov dword [ebp - 0x14], edx
mov dl, byte [ebp - 0x14]
mov byte [eax], dl
mov ebx, dword [ebp - 0x24]
xor dl, byte [ebp + ebx - 0x18f8]
mov byte [ecx], dl
inc dword [ebp - 0x24]
inc ecx
inc eax
inc dword [ebp - 0x54]
dec esi
jne 0x486389
xor eax, eax
xor edx, edx
mov dword [ebp - 0x18], edx
xor ecx, ecx
mov esi, 8
xor edx, edx
mov dl, byte [ebp + eax - 0x20f3]
xor ebx, ebx
mov bl, byte [ebp + eax - 0x20f8]
add ebx, ebx
mov dword [ebp - 0x14], ebx
add edx, dword [ebp - 0x14]
add edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
mov dl, byte [ebp + eax - 0x20f7]
add edx, dword [ebp - 0x14]
add edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
mov dl, byte [ebp + eax - 0x20f6]
add edx, dword [ebp - 0x14]
add edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
mov dl, byte [ebp + eax - 0x20f5]
add edx, dword [ebp - 0x14]
add edx, edx
xor ebx, ebx
mov bl, byte [ebp + eax - 0x20f4]
mov dword [ebp - 0x14], ebx
add edx, dword [ebp - 0x14]
and edx, 0xff
add edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0x49fa8c]
mov ebx, edx
shr ebx, 3
and bl, 1
mov byte [ebp + ecx - 0x14f8], bl
mov ebx, edx
shr ebx, 2
and bl, 1
mov byte [ebp + ecx - 0x14f7], bl
mov ebx, edx
shr ebx, 1
and bl, 1
mov byte [ebp + ecx - 0x14f6], bl
and dl, 1
mov byte [ebp + ecx - 0x14f5], dl
add eax, 6
add dword [ebp - 0x18], 0x42
add ecx, 4
dec esi
jne 0x4863ca
mov esi, 0x20
mov ecx, 0x49fa3c
lea eax, [ebp - 0x24f8]
xor edx, edx
mov dl, byte [ecx]
mov dl, byte [ebp + edx - 0x14f9]
mov byte [eax], dl
inc eax
inc ecx
dec esi
jne 0x48648f
xor esi, esi
lea eax, [ebp - 0x24f8]
mov edx, dword [ebp - 0x28]
add edx, esi
mov dl, byte [ebp + edx - 0x10f8]
xor dl, byte [eax]
mov ecx, dword [ebp - 0x28]
add ecx, 0x40
add ecx, 0x20
add ecx, esi
mov byte [ebp + ecx - 0x8f8], dl
inc esi
inc eax
cmp esi, 0x20
jne 0x4864a9
inc dword [ebp - 0x20]
add dword [ebp - 0x28], 0x20
cmp dword [ebp - 0x28], 0x200
jle 0x48632a
xor esi, esi
lea eax, [ebp - 0x6b8]
lea ecx, [ebp - 0x2578]
mov dl, byte [eax]
mov byte [ecx], dl
lea edx, [esi + 0x20]
mov dl, byte [ebp + edx - 0xf18]
mov byte [ecx + 0x20], dl
inc esi
inc ecx
inc eax
cmp esi, 0x20
jne 0x4864f2
mov esi, 0x40
mov ecx, 0x49f994
lea eax, [ebp - 0x25f8]
xor edx, edx
mov dl, byte [ecx]
mov dl, byte [ebp + edx - 0x2579]
mov byte [eax], dl
inc eax
inc ecx
dec esi
jne 0x48651b
mov esi, 8
lea eax, [ebp - 0x25f7]
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov dl, byte [eax]
xor ebx, ebx
mov bl, byte [eax - 1]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
add ebx, ebx
mov edi, ebx
neg ebx
mov dword [ebp - 0x14], ebx
or edx, dword [ebp - 0x14]
add edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
mov dl, byte [eax + 1]
or edx, dword [ebp - 0x14]
add edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
mov dl, byte [eax + 2]
or edx, dword [ebp - 0x14]
add edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
mov dl, byte [eax + 3]
or edx, dword [ebp - 0x14]
add edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
mov dl, byte [eax + 4]
or edx, dword [ebp - 0x14]
add edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
mov dl, byte [eax + 5]
or edx, dword [ebp - 0x14]
add edx, edx
xor ebx, ebx
mov bl, byte [eax + 6]
mov dword [ebp - 0x14], ebx
or edx, dword [ebp - 0x14]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov dl, byte [ebp - 0x14]
mov byte [ecx], dl
inc ecx
add eax, 8
dec esi
jne 0x48653b
inc byte [ebp - 0xd]
cmp byte [ebp - 0xd], 3
jne 0x485fab
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov ecx, 8
call fcn.00402cec
mov edi, dword [ebp - 0x2604]
mov esi, dword [ebp - 0x2600]
mov ebx, dword [ebp - 0x25fc]
mov esp, ebp
pop ebp
ret 0x20