Function at 0x418670
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 0x4186a0
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x38
jge 0x4186e9
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 + 0x4291f0]
and eax, edx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 8]
mov byte [ebp + ecx - 0x4c], al
jmp 0x418697
mov dword [ebp - 4], 0
jmp 0x4186fb
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x10
jge 0x418883
movsx eax, word [ebp + 0xc]
cmp eax, 1
jne 0x41871d
mov ecx, 0xf
sub ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x418725
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 0x41875c
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1c
jge 0x4187a1
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx + 0x429298]
mov eax, dword [ebp - 8]
add eax, edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1c
jge 0x41878e
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov al, byte [ebp + edx - 0x4c]
mov byte [ebp + ecx - 0x84], al
jmp 0x41879f
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov al, byte [ebp + edx - 0x68]
mov byte [ebp + ecx - 0x84], al
jmp 0x418753
mov dword [ebp - 8], 0x1c
jmp 0x4187b3
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x38
jge 0x4187f8
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + 0x429298]
mov ecx, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x38
jge 0x4187e5
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov cl, byte [ebp + eax - 0x4c]
mov byte [ebp + edx - 0x84], cl
jmp 0x4187f6
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov cl, byte [ebp + eax - 0x68]
mov byte [ebp + edx - 0x84], cl
jmp 0x4187aa
mov dword [ebp - 8], 0
jmp 0x41880a
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x18
jge 0x41887e
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + 0x4292a8]
xor edx, edx
mov dl, byte [ebp + ecx - 0x84]
test edx, edx
je 0x418846
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + eax*4 - 0x104]
or edx, dword [ecx*4 + 0x429200]
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x104], edx
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx + 0x4292c0]
xor eax, eax
mov al, byte [ebp + edx - 0x84]
test eax, eax
je 0x41887c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [ebp + ecx*4 - 0x104]
or eax, dword [edx*4 + 0x429200]
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x104], eax
jmp 0x418801
jmp 0x4186f2
lea edx, [ebp - 0x104]
push edx
call fcn.004188b0
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x144
cmp ebp, esp
call fcn.0041cdce
mov esp, ebp
pop ebp
ret