Function at 0x418660
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
lea edi, [ebp - 0x144]
mov ecx, 0x51
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
jmp 0x418690
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x38
jge 0x4186d9
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx + str.80_]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 7
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
sar ecx, 3
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx*2 + 0x4211cc]
and eax, edx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 8]
mov byte [ebp + ecx - 0x4c], al
jmp 0x418687
mov dword [ebp - 4], 0
jmp 0x4186eb
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x10
jge 0x418873
movsx eax, word [ebp + 0xc]
cmp eax, 1
jne 0x41870d
mov ecx, 0xf
sub ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x418715
mov edx, dword [ebp - 4]
shl edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x104], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp + edx*4 - 0x104], 0
mov dword [ebp - 8], 0
jmp 0x41874c
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1c
jge 0x418791
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx + 0x421274]
mov eax, dword [ebp - 8]
add eax, edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1c
jge 0x41877e
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov al, byte [ebp + edx - 0x4c]
mov byte [ebp + ecx - 0x84], al
jmp 0x41878f
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov al, byte [ebp + edx - 0x68]
mov byte [ebp + ecx - 0x84], al
jmp 0x418743
mov dword [ebp - 8], 0x1c
jmp 0x4187a3
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x38
jge 0x4187e8
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + 0x421274]
mov ecx, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x38
jge 0x4187d5
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov cl, byte [ebp + eax - 0x4c]
mov byte [ebp + edx - 0x84], cl
jmp 0x4187e6
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov cl, byte [ebp + eax - 0x68]
mov byte [ebp + edx - 0x84], cl
jmp 0x41879a
mov dword [ebp - 8], 0
jmp 0x4187fa
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x18
jge 0x41886e
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x421284]
xor edx, edx
mov dl, byte [ebp + ecx - 0x84]
test edx, edx
je 0x418836
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + eax*4 - 0x104]
or edx, dword [ecx*4 + 0x4211dc]
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x104], edx
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx + 0x42129c]
xor eax, eax
mov al, byte [ebp + edx - 0x84]
test eax, eax
je 0x41886c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [ebp + ecx*4 - 0x104]
or eax, dword [edx*4 + 0x4211dc]
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x104], eax
jmp 0x4187f1
jmp 0x4186e2
lea edx, [ebp - 0x104]
push edx
call fcn.004188a0
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x144
cmp ebp, esp
call sub.MSVCRT.dll__chkesp
mov esp, ebp
pop ebp
ret