Function at 0x43c770
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, dword [0x4cc06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x17c], edi
nop dword [eax]
movzx ecx, byte [edx + str.80_]
mov eax, ecx
and ecx, 7
shr eax, 3
movzx eax, byte [eax + esi]
test byte [ecx*2 + 0x4abd0c], al
movzx ecx, byte [edx + 0x4ac801]
setne al
mov byte [ebp + edx - 0x3c], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*2 + 0x4abd0c], al
movzx ecx, byte [edx + 0x4ac802]
setne al
mov byte [ebp + edx - 0x3b], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*2 + 0x4abd0c], al
movzx ecx, byte [edx + 0x4ac803]
setne al
mov byte [ebp + edx - 0x3a], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*2 + 0x4abd0c], al
setne al
mov byte [ebp + edx - 0x39], al
add edx, 4
cmp edx, 0x38
jl 0x43c7a0
mov ecx, 0x1e
push ebx
xor ebx, ebx
mov dword [ebp - 0x178], ecx
nop
cmp edi, 1
lea eax, [ebx + ebx]
lea edi, [ebp - 0xf4]
cmovne ecx, eax
xor eax, eax
lea esi, [ebp + ecx*4 - 0xf0]
lea edi, [edi + ecx*4]
mov dword [esi], 0
movzx ecx, byte [ebx + 0x4aca38]
mov dword [edi], 0
nop
cmp ecx, 0x1c
jge 0x43c87b
mov dl, byte [ebp + ecx - 0x3c]
jmp 0x43c87f
mov dl, byte [ebp + ecx - 0x58]
mov byte [ebp + eax - 0x74], dl
inc ecx
inc eax
cmp eax, 0x1c
jl 0x43c870
movzx eax, byte [ebx + 0x4aca38]
mov ecx, 0x1c
add eax, ecx
cmp eax, 0x38
jge 0x43c8a3
mov dl, byte [ebp + eax - 0x3c]
jmp 0x43c8a7
mov dl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], dl
inc eax
inc ecx
cmp ecx, 0x38
jl 0x43c898
xor eax, eax
nop dword [eax]
nop dword [eax + eax]
movzx ecx, byte [eax + 0x4ac7d0]
cmp byte [ebp + ecx - 0x74], 0
je 0x43c8d7
mov ecx, dword [eax*4 + 0x4ac570]
or dword [edi], ecx
movzx ecx, byte [eax + 0x4ac7e8]
cmp byte [ebp + ecx - 0x74], 0
je 0x43c8ee
mov ecx, dword [eax*4 + 0x4ac570]
or dword [esi], ecx
inc eax
cmp eax, 0x18
jl 0x43c8c0
mov ecx, dword [ebp - 0x178]
inc ebx
mov edi, dword [ebp - 0x17c]
sub ecx, 2
mov dword [ebp - 0x178], ecx
cmp ecx, 0xfffffffe
jg 0x43c840
lea eax, [ebp - 0x174]
mov dword [ebp - 0x17c], 0x10
lea ebx, [ebp - 0xf4]
mov dword [ebp - 0x178], eax
nop
mov edi, dword [ebx + 4]
lea ebx, [ebx + 8]
mov esi, dword [ebx - 8]
mov edx, edi
shr edx, 4
mov eax, edi
and eax, 0xfc0
and edx, 0xfc000
or edx, eax
mov ecx, esi
and ecx, 0xfc0
shr edx, 6
shl ecx, 4
mov eax, esi
and eax, 0xfc0000
or ecx, eax
mov eax, dword [ebp - 0x178]
shl ecx, 6
or edx, ecx
mov ecx, esi
and ecx, 0x3f
and esi, 0x3f000
mov dword [eax], edx
mov edx, eax
shl ecx, 4
mov eax, edi
or ecx, esi
shr eax, 4
shl ecx, 0xc
and eax, 0x3f00
or ecx, eax
and edi, 0x3f
or ecx, edi
mov dword [edx + 4], ecx
add edx, 8
sub dword [ebp - 0x17c], 1
mov dword [ebp - 0x178], edx
jne 0x43c930
mov eax, dword [ebp - 0x180]
lea ecx, [ebp - 0x174]
xor edx, edx
pop ebx
lea edi, [eax + 4]
add eax, 0x84
cmp eax, edi
sbb esi, esi
and esi, 0xffffffe0
add esi, 0x20
je 0x43c9e1
mov eax, ecx
sub edi, eax
mov eax, dword [ecx]
lea ecx, [ecx + 4]
inc edx
mov dword [edi + ecx - 4], eax
cmp edx, esi
jb 0x43c9d3
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00471b05
mov esp, ebp
pop ebp
ret 8