Function at 0x45f4fe
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
xor eax, eax
movzx ecx, byte [eax + 0x488310]
mov byte [ecx + 0x49c350], al
inc eax
cmp eax, 0x40
jl 0x45f506
push ebx
push esi
push edi
push 0x10
mov esi, 0x49b310
pop ecx
xor eax, eax
mov edi, esi
and dword [ebp - 4], eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x488070]
test eax, eax
je 0x45f576
movzx ecx, byte [0x488060]
push 0x1c
lea edi, [eax + ecx - 1]
pop ebx
mov eax, edi
cdq
idiv ebx
cmp edx, ecx
jge 0x45f554
sub edi, ebx
movzx eax, byte [edi + str.91__]
test eax, eax
jle 0x45f56d
dec eax
mov ecx, eax
and eax, 7
or ecx, 7
sub ecx, eax
inc ecx
mov eax, ecx
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x49b310], al
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x40
jl 0x45f52d
push 8
push 8
push esi
push 0x498e70
call fcn.0045f813
add esp, 0x10
and dword [ebp - 4], 0
mov dword [ebp - 8], 0x499670
push 0x10
xor eax, eax
pop ecx
mov edi, esi
rep stosd dword es:[edi], eax
push 0x10
lea edi, [ebp - 0x58]
pop ecx
rep stosd dword es:[edi], eax
movzx ecx, byte [eax + 0x488070]
test ecx, ecx
je 0x45f5c0
mov dl, al
inc dl
mov byte [ebp + ecx - 0x59], dl
inc eax
cmp eax, 0x40
jl 0x45f5ad
xor edi, edi
movzx ecx, byte [edi + 0x488070]
test ecx, ecx
je 0x45f5ef
add ecx, dword [ebp - 4]
push 0x1c
pop ebx
mov eax, ecx
cdq
idiv ebx
cmp edx, dword [ebp - 4]
jg 0x45f5e5
sub ecx, ebx
mov al, byte [ebp + ecx - 0x58]
mov byte [edi + 0x49b310], al
inc edi
cmp edi, 0x40
jl 0x45f5c8
push 8
push 8
push esi
push dword [ebp - 8]
call fcn.0045f813
add dword [ebp - 8], 0x800
add esp, 0x10
inc dword [ebp - 4]
cmp dword [ebp - 8], 0x49a670
jl 0x45f59c
mov ecx, 0x487ff8
mov edi, esi
dec ecx
dec ecx
xor edx, edx
cmp edx, 2
jge 0x45f62c
xor eax, eax
jmp 0x45f658
movzx eax, byte [ecx + edx]
movzx eax, byte [eax + 0x487fb7]
cmp eax, 0x20
jle 0x45f641
sub eax, 0x20
jmp 0x45f646
test eax, eax
jle 0x45f658
dec eax
test eax, eax
jle 0x45f658
dec eax
mov ebx, eax
and eax, 7
or ebx, 7
sub ebx, eax
inc ebx
mov eax, ebx
push 8
mov byte [edi + edx], al
inc edx
pop ebx
cmp edx, ebx
jl 0x45f623
add ecx, 6
add edi, ebx
cmp ecx, 0x488026
jl 0x45f621
push ebx
push 4
push esi
push 0x49a710
call fcn.0045f813
mov edi, esi
add esp, 0x10
xor ecx, ecx
dec edi
movzx eax, byte [ecx + 0x4882d0]
movzx eax, byte [eax + 0x487fb7]
test eax, eax
jle 0x45f6a6
dec eax
mov edx, eax
and eax, 7
or edx, 7
sub edx, eax
inc edx
mov eax, edx
mov dl, cl
inc dl
inc ecx
cmp ecx, 0x40
mov byte [edi + eax], dl
jl 0x45f686
push ebx
push ebx
push esi
push 0x49ab10
call fcn.0045f813
add esp, 0x10
xor eax, eax
movzx ecx, byte [eax + 0x487ff8]
inc eax
mov cl, byte [ecx + 0x4882af]
cmp eax, 0x30
mov byte [eax + 0x49b30f], cl
jl 0x45f6c5
and dword [ebp - 4], 0
mov dword [ebp - 8], 0x498e50
mov ebx, 0x49bb50
xor esi, esi
mov eax, esi
push 8
sar eax, 2
mov edx, esi
pop ecx
and eax, 4
and edx, ecx
or eax, edx
mov edx, esi
sar eax, 1
and edx, 0x20
mov edi, esi
or eax, edx
mov edx, esi
and edx, 1
and edi, 2
shl edx, 3
or edx, edi
sar eax, 1
shl edx, 2
or eax, edx
mov edx, esi
and edx, 4
or eax, edx
mov edx, dword [ebp - 4]
movzx eax, byte [eax + edx + 0x4880b0]
mov edx, eax
mov edi, eax
sar edx, 2
and edx, 2
and edi, 4
or edx, edi
mov edi, eax
and edi, 1
and eax, 2
shl edi, 2
or edi, eax
xor eax, eax
sar edx, 1
shl edi, 1
or edx, edi
mov edi, 0x498e50
rep stosd dword es:[edi], eax
xor edi, edi
mov eax, edx
mov ecx, edi
sar eax, cl
mov ecx, dword [ebp - 8]
and al, 1
mov byte [ecx + edi], al
inc edi
cmp edi, 4
jl 0x45f75f
push 0x17
xor eax, eax
pop edx
mov ecx, edx
movzx edi, byte [ecx + 0x49b310]
add eax, eax
movzx edi, byte [edi + 0x498e4f]
or eax, edi
dec ecx
jns 0x45f77a
mov byte [ebp - 0x10], al
mov ecx, 0xff3f3f3f
sar eax, 6
mov byte [ebp - 0xf], al
sar eax, 6
mov byte [ebp - 0xe], al
sar eax, 6
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x10]
and eax, ecx
shl eax, 2
mov dword [ebx - 0x800], eax
xor eax, eax
movzx edi, byte [edx + 0x49b328]
add eax, eax
movzx edi, byte [edi + 0x498e4f]
or eax, edi
dec edx
jns 0x45f7b9
mov byte [ebp - 0x18], al
sar eax, 6
mov byte [ebp - 0x17], al
sar eax, 6
mov byte [ebp - 0x16], al
sar eax, 6
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x18]
and eax, ecx
shl eax, 2
mov dword [ebx], eax
inc esi
add ebx, 4
cmp esi, 0x40
jl 0x45f6f0
add dword [ebp - 8], 4
add dword [ebp - 4], 0x40
cmp ebx, 0x49c350
jl 0x45f6ee
pop edi
pop esi
pop ebx
leave
ret