Function at 0x49031c
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 0x490325
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.0040463c
mov eax, dword [ebp - 8]
call fcn.0040463c
mov eax, dword [ebp + 0xc]
call fcn.0040463c
xor eax, eax
push ebp
push 0x4909e6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00490a0c
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.0040444c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
call fcn.00405414
cmp eax, 0x20
jne 0x4903ab
mov dword [ebp - 0x48], 3
jmp 0x4903b2
mov dword [ebp - 0x48], 9
cmp dword [ebp - 0x48], 3
jne 0x490430
cmp dword [ebp - 0xc], 1
jne 0x4903f6
push 3
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x4902f8]
call fcn.004055d0
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 0x490518
push 3
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x4902f8]
call fcn.004055d0
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 0x490518
cmp dword [ebp - 0xc], 1
jne 0x4904a7
push 9
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x4902f8]
call fcn.004055d0
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 0x490518
push 9
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x4902f8]
call fcn.004055d0
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, 0x490a00
call fcn.00404454
mov eax, dword [ebp + 8]
call fcn.0040418c
lea eax, [ebp - 0x50]
call fcn.0040418c
cmp dword [ebp + 0x10], 1
jne 0x4905bf
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 0x49098c
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 0x490674
cmp dword [ebp - 0xc], 1
jne 0x49065f
mov eax, dword [ebp - 0x2c]
xor dword [ebp - 0x24], eax
xor ebx, dword [ebp - 0x34]
jmp 0x490674
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 0x4907ff
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 0x4907e7
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 + 0x49ccd0]
mov esi, eax
shr esi, 0x10
and esi, 0x3f
or ebx, dword [esi*4 + 0x49ced0]
mov esi, eax
shr esi, 8
and esi, 0x3f
or ebx, dword [esi*4 + 0x49d0d0]
and eax, 0x3f
or ebx, dword [eax*4 + 0x49d2d0]
mov eax, edx
shr eax, 0x18
and eax, 0x3f
or ebx, dword [eax*4 + 0x49cbd0]
mov eax, edx
shr eax, 0x10
and eax, 0x3f
or ebx, dword [eax*4 + 0x49cdd0]
mov eax, edx
shr eax, 8
and eax, 0x3f
or ebx, dword [eax*4 + 0x49cfd0]
and edx, 0x3f
or ebx, dword [edx*4 + 0x49d1d0]
xor ebx, ecx
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x3c]
jne 0x49073e
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 0x49070c
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 0x4908a6
cmp dword [ebp - 0xc], 1
jne 0x49089d
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ebx
jmp 0x4908a6
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.00404374
push dword [ebp - 0x54]
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x24]
shr edx, 0x10
and edx, 0xff
call fcn.00404374
push dword [ebp - 0x58]
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x24]
shr edx, 8
and edx, 0xff
call fcn.00404374
push dword [ebp - 0x5c]
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 0x24]
and edx, 0xff
call fcn.00404374
push dword [ebp - 0x60]
lea eax, [ebp - 0x64]
mov edx, ebx
shr edx, 0x18
call fcn.00404374
push dword [ebp - 0x64]
lea eax, [ebp - 0x68]
mov edx, ebx
shr edx, 0x10
and edx, 0xff
call fcn.00404374
push dword [ebp - 0x68]
lea eax, [ebp - 0x6c]
mov edx, ebx
shr edx, 8
and edx, 0xff
call fcn.00404374
push dword [ebp - 0x6c]
lea eax, [ebp - 0x70]
mov edx, ebx
and edx, 0xff
call fcn.00404374
push dword [ebp - 0x70]
lea eax, [ebp - 0x50]
mov edx, 9
call fcn.0040450c
add dword [ebp - 0x4c], 8
cmp dword [ebp - 0x4c], 0x200
jne 0x490980
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x50]
call fcn.00404454
mov eax, dword [ebp + 8]
lea eax, [ebp - 0x50]
call fcn.0040418c
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x44]
jl 0x4905cb
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x50]
call fcn.00404454
mov eax, dword [ebp + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4909ed
lea eax, [ebp - 0x70]
mov edx, 9
call fcn.004041b0
lea eax, [ebp - 0x28]
mov edx, dword [0x4902f8]
call fcn.004055dc
lea eax, [ebp - 0x10]
mov edx, dword [0x48fe98]
call fcn.004055dc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041b0
lea eax, [ebp + 0xc]
call fcn.0040418c
ret