Function at 0x460090
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x8c
mov eax, dword [0x71a830]
xor eax, esp
mov dword [esp + 0x88], eax
push esi
mov esi, dword [esp + 0x94]
push edi
mov dword [esp + 0x14], ecx
xor eax, eax
movzx ecx, byte [eax + str.91__]
dec ecx
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*4 + 0x49a620], dl
setne cl
mov byte [esp + eax + 0x18], cl
movzx ecx, byte [eax + 0x49a5a9]
dec ecx
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*4 + 0x49a620], dl
setne cl
mov byte [esp + eax + 0x19], cl
movzx ecx, byte [eax + 0x49a5aa]
dec ecx
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*4 + 0x49a620], dl
setne cl
mov byte [esp + eax + 0x1a], cl
movzx ecx, byte [eax + 0x49a5ab]
dec ecx
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*4 + 0x49a620], dl
setne cl
mov byte [esp + eax + 0x1b], cl
add eax, 4
cmp eax, 0x38
jl 0x4600b3
xor edx, edx
push ebx
mov dword [esp + 0x14], edx
push ebp
nop
movzx ecx, byte [edx + 0x49a5e0]
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
sub ecx, 0x1a
lea ebx, [ebx]
xor edx, edx
cmp eax, 0x1c
setge dl
lea esi, [ecx + 0x1a]
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp esi, edx
jl 0x460189
lea esi, [ecx - 2]
mov dl, byte [esp + esi + 0x20]
mov byte [esp + eax + 0x58], dl
xor edx, edx
cmp eax, 0x1b
setge dl
lea esi, [ecx + 0x1b]
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp esi, edx
jl 0x4601aa
lea esi, [ecx - 1]
mov dl, byte [esp + esi + 0x20]
mov byte [esp + eax + 0x59], dl
xor edx, edx
cmp eax, 0x1a
setge dl
lea esi, [ecx + 0x1c]
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp esi, edx
jl 0x4601ca
mov esi, ecx
mov dl, byte [esp + esi + 0x20]
mov byte [esp + eax + 0x5a], dl
xor edx, edx
cmp eax, 0x19
setge dl
lea esi, [ecx + 0x1d]
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp esi, edx
jl 0x4601eb
lea esi, [ecx + 1]
mov dl, byte [esp + esi + 0x20]
mov byte [esp + eax + 0x5b], dl
add eax, 4
add ecx, 4
cmp eax, 0x38
jl 0x460170
xor ecx, ecx
mov dword [esp + 0x14], 5
mov dword [esp + 0x10], 4
lea ebp, [ecx + 3]
lea edi, [ecx + 2]
mov esi, 1
nop
movzx eax, byte [esi + 0x49a5ef]
cmp byte [esp + eax + 0x57], 0
je 0x460254
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea eax, [esp + edx + 0x90]
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x49a620]
sar edx, 2
or byte [eax], dl
movzx eax, byte [esi + 0x49a5f0]
cmp byte [esp + eax + 0x57], 0
je 0x460288
mov eax, 0xaaaaaaab
mul esi
shr edx, 2
lea eax, [esp + edx + 0x90]
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x49a624]
sar edx, 2
or byte [eax], dl
movzx eax, byte [edi + 0x49a5f0]
cmp byte [esp + eax + 0x57], 0
je 0x4602bc
mov eax, 0xaaaaaaab
mul edi
shr edx, 2
lea eax, [esp + edx + 0x90]
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x49a628]
sar edx, 2
or byte [eax], dl
movzx eax, byte [ebp + 0x49a5f0]
cmp byte [esp + eax + 0x57], 0
je 0x4602f0
mov eax, 0xaaaaaaab
mul ebp
shr edx, 2
lea eax, [esp + edx + 0x90]
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x49a62c]
sar edx, 2
or byte [eax], dl
mov edx, dword [esp + 0x10]
movzx eax, byte [edx + 0x49a5f0]
cmp byte [esp + eax + 0x57], 0
je 0x460328
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [esp + edx + 0x90]
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x49a630]
sar edx, 2
or byte [eax], dl
mov edx, dword [esp + 0x14]
movzx eax, byte [edx + 0x49a5f0]
cmp byte [esp + eax + 0x57], 0
je 0x460360
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [esp + edx + 0x90]
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x49a634]
sar edx, 2
or byte [eax], dl
mov eax, 6
add dword [esp + 0x10], eax
add dword [esp + 0x14], eax
add esi, eax
add ecx, eax
add edi, eax
add ebp, eax
cmp esi, 0x31
jl 0x460220
mov eax, dword [esp + 0x90]
movzx ecx, byte [esp + 0x92]
mov esi, dword [esp + 0x1c]
movzx edi, al
shl edi, 8
or edi, ecx
mov ecx, dword [esp + 0x94]
movzx edx, cl
shl edi, 8
or edi, edx
movzx edx, byte [esp + 0x96]
shl edi, 8
or edi, edx
mov edx, dword [esp + 0x18]
movzx eax, ah
shl eax, 8
mov dword [esi + edx*8], edi
movzx edi, byte [esp + 0x93]
or eax, edi
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x97]
shl eax, 8
or eax, ecx
mov dword [esi + edx*8 + 4], eax
inc edx
cmp edx, 0x10
mov dword [esp + 0x18], edx
jl 0x460150
cmp dword [esp + 0xa8], 1
pop ebp
pop ebx
jne 0x460427
xor eax, eax
lea ecx, [esi + 0x7c]
mov edi, dword [ecx - 4]
mov edx, dword [esi + eax*4]
mov dword [esi + eax*4], edi
mov dword [ecx - 4], edx
mov edi, dword [ecx]
mov edx, dword [esi + eax*4 + 4]
mov dword [esi + eax*4 + 4], edi
mov dword [ecx], edx
add eax, 2
sub ecx, 8
cmp eax, 0x10
jl 0x460404
mov ecx, dword [esp + 0x90]
pop edi
pop esi
xor ecx, esp
call fcn.0046e712
add esp, 0x8c
ret 0xc