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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4dac01
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405218
mov eax, dword [ebp - 8]
call fcn.00405218
mov eax, dword [ebp + 0xc]
call fcn.00405218
xor eax, eax
push ebp
push 0x4db2c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004db2e8
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
call fcn.00405028
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
call fcn.0040636c
cmp eax, 0x20
jne 0x4dac87
mov dword [ebp - 0x48], 3
jmp 0x4dac8e
mov dword [ebp - 0x48], 9
cmp dword [ebp - 0x48], 3
jne 0x4dad0c
cmp dword [ebp - 0xc], 1
jne 0x4dacd2
push 3
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x4dabd4]
call fcn.00406528
add esp, 4
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], 0x20
mov eax, dword [ebp - 0x28]
mov dword [eax + 8], 2
jmp 0x4dadf4
push 3
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x4dabd4]
call fcn.00406528
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x1e
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], 0xfffffffe
mov eax, dword [ebp - 0x28]
mov dword [eax + 8], 0xfffffffe
jmp 0x4dadf4
cmp dword [ebp - 0xc], 1
jne 0x4dad83
push 9
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x4dabd4]
call fcn.00406528
add esp, 4
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], 0x20
mov eax, dword [ebp - 0x28]
mov dword [eax + 8], 2
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xc], 0x3e
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x10], 0x1e
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x14], 0xfffffffe
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x18], 0x40
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x1c], 0x60
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x20], 2
jmp 0x4dadf4
push 9
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x4dabd4]
call fcn.00406528
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x5e
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], 0x3e
mov eax, dword [ebp - 0x28]
mov dword [eax + 8], 0xfffffffe
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xc], 0x20
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x10], 0x40
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x14], 2
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x18], 0x1e
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x1c], 0xfffffffe
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x20], 0xfffffffe
lea eax, [ebp - 8]
mov edx, 0x4db2dc
call fcn.00405030
mov eax, dword [ebp + 8]
call fcn.00404d68
lea eax, [ebp - 0x50]
call fcn.00404d68
cmp dword [ebp + 0x10], 1
jne 0x4dae9b
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx]
shl eax, 0x18
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [edx + ecx + 1]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [edx + ecx + 2]
shl edx, 8
or eax, edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [edx + ecx + 3]
or eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx + 4]
shl eax, 0x18
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [edx + ecx + 5]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [edx + ecx + 6]
shl edx, 8
or eax, edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [edx + ecx + 7]
or eax, edx
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x44]
jge 0x4db268
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx]
shl eax, 0x18
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [edx + ecx + 1]
shl edx, 0x10
or eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [edx + ecx + 2]
shl edx, 8
or eax, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [edx + ecx + 3]
or eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
xor ebx, ebx
mov bl, byte [eax + edx + 4]
shl ebx, 0x18
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx + 5]
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx + 6]
shl eax, 8
or ebx, eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
movzx eax, byte [eax + edx + 7]
or ebx, eax
add dword [ebp - 0x14], 8
cmp dword [ebp + 0x10], 1
jne 0x4daf50
cmp dword [ebp - 0xc], 1
jne 0x4daf3b
mov eax, dword [ebp - 0x2c]
xor dword [ebp - 0x24], eax
xor ebx, dword [ebp - 0x34]
jmp 0x4daf50
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ebx
mov ecx, dword [ebp - 0x24]
shr ecx, 4
xor ecx, ebx
and ecx, 0xf0f0f0f
xor ebx, ecx
shl ecx, 4
xor dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
shr ecx, 0x10
xor ecx, ebx
and ecx, 0xffff
xor ebx, ecx
shl ecx, 0x10
xor dword [ebp - 0x24], ecx
mov ecx, ebx
shr ecx, 2
xor ecx, dword [ebp - 0x24]
and ecx, 0x33333333
xor dword [ebp - 0x24], ecx
shl ecx, 2
xor ebx, ecx
mov ecx, ebx
shr ecx, 8
xor ecx, dword [ebp - 0x24]
and ecx, 0xff00ff
xor dword [ebp - 0x24], ecx
shl ecx, 8
xor ebx, ecx
mov ecx, dword [ebp - 0x24]
shr ecx, 1
xor ecx, ebx
and ecx, 0x55555555
xor ebx, ecx
add ecx, ecx
xor dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
add eax, eax
mov edx, dword [ebp - 0x24]
shr edx, 0x1f
or eax, edx
mov dword [ebp - 0x24], eax
mov eax, ebx
add eax, eax
shr ebx, 0x1f
or eax, ebx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x48]
jge 0x4db0db
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4 + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4 + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x3c]
je 0x4db0c3
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
xor eax, ebx
mov edx, ebx
shr edx, 4
mov ecx, ebx
shl ecx, 0x1c
or edx, ecx
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
xor edx, dword [ecx + esi*4 + 4]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5d6734]
mov esi, eax
shr esi, 0x10
and esi, 0x3f
or ebx, dword [esi*4 + 0x5d6934]
mov esi, eax
shr esi, 8
and esi, 0x3f
or ebx, dword [esi*4 + 0x5d6b34]
and eax, 0x3f
or ebx, dword [eax*4 + 0x5d6d34]
mov eax, edx
shr eax, 0x18
and eax, 0x3f
or ebx, dword [eax*4 + 0x5d6634]
mov eax, edx
shr eax, 0x10
and eax, 0x3f
or ebx, dword [eax*4 + 0x5d6834]
mov eax, edx
shr eax, 8
and eax, 0x3f
or ebx, dword [eax*4 + 0x5d6a34]
and edx, 0x3f
or ebx, dword [edx*4 + 0x5d6c34]
xor ebx, ecx
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x3c]
jne 0x4db01a
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov ebx, ecx
add dword [ebp - 0x1c], 3
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x48]
jl 0x4dafe8
mov eax, dword [ebp - 0x24]
shr eax, 1
mov edx, dword [ebp - 0x24]
shl edx, 0x1f
or eax, edx
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 1
shl ebx, 0x1f
or eax, ebx
mov ebx, eax
mov ecx, dword [ebp - 0x24]
shr ecx, 1
xor ecx, ebx
and ecx, 0x55555555
xor ebx, ecx
add ecx, ecx
xor dword [ebp - 0x24], ecx
mov ecx, ebx
shr ecx, 8
xor ecx, dword [ebp - 0x24]
and ecx, 0xff00ff
xor dword [ebp - 0x24], ecx
shl ecx, 8
xor ebx, ecx
mov ecx, ebx
shr ecx, 2
xor ecx, dword [ebp - 0x24]
and ecx, 0x33333333
xor dword [ebp - 0x24], ecx
shl ecx, 2
xor ebx, ecx
mov ecx, dword [ebp - 0x24]
shr ecx, 0x10
xor ecx, ebx
and ecx, 0xffff
xor ebx, ecx
shl ecx, 0x10
xor dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
shr ecx, 4
xor ecx, ebx
and ecx, 0xf0f0f0f
xor ebx, ecx
shl ecx, 4
xor dword [ebp - 0x24], ecx
cmp dword [ebp + 0x10], 1
jne 0x4db182
cmp dword [ebp - 0xc], 1
jne 0x4db179
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ebx
jmp 0x4db182
mov eax, dword [ebp - 0x30]
xor dword [ebp - 0x24], eax
xor ebx, dword [ebp - 0x38]
push dword [ebp - 0x50]
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x24]
shr edx, 0x18
call fcn.00404f50
push dword [ebp - 0x54]
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x24]
shr edx, 0x10
and edx, 0xff
call fcn.00404f50
push dword [ebp - 0x58]
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x24]
shr edx, 8
and edx, 0xff
call fcn.00404f50
push dword [ebp - 0x5c]
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 0x24]
and edx, 0xff
call fcn.00404f50
push dword [ebp - 0x60]
lea eax, [ebp - 0x64]
mov edx, ebx
shr edx, 0x18
call fcn.00404f50
push dword [ebp - 0x64]
lea eax, [ebp - 0x68]
mov edx, ebx
shr edx, 0x10
and edx, 0xff
call fcn.00404f50
push dword [ebp - 0x68]
lea eax, [ebp - 0x6c]
mov edx, ebx
shr edx, 8
and edx, 0xff
call fcn.00404f50
push dword [ebp - 0x6c]
lea eax, [ebp - 0x70]
mov edx, ebx
and edx, 0xff
call fcn.00404f50
push dword [ebp - 0x70]
lea eax, [ebp - 0x50]
mov edx, 9
call fcn.004050e8
add dword [ebp - 0x4c], 8
cmp dword [ebp - 0x4c], 0x200
jne 0x4db25c
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x50]
call fcn.00405030
mov eax, dword [ebp + 8]
lea eax, [ebp - 0x50]
call fcn.00404d68
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x44]
jl 0x4daea7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x50]
call fcn.00405030
mov eax, dword [ebp + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db2c9
lea eax, [ebp - 0x70]
mov edx, 9
call fcn.00404d8c
lea eax, [ebp - 0x28]
mov edx, dword [0x4dabd4]
call fcn.00406648
lea eax, [ebp - 0x10]
mov edx, dword [0x4da774]
call fcn.00406648
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d8c
lea eax, [ebp + 0xc]
call fcn.00404d68
ret