Function at 0x40be90
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
push ebx
push ebp
push esi
mov esi, eax
push edi
xor eax, eax
mov edi, edi
movzx ecx, byte [eax + 0x423090]
mov edx, ecx
sar edx, 3
mov dl, byte [edx + esi]
not cl
and cl, 7
shr dl, cl
movzx ecx, byte [eax + 0x423091]
and dl, 1
mov byte [esp + eax + 0x4c], dl
mov edx, ecx
sar edx, 3
mov dl, byte [edx + esi]
not cl
and cl, 7
shr dl, cl
movzx ecx, byte [eax + 0x423092]
and dl, 1
mov byte [esp + eax + 0x4d], dl
mov edx, ecx
sar edx, 3
mov dl, byte [edx + esi]
not cl
and cl, 7
shr dl, cl
movzx ecx, byte [eax + 0x423093]
and dl, 1
mov byte [esp + eax + 0x4e], dl
mov edx, ecx
sar edx, 3
mov dl, byte [edx + esi]
not cl
and cl, 7
shr dl, cl
add eax, 4
and dl, 1
cmp eax, 0x38
mov byte [esp + eax + 0x4b], dl
jl 0x40bea0
xor ebx, ebx
mov dword [esp + 0x10], 0xf
jmp 0x40bf30
mov eax, dword [esp + 0x108]
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x40bf41
mov eax, ebx
movzx esi, byte [ebx + 0x4230c8]
add eax, eax
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
mov dword [edi], 0
mov dword [ebp], 0
xor edx, edx
lea eax, [esi - 0x1a]
lea ebx, [ebx]
lea ecx, [eax + 0x1a]
cmp ecx, 0x1c
jl 0x40bf7b
lea ecx, [eax - 2]
mov cl, byte [esp + ecx + 0x4c]
mov byte [esp + edx + 0x14], cl
lea ecx, [eax + 0x1b]
cmp ecx, 0x1c
jl 0x40bf8e
lea ecx, [eax - 1]
mov cl, byte [esp + ecx + 0x4c]
mov byte [esp + edx + 0x15], cl
lea ecx, [eax + 0x1c]
cmp ecx, 0x1c
jl 0x40bfa0
mov ecx, eax
mov cl, byte [esp + ecx + 0x4c]
mov byte [esp + edx + 0x16], cl
lea ecx, [eax + 0x1d]
cmp ecx, 0x1c
jl 0x40bfb3
lea ecx, [eax + 1]
mov cl, byte [esp + ecx + 0x4c]
mov byte [esp + edx + 0x17], cl
add edx, 4
add eax, 4
cmp edx, 0x1c
jl 0x40bf70
mov edx, 0x1c
lea eax, [esi + 2]
mov edi, edi
lea ecx, [eax + 0x1a]
cmp ecx, 0x38
jl 0x40bfdb
lea ecx, [eax - 2]
mov cl, byte [esp + ecx + 0x4c]
mov byte [esp + edx + 0x14], cl
lea ecx, [eax + 0x1b]
cmp ecx, 0x38
jl 0x40bfee
lea ecx, [eax - 1]
mov cl, byte [esp + ecx + 0x4c]
mov byte [esp + edx + 0x15], cl
lea ecx, [eax + 0x1c]
cmp ecx, 0x38
jl 0x40c000
mov ecx, eax
mov cl, byte [esp + ecx + 0x4c]
mov byte [esp + edx + 0x16], cl
lea ecx, [eax + 0x1d]
cmp ecx, 0x38
jl 0x40c013
lea ecx, [eax + 1]
mov cl, byte [esp + ecx + 0x4c]
mov byte [esp + edx + 0x17], cl
add edx, 4
add eax, 4
cmp edx, 0x38
jl 0x40bfd0
xor eax, eax
jmp 0x40c030
movzx edx, byte [eax + 0x4230d8]
mov cl, byte [esp + edx + 0x14]
test cl, cl
je 0x40c04e
mov edx, dword [ebp]
mov ecx, dword [eax*4 + 0x423030]
or edx, ecx
mov dword [ebp], edx
movzx edx, byte [eax + 0x4230f0]
mov cl, byte [esp + edx + 0x14]
test cl, cl
je 0x40c06a
mov edx, dword [edi]
mov ecx, dword [eax*4 + 0x423030]
or edx, ecx
mov dword [edi], edx
movzx edx, byte [eax + 0x4230d9]
mov cl, byte [esp + edx + 0x14]
test cl, cl
je 0x40c088
mov edx, dword [ebp]
mov ecx, dword [eax*4 + 0x423034]
or edx, ecx
mov dword [ebp], edx
movzx edx, byte [eax + 0x4230f1]
mov cl, byte [esp + edx + 0x14]
test cl, cl
je 0x40c0a4
mov edx, dword [edi]
mov ecx, dword [eax*4 + 0x423034]
or edx, ecx
mov dword [edi], edx
movzx edx, byte [eax + 0x4230da]
mov cl, byte [esp + edx + 0x14]
test cl, cl
je 0x40c0c2
mov edx, dword [ebp]
mov ecx, dword [eax*4 + 0x423038]
or edx, ecx
mov dword [ebp], edx
movzx edx, byte [eax + 0x4230f2]
mov cl, byte [esp + edx + 0x14]
test cl, cl
je 0x40c0de
mov edx, dword [edi]
mov ecx, dword [eax*4 + 0x423038]
or edx, ecx
mov dword [edi], edx
movzx edx, byte [eax + 0x4230db]
mov cl, byte [esp + edx + 0x14]
test cl, cl
je 0x40c0fc
mov edx, dword [ebp]
mov ecx, dword [eax*4 + 0x42303c]
or edx, ecx
mov dword [ebp], edx
movzx edx, byte [eax + 0x4230f3]
mov cl, byte [esp + edx + 0x14]
test cl, cl
je 0x40c118
mov edx, dword [edi]
mov ecx, dword [eax*4 + 0x42303c]
or edx, ecx
mov dword [edi], edx
movzx edx, byte [eax + 0x4230dc]
mov cl, byte [esp + edx + 0x14]
test cl, cl
je 0x40c136
mov edx, dword [ebp]
mov ecx, dword [eax*4 + 0x423040]
or edx, ecx
mov dword [ebp], edx
movzx edx, byte [eax + 0x4230f4]
mov cl, byte [esp + edx + 0x14]
test cl, cl
je 0x40c152
mov edx, dword [edi]
mov ecx, dword [eax*4 + 0x423040]
or edx, ecx
mov dword [edi], edx
movzx edx, byte [eax + 0x4230dd]
mov cl, byte [esp + edx + 0x14]
test cl, cl
je 0x40c170
mov edx, dword [ebp]
mov ecx, dword [eax*4 + 0x423044]
or edx, ecx
mov dword [ebp], edx
movzx edx, byte [eax + 0x4230f5]
mov cl, byte [esp + edx + 0x14]
test cl, cl
je 0x40c18c
mov edx, dword [edi]
mov ecx, dword [eax*4 + 0x423044]
or edx, ecx
mov dword [edi], edx
add eax, 6
cmp eax, 0x18
jl 0x40c030
mov eax, dword [esp + 0x10]
inc ebx
dec eax
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jg 0x40bf30
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x84]
call fcn.0040bc50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret