Function at 0x4680cc
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495f79
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x78
mov dword [ebp - 0x24], ecx
call fcn.00467523
mov edi, dword [ebp + 0xc]
mov esi, eax
mov ecx, 0x4adce9
sub ecx, esi
mov dword [ebp - 0x1c], ecx
mov ecx, 0x4adcea
sub ecx, esi
mov dword [ebp - 0x18], ecx
mov edx, str.91__
mov ecx, 0x4adceb
add esp, 4
sub edx, esi
sub ecx, esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], 0xe
lea esp, [esp]
movzx ecx, byte [edx + eax]
dec ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
movzx ebx, byte [ebx + edi]
test byte [ecx*4 + 0x4add60], bl
setne cl
mov byte [eax], cl
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + eax]
dec ecx
mov ebx, ecx
sar ebx, 3
movzx ebx, byte [ebx + edi]
and ecx, 7
test byte [ecx*4 + 0x4add60], bl
setne cl
mov byte [eax + 1], cl
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ecx + eax]
dec ecx
mov ebx, ecx
sar ebx, 3
movzx ebx, byte [ebx + edi]
and ecx, 7
test byte [ecx*4 + 0x4add60], bl
setne cl
mov byte [eax + 2], cl
mov ecx, dword [ebp - 0x20]
movzx ecx, byte [ecx + eax]
dec ecx
mov ebx, ecx
sar ebx, 3
movzx ebx, byte [ebx + edi]
and ecx, 7
test byte [ecx*4 + 0x4add60], bl
setne cl
mov byte [eax + 3], cl
add eax, 4
dec dword [ebp - 0x14]
jne 0x46813c
xor edx, edx
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov eax, 1
mov edi, edi
movzx edi, byte [edx + 0x4add20]
xor ebx, ebx
lea ecx, [eax - 1]
add edi, ecx
cmp ecx, 0x1c
setge bl
dec ebx
and ebx, 0xffffffe4
add ebx, 0x38
cmp edi, ebx
jl 0x4681fe
add edi, 0xffffffe4
mov bl, byte [esi + edi]
mov byte [esi + eax + 0x37], bl
movzx edi, byte [edx + 0x4add20]
xor ebx, ebx
cmp eax, 0x1c
setge bl
lea edi, [edi + ecx + 1]
dec ebx
and ebx, 0xffffffe4
add ebx, 0x38
cmp edi, ebx
jl 0x468226
add edi, 0xffffffe4
mov bl, byte [esi + edi]
mov byte [eax + esi + 0x38], bl
movzx edx, byte [edx + 0x4add20]
xor ebx, ebx
lea edi, [edx + ecx + 2]
lea edx, [eax + 1]
cmp edx, 0x1c
setge bl
dec ebx
and ebx, 0xffffffe4
add ebx, 0x38
cmp edi, ebx
jl 0x468251
add edi, 0xffffffe4
mov dl, byte [esi + edi]
mov byte [esi + eax + 0x39], dl
mov edx, dword [ebp - 0x14]
movzx edi, byte [edx + 0x4add20]
xor ebx, ebx
lea ecx, [edi + ecx + 3]
lea edi, [eax + 2]
cmp edi, 0x1c
setge bl
dec ebx
and ebx, 0xffffffe4
add ebx, 0x38
cmp ecx, ebx
jl 0x46827f
add ecx, 0xffffffe4
mov cl, byte [esi + ecx]
mov byte [esi + eax + 0x3a], cl
add eax, 4
lea ecx, [eax - 1]
cmp ecx, 0x38
jl 0x4681dc
xor ecx, ecx
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x28], 2
mov edi, 1
movzx edx, byte [edi + 0x4add2f]
cmp byte [edx + esi + 0x37], 0
je 0x4682e7
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea eax, [edx + edx*2]
add eax, eax
mov ebx, ecx
sub ebx, eax
mov eax, dword [ebx*4 + 0x4add60]
sar eax, 2
or byte [edx + esi + 0x70], al
movzx edx, byte [edi + 0x4add30]
cmp byte [edx + esi + 0x37], 0
je 0x468316
mov eax, 0xaaaaaaab
mul edi
shr edx, 2
lea eax, [edx + edx*2]
add eax, eax
mov ebx, ecx
sub ebx, eax
mov eax, dword [ebx*4 + 0x4add64]
sar eax, 2
or byte [edx + esi + 0x70], al
mov edx, dword [ebp - 0x28]
movzx eax, byte [edx + 0x4add30]
cmp byte [eax + esi + 0x37], 0
je 0x468348
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + edx*2]
add eax, eax
mov ebx, ecx
sub ebx, eax
mov eax, dword [ebx*4 + 0x4add68]
sar eax, 2
or byte [edx + esi + 0x70], al
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x4add30]
cmp byte [eax + esi + 0x37], 0
je 0x46837a
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + edx*2]
add eax, eax
mov ebx, ecx
sub ebx, eax
mov eax, dword [ebx*4 + 0x4add6c]
sar eax, 2
or byte [edx + esi + 0x70], al
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x4add30]
cmp byte [eax + esi + 0x37], 0
je 0x4683ac
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + edx*2]
add eax, eax
mov ebx, ecx
sub ebx, eax
mov eax, dword [ebx*4 + 0x4add70]
sar eax, 2
or byte [edx + esi + 0x70], al
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 0x4add30]
cmp byte [eax + esi + 0x37], 0
je 0x4683de
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + edx*2]
add eax, eax
mov ebx, ecx
sub ebx, eax
mov eax, dword [ebx*4 + 0x4add74]
sar eax, 2
or byte [edx + esi + 0x70], al
mov eax, 6
add dword [ebp - 0x28], eax
add dword [ebp - 0x20], eax
add dword [ebp - 0x18], eax
add dword [ebp - 0x1c], eax
add edi, eax
add ecx, eax
cmp edi, 0x31
jl 0x4682b8
movzx ecx, byte [esi + 0x70]
movzx edx, byte [esi + 0x72]
movzx eax, byte [esi + 0x74]
mov edi, dword [ebp - 0x24]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0x76]
shl ecx, 8
or ecx, eax
mov eax, dword [edi + 0x8c]
shl ecx, 8
or ecx, edx
mov edx, dword [ebp - 0x14]
mov dword [eax + edx*8], ecx
movzx ecx, byte [esi + 0x71]
movzx eax, byte [esi + 0x73]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x75]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x77]
shl ecx, 8
or ecx, eax
mov eax, dword [edi + 0x8c]
mov dword [eax + edx*8 + 4], ecx
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x10
jl 0x4681cd
cmp dword [ebp + 8], 1
jne 0x4684ac
xor ecx, ecx
mov eax, 0x7c
mov edx, dword [edi + 0x8c]
mov ebx, dword [ecx + edx]
mov dword [ebp - 0x24], ebx
mov ebx, dword [eax + edx - 4]
mov dword [ecx + edx], ebx
mov ebx, dword [ebp - 0x24]
mov dword [eax + edx - 4], ebx
mov edx, dword [edi + 0x8c]
mov ebx, dword [ecx + edx + 4]
mov dword [ebp - 0x24], ebx
mov ebx, dword [eax + edx]
mov dword [ecx + edx + 4], ebx
mov ebx, dword [ebp - 0x24]
mov dword [eax + edx], ebx
sub eax, 8
add ecx, 8
cmp eax, 0x3c
jg 0x46846d
xor al, al
mov edi, esi
mov ecx, 0x78
push esi
rep stosb byte es:[edi], al
call fcn.00405e32
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret 8