Function at 0x494610
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0xf8], 0
jmp 0x494644
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x38
jge 0x4946bc
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 + 0x4eb290]
and eax, edx
je 0x49469d
mov dword [ebp - 0x10c], 1
jmp 0x4946a7
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0xf8]
mov cl, byte [ebp - 0x10c]
mov byte [ebp + eax - 0x74], cl
jmp 0x494635
mov dword [ebp - 0x100], 0
jmp 0x4946d7
mov edx, dword [ebp - 0x100]
add edx, 1
mov dword [ebp - 0x100], edx
cmp dword [ebp - 0x100], 0x10
jge 0x4948d0
cmp dword [ebp + 0xc], 1
jne 0x4946ff
mov eax, 0xf
sub eax, dword [ebp - 0x100]
shl eax, 1
mov dword [ebp - 0x104], eax
jmp 0x49470d
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 0x494759
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0x1c
jge 0x4947b3
mov eax, dword [ebp - 0x100]
movzx ecx, byte [eax + 0x4eb280]
add ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
cmp dword [ebp - 0xfc], 0x1c
jge 0x49479a
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x74]
mov byte [ebp + edx - 0x3c], cl
jmp 0x4947b1
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x90]
mov byte [ebp + edx - 0x3c], cl
jmp 0x49474a
mov dword [ebp - 0xf8], 0x1c
jmp 0x4947ce
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0x38
jge 0x494828
mov eax, dword [ebp - 0x100]
movzx ecx, byte [eax + 0x4eb280]
add ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
cmp dword [ebp - 0xfc], 0x38
jge 0x49480f
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x74]
mov byte [ebp + edx - 0x3c], cl
jmp 0x494826
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x90]
mov byte [ebp + edx - 0x3c], cl
jmp 0x4947bf
mov dword [ebp - 0xf8], 0
jmp 0x494843
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0x18
jge 0x4948cb
mov eax, dword [ebp - 0xf8]
movzx ecx, byte [eax + 0x4eb250]
movzx edx, byte [ebp + ecx - 0x3c]
test edx, edx
je 0x494889
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp + eax*4 - 0xf4]
or edx, dword [ecx*4 + 0x4eb1f0]
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0xf4], edx
mov ecx, dword [ebp - 0xf8]
movzx edx, byte [ecx + 0x4eb268]
movzx eax, byte [ebp + edx - 0x3c]
test eax, eax
je 0x4948c6
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp + ecx*4 - 0xf4]
or eax, dword [edx*4 + 0x4eb1f0]
mov ecx, dword [ebp - 0x108]
mov dword [ebp + ecx*4 - 0xf4], eax
jmp 0x494834
jmp 0x4946c8
lea edx, [ebp - 0xf4]
push edx
mov ecx, dword [ebp - 0x110]
call fcn.00494480
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e29e
mov esp, ebp
pop ebp
ret 8