Function at 0x495490
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0xf8], 0
jmp 0x4954c4
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x38
jge 0x49553c
mov ecx, dword [ebp - 0xf8]
movzx edx, byte [ecx + str.80_]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
and eax, 7
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0xfc]
sar ecx, 3
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
mov ecx, dword [ebp - 0x104]
movzx edx, word [ecx*2 + 0x4ed290]
and eax, edx
je 0x49551d
mov dword [ebp - 0x10c], 1
jmp 0x495527
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0xf8]
mov cl, byte [ebp - 0x10c]
mov byte [ebp + eax - 0x74], cl
jmp 0x4954b5
mov dword [ebp - 0x100], 0
jmp 0x495557
mov edx, dword [ebp - 0x100]
add edx, 1
mov dword [ebp - 0x100], edx
cmp dword [ebp - 0x100], 0x10
jge 0x495750
cmp dword [ebp + 0xc], 1
jne 0x49557f
mov eax, 0xf
sub eax, dword [ebp - 0x100]
shl eax, 1
mov dword [ebp - 0x104], eax
jmp 0x49558d
mov ecx, dword [ebp - 0x100]
shl ecx, 1
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
add edx, 1
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
mov dword [ebp + eax*4 - 0xf4], 0
mov ecx, dword [ebp - 0x104]
mov dword [ebp + ecx*4 - 0xf4], 0
mov dword [ebp - 0xf8], 0
jmp 0x4955d9
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0x1c
jge 0x495633
mov eax, dword [ebp - 0x100]
movzx ecx, byte [eax + 0x4ed280]
add ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
cmp dword [ebp - 0xfc], 0x1c
jge 0x49561a
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x74]
mov byte [ebp + edx - 0x3c], cl
jmp 0x495631
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x90]
mov byte [ebp + edx - 0x3c], cl
jmp 0x4955ca
mov dword [ebp - 0xf8], 0x1c
jmp 0x49564e
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0x38
jge 0x4956a8
mov eax, dword [ebp - 0x100]
movzx ecx, byte [eax + 0x4ed280]
add ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
cmp dword [ebp - 0xfc], 0x38
jge 0x49568f
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x74]
mov byte [ebp + edx - 0x3c], cl
jmp 0x4956a6
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x90]
mov byte [ebp + edx - 0x3c], cl
jmp 0x49563f
mov dword [ebp - 0xf8], 0
jmp 0x4956c3
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0x18
jge 0x49574b
mov eax, dword [ebp - 0xf8]
movzx ecx, byte [eax + 0x4ed250]
movzx edx, byte [ebp + ecx - 0x3c]
test edx, edx
je 0x495709
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp + eax*4 - 0xf4]
or edx, dword [ecx*4 + 0x4ed1f0]
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0xf4], edx
mov ecx, dword [ebp - 0xf8]
movzx edx, byte [ecx + 0x4ed268]
movzx eax, byte [ebp + edx - 0x3c]
test eax, eax
je 0x495746
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp + ecx*4 - 0xf4]
or eax, dword [edx*4 + 0x4ed1f0]
mov ecx, dword [ebp - 0x108]
mov dword [ebp + ecx*4 - 0xf4], eax
jmp 0x4956b4
jmp 0x495548
lea edx, [ebp - 0xf4]
push edx
mov ecx, dword [ebp - 0x110]
call fcn.00495300
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret 8