Function at 0x494d30
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0xf8], 0
jmp 0x494d64
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x38
jge 0x494ddc
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 + 0x4ec290]
and eax, edx
je 0x494dbd
mov dword [ebp - 0x10c], 1
jmp 0x494dc7
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0xf8]
mov cl, byte [ebp - 0x10c]
mov byte [ebp + eax - 0x74], cl
jmp 0x494d55
mov dword [ebp - 0x100], 0
jmp 0x494df7
mov edx, dword [ebp - 0x100]
add edx, 1
mov dword [ebp - 0x100], edx
cmp dword [ebp - 0x100], 0x10
jge 0x494ff0
cmp dword [ebp + 0xc], 1
jne 0x494e1f
mov eax, 0xf
sub eax, dword [ebp - 0x100]
shl eax, 1
mov dword [ebp - 0x104], eax
jmp 0x494e2d
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 0x494e79
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0x1c
jge 0x494ed3
mov eax, dword [ebp - 0x100]
movzx ecx, byte [eax + 0x4ec280]
add ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
cmp dword [ebp - 0xfc], 0x1c
jge 0x494eba
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x74]
mov byte [ebp + edx - 0x3c], cl
jmp 0x494ed1
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x90]
mov byte [ebp + edx - 0x3c], cl
jmp 0x494e6a
mov dword [ebp - 0xf8], 0x1c
jmp 0x494eee
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0x38
jge 0x494f48
mov eax, dword [ebp - 0x100]
movzx ecx, byte [eax + 0x4ec280]
add ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
cmp dword [ebp - 0xfc], 0x38
jge 0x494f2f
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x74]
mov byte [ebp + edx - 0x3c], cl
jmp 0x494f46
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x90]
mov byte [ebp + edx - 0x3c], cl
jmp 0x494edf
mov dword [ebp - 0xf8], 0
jmp 0x494f63
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0x18
jge 0x494feb
mov eax, dword [ebp - 0xf8]
movzx ecx, byte [eax + 0x4ec250]
movzx edx, byte [ebp + ecx - 0x3c]
test edx, edx
je 0x494fa9
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp + eax*4 - 0xf4]
or edx, dword [ecx*4 + 0x4ec1f0]
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0xf4], edx
mov ecx, dword [ebp - 0xf8]
movzx edx, byte [ecx + 0x4ec268]
movzx eax, byte [ebp + edx - 0x3c]
test eax, eax
je 0x494fe6
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp + ecx*4 - 0xf4]
or eax, dword [edx*4 + 0x4ec1f0]
mov ecx, dword [ebp - 0x108]
mov dword [ebp + ecx*4 - 0xf4], eax
jmp 0x494f54
jmp 0x494de8
lea edx, [ebp - 0xf4]
push edx
mov ecx, dword [ebp - 0x110]
call fcn.00494ba0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret 8