Function at 0x403780
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x100
mov eax, dword [0x471920]
xor eax, esp
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x104]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], eax
xor edi, edi
mov esi, ecx
xor eax, eax
lea esp, [esp]
movzx ecx, byte [eax + str.80_]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x472df0], dl
setne cl
mov byte [esp + eax + 0xd4], cl
movzx ecx, byte [eax + 0x472e61]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x472df0], dl
setne cl
mov byte [esp + eax + 0xd5], cl
movzx ecx, byte [eax + 0x472e62]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x472df0], dl
setne cl
mov byte [esp + eax + 0xd6], cl
movzx ecx, byte [eax + 0x472e63]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x472df0], dl
setne cl
mov byte [esp + eax + 0xd7], cl
add eax, 4
cmp eax, 0x38
jl 0x4037b0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0x78
mov ebx, 0x7c
jmp 0x403862
xor edi, edi
mov eax, dword [esp + 0x14]
movzx ebp, byte [eax + 0x472e98]
mov edx, dword [esp + 0x10]
mov dword [esp + ebx + 0x1c], edi
mov dword [esp + edx + 0x1c], edi
xor esi, esi
lea ecx, [ebp + 3]
lea eax, [ebp + 2]
lea edi, [ecx - 3]
cmp edi, 0x1c
jge 0x403892
mov dl, byte [esp + eax + 0xd2]
jmp 0x403899
mov dl, byte [esp + edi + 0xb8]
lea edi, [ecx - 2]
cmp edi, 0x1c
mov byte [esp + esi + 0x9c], dl
jge 0x4038b1
mov dl, byte [esp + eax + 0xd3]
jmp 0x4038b8
mov dl, byte [esp + edi + 0xb8]
cmp eax, 0x1c
mov byte [esp + esi + 0x9d], dl
jge 0x4038cd
mov dl, byte [esp + eax + 0xd4]
jmp 0x4038d4
mov dl, byte [esp + eax + 0xb8]
cmp ecx, 0x1c
mov byte [esp + esi + 0x9e], dl
jge 0x4038e9
mov dl, byte [esp + eax + 0xd5]
jmp 0x4038f0
mov dl, byte [esp + ecx + 0xb8]
mov byte [esp + esi + 0x9f], dl
add esi, 4
add eax, 4
add ecx, 4
cmp esi, 0x1c
jl 0x403881
mov edi, 0x1c
lea edx, [ebp + 0x1f]
lea eax, [ebp + 0x1e]
lea ecx, [edx - 3]
cmp ecx, 0x38
jge 0x403925
mov cl, byte [esp + eax + 0xd2]
jmp 0x40392c
mov cl, byte [esp + ecx + 0xb8]
lea esi, [edx - 2]
cmp esi, 0x38
mov byte [esp + edi + 0x9c], cl
jge 0x403944
mov cl, byte [esp + eax + 0xd3]
jmp 0x40394b
mov cl, byte [esp + esi + 0xb8]
cmp eax, 0x38
mov byte [esp + edi + 0x9d], cl
jge 0x403960
mov cl, byte [esp + eax + 0xd4]
jmp 0x403967
mov cl, byte [esp + eax + 0xb8]
cmp edx, 0x38
mov byte [esp + edi + 0x9e], cl
jge 0x40397c
mov cl, byte [esp + eax + 0xd5]
jmp 0x403983
mov cl, byte [esp + edx + 0xb8]
mov byte [esp + edi + 0x9f], cl
add edi, 4
add eax, 4
add edx, 4
cmp edi, 0x38
jl 0x403914
xor eax, eax
mov edi, edi
movzx edx, byte [eax + 0x472ea8]
cmp byte [esp + edx + 0x9c], 0
mov ecx, dword [esp + 0x10]
je 0x4039c0
mov edx, dword [eax*4 + 0x472e00]
or dword [esp + ecx + 0x1c], edx
movzx edx, byte [eax + 0x472ec0]
cmp byte [esp + edx + 0x9c], 0
je 0x4039dc
mov edx, dword [eax*4 + 0x472e00]
or dword [esp + ebx + 0x1c], edx
movzx edx, byte [eax + 0x472ea9]
cmp byte [esp + edx + 0x9c], 0
je 0x4039f8
mov edx, dword [eax*4 + 0x472e04]
or dword [esp + ecx + 0x1c], edx
movzx edx, byte [eax + 0x472ec1]
cmp byte [esp + edx + 0x9c], 0
je 0x403a14
mov edx, dword [eax*4 + 0x472e04]
or dword [esp + ebx + 0x1c], edx
movzx edx, byte [eax + 0x472eaa]
cmp byte [esp + edx + 0x9c], 0
je 0x403a30
mov edx, dword [eax*4 + 0x472e08]
or dword [esp + ecx + 0x1c], edx
movzx edx, byte [eax + 0x472ec2]
cmp byte [esp + edx + 0x9c], 0
je 0x403a4c
mov edx, dword [eax*4 + 0x472e08]
or dword [esp + ebx + 0x1c], edx
movzx edx, byte [eax + 0x472eab]
cmp byte [esp + edx + 0x9c], 0
je 0x403a68
mov edx, dword [eax*4 + 0x472e0c]
or dword [esp + ecx + 0x1c], edx
movzx edx, byte [eax + 0x472ec3]
cmp byte [esp + edx + 0x9c], 0
je 0x403a84
mov edx, dword [eax*4 + 0x472e0c]
or dword [esp + ebx + 0x1c], edx
movzx edx, byte [eax + 0x472eac]
cmp byte [esp + edx + 0x9c], 0
je 0x403aa0
mov edx, dword [eax*4 + 0x472e10]
or dword [esp + ecx + 0x1c], edx
movzx edx, byte [eax + 0x472ec4]
cmp byte [esp + edx + 0x9c], 0
je 0x403abc
mov edx, dword [eax*4 + 0x472e10]
or dword [esp + ebx + 0x1c], edx
movzx edx, byte [eax + 0x472ead]
cmp byte [esp + edx + 0x9c], 0
je 0x403ad8
mov edx, dword [eax*4 + 0x472e14]
or dword [esp + ecx + 0x1c], edx
movzx ecx, byte [eax + 0x472ec5]
cmp byte [esp + ecx + 0x9c], 0
je 0x403af4
mov edx, dword [eax*4 + 0x472e14]
or dword [esp + ebx + 0x1c], edx
add eax, 6
cmp eax, 0x18
jl 0x4039a0
add dword [esp + 0x14], 1
sub dword [esp + 0x10], 8
sub ebx, 8
cmp ebx, 0xfffffffc
jg 0x403860
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00403b40
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043e923
add esp, 0x100
ret 4